Skip to content

[pull] main from expo:main#902

Merged
pull[bot] merged 1 commit into
code:mainfrom
expo:main
May 26, 2026
Merged

[pull] main from expo:main#902
pull[bot] merged 1 commit into
code:mainfrom
expo:main

Conversation

@pull

@pull pull Bot commented May 26, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…46276)

# Why

Canary publishing broke when we added EJS conditional blocks (`<% if
(usesExpoUI) { -%>`) to `packages/expo-module-template/$package.json`.
The `updateModuleTemplate` task reads that file with
`JsonFile.readAsync`, which now throws because the template is no longer
valid JSON

e.g.
https://github.com/expo/expo/actions/runs/26419566624/job/77771270661

# How

No off-the-shelf parser handles JSON-with-embedded-EJS, so the task now
reads the file as text and rewrites just the version strings it cares
about.

# Test Plan

- Smoke-tested the regex/block extraction against the current
`$package.json` template:
- `devDependencies.expo` is updated from `^56.0.4` to the new canary
range
  - `peerDependencies.expo: "*"` is left untouched
- The `<% if (usesExpoUI) { -%> ... <% } -%>` conditional block is
preserved verbatim
@pull pull Bot locked and limited conversation to collaborators May 26, 2026
@pull pull Bot added the ⤵️ pull label May 26, 2026
@pull pull Bot merged commit 13e89ca into code:main May 26, 2026
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant