chore: Upgrading Metro dependencies to 0.77.0 #2007
Merged
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.
Summary:
Updating the versions of Metro in the cli-plugin-metro to incorporate the new Metro Release v0.77.0.
https://github.com/facebook/metro/releases/tag/v0.77.0
Per the release notes shared below, this is a breaking change for RN CLI including bumping minimum Node version to 18, using Terser's default for comments and removing
metro-minify-uglify
frommetro
dependenciesMetro release notes:
metro-minify-uglify
frommetro
dependencies. (facebook/metro@7a8fcd5 by @robhogan)blockList
on Windows. (facebook/metro@2eecfc7 by @motiz88)blockList
patterns with inconsistent regex flags. (facebook/metro@c80904b by @motiz88)metro
versions are installed. (facebook/metro@6d46078 by @robhogan)metro-file-map
: Normalize root-relative paths for cross-platform cache compatibility. (facebook/metro@d282a08 by @motiz88)require.context
is used on a directory with infinite path expansions. (facebook/metro@14d652f by @robhogan)Full Changelog: facebook/metro@v0.76.7...v0.77.0
Reminder: When React Native updates the CLI to a version that depends on metro 0.77.0, it must also update
metro-runtime
etc to 0.77.0 in the same commit.Test Plan:
✅ yarn build
✅ yarn test