-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(metro-config): add missing fs-extra@^9.1.0
dependency
#26022
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
expo-bot
added
bot: suggestions
ExpoBot has some suggestions
bot: passed checks
ExpoBot has nothing to complain about
and removed
bot: suggestions
ExpoBot has some suggestions
labels
Dec 19, 2023
byCedric
force-pushed
the
@bycedric/metro-config/import-fs-extra
branch
from
December 19, 2023 21:54
2de243a
to
382c4de
Compare
github-actions
bot
added
bot: fingerprint compatible
and removed
bot: fingerprint changed
labels
Dec 19, 2023
byCedric
added a commit
that referenced
this pull request
Dec 19, 2023
# Why `@expo/metro-config` does not have a direct dependency reference to `fs-extra`, yet we import it in [`src/serializer/exportHermes.ts`](https://github.com/expo/expo/blob/main/packages/@expo/metro-config/src/serializer/exportHermes.ts#L3). This breaks isolated modules. There is _no_ (implicit) dependency chain, the only unrelated chain exists from a direct project dependency: - `expo → @expo/cli → fs-extra` # How - Added `fs-extra@^9.1.0` as dependency to `@expo/metro-config` # Test Plan See if `yarn typecheck` has any typescript issues. # Checklist <!-- Please check the appropriate items below if they apply to your diff. This is required for changes to Expo modules. --> - [x] Documentation is up to date to reflect these changes (eg: https://docs.expo.dev and README.md). - [ ] Conforms with the [Documentation Writing Style Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md) - [ ] This diff will work correctly for `npx expo prebuild` & EAS Build (eg: updated a module plugin).
onizam95
pushed a commit
to onizam95/expo-av-drm
that referenced
this pull request
Jan 15, 2024
# Why `@expo/metro-config` does not have a direct dependency reference to `fs-extra`, yet we import it in [`src/serializer/exportHermes.ts`](https://github.com/expo/expo/blob/main/packages/@expo/metro-config/src/serializer/exportHermes.ts#L3). This breaks isolated modules. There is _no_ (implicit) dependency chain, the only unrelated chain exists from a direct project dependency: - `expo → @expo/cli → fs-extra` # How - Added `fs-extra@^9.1.0` as dependency to `@expo/metro-config` # Test Plan See if `yarn typecheck` has any typescript issues. # Checklist <!-- Please check the appropriate items below if they apply to your diff. This is required for changes to Expo modules. --> - [x] Documentation is up to date to reflect these changes (eg: https://docs.expo.dev and README.md). - [ ] Conforms with the [Documentation Writing Style Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md) - [ ] This diff will work correctly for `npx expo prebuild` & EAS Build (eg: updated a module plugin).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bot: fingerprint compatible
bot: passed checks
ExpoBot has nothing to complain about
published
Changes from the PR have been published to npm
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why
@expo/metro-config
does not have a direct dependency reference tofs-extra
, yet we import it insrc/serializer/exportHermes.ts
. This breaks isolated modules.There is no (implicit) dependency chain, the only unrelated chain exists from a direct project dependency:
expo → @expo/cli → fs-extra
How
fs-extra@^9.1.0
as dependency to@expo/metro-config
Test Plan
See if
yarn typecheck
has any typescript issues.Checklist
npx expo prebuild
& EAS Build (eg: updated a module plugin).