chore: Upgrading Metro dependencies to 0.77.0#2007
Merged
thymikee merged 2 commits intoreact-native-community:mainfrom Jul 11, 2023
Merged
chore: Upgrading Metro dependencies to 0.77.0#2007thymikee merged 2 commits intoreact-native-community:mainfrom
thymikee merged 2 commits intoreact-native-community:mainfrom
Conversation
25098b1 to
c239e85
Compare
szymonrybczak
approved these changes
Jul 10, 2023
motiz88
reviewed
Jul 11, 2023
| strategy: | ||
| matrix: | ||
| node-version: [16, 18] | ||
| node-version: [18] |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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-uglifyfrommetrodependenciesMetro release notes:
metro-minify-uglifyfrommetrodependencies. (facebook/metro@7a8fcd5 by @robhogan)blockListon Windows. (facebook/metro@2eecfc7 by @motiz88)blockListpatterns with inconsistent regex flags. (facebook/metro@c80904b by @motiz88)metroversions 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.contextis 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-runtimeetc to 0.77.0 in the same commit.Test Plan:
✅ yarn build
✅ yarn test