Skip to content

[pull] main from expo:main - #1204

Merged
pull[bot] merged 3 commits into
code:mainfrom
expo:main
Sep 1, 2026
Merged

[pull] main from expo:main#1204
pull[bot] merged 3 commits into
code:mainfrom
expo:main

Conversation

@pull

@pull pull Bot commented Sep 1, 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 : )

kitten and others added 3 commits September 1, 2026 17:37
…uires (#49615)

# Why

`ncc` in `install-expo-modules` was failing sporadically, but this was
due to an underlying issue:
- `package.json` with a relative require was unreliable and causing the
entire package to re-include itself
- if `build` then contained package outputs, this would recursively
retrigger the above issue

Some dependencies were also missing dependencies on `@vercel/ncc`, which
is an unrelated issue.

# How

- Update all patterns of `require('../package.json')` to name the module
as a self-require
- ... and add `exports['./package.json']` entries to `package.json`
corresponding to this
- Add `pre*` scripts for `build` scripts that run `expo-module clean` to
delete the `build` folder before bundling with ncc
- Where needed, update all related `package.json` require patterns
- Where needed, add missing `@vercel/ncc` dev deps

# Test Plan

- Build should pass on CI

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [x] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
# Why

iOS `.strings` entries generated from `locales` were not safely quoted,
so human-readable keys such as widget names could produce invalid files.
This is the config-plugin prerequisite for #49606.

# How

Quote every key and value and escape backslashes, quotes, and newlines.

# Test Plan

Tests should pass.

# Checklist

- [x] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [x] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
# Why

Fixes #48687. Widget gallery names and descriptions cannot resolve
app-config translations because `Localizable.strings` is only included
in the main app target.

# How

Add the app's existing `Localizable.strings` file references to the
widget extension's Resources phase. This reuses the same source files
without generating widget-specific copies. This PR is stacked on #49605
for valid human-readable string keys.

# Test Plan

Tests should pass.

# Checklist

- [x] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [x] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
@pull pull Bot locked and limited conversation to collaborators Sep 1, 2026
@pull pull Bot added the ⤵️ pull label Sep 1, 2026
@pull
pull Bot merged commit 2164f24 into code:main Sep 1, 2026
21 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.

2 participants