Skip to content

Commit 0d32aef

Browse files
Titozzzfacebook-github-bot
authored andcommitted
fix(cli + tests): Bump metro to 0.66 + fix test manual script (#31597)
Summary: Bumped react-native-community/cli to v6 to update metro to 0.66 to fix fast-refresh issues Also updated the manual test e2e script for easier testing. (using npm install would create a package-lock.json and conflict with yarn.lock) ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://github.com/facebook/react-native/wiki/Changelog --> [GENERAL] [UPDATE] - updated react-native-community/cli to v6 (hence updating metro to 0.66) Pull Request resolved: #31597 Test Plan: I've tested fast-refresh works with / without hermes Reviewed By: TheSavior Differential Revision: D28852660 Pulled By: yungsters fbshipit-source-id: af338e4dd1d52c62949d71f42773963d89bca9db
1 parent 281daf1 commit 0d32aef

File tree

3 files changed

+128
-272
lines changed

3 files changed

+128
-272
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@
9090
},
9191
"dependencies": {
9292
"@jest/create-cache-key-function": "^27.0.1",
93-
"@react-native-community/cli": "^5.0.1-alpha.0",
94-
"@react-native-community/cli-platform-android": "^5.0.1-alpha.0",
95-
"@react-native-community/cli-platform-ios": "^5.0.1-alpha.0",
93+
"@react-native-community/cli": "^6.0.0-rc.0",
94+
"@react-native-community/cli-platform-android": "^6.0.0-rc.0",
95+
"@react-native-community/cli-platform-ios": "^6.0.0-rc.0",
9696
"@react-native/assets": "1.0.0",
9797
"@react-native/normalize-color": "1.0.0",
9898
"@react-native/polyfills": "1.0.0",

scripts/test-manual-e2e.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ rm -rf android
4040

4141
success "Generated artifacts for Maven"
4242

43-
npm install
43+
yarn
4444

4545
success "Killing any running packagers"
4646
lsof -i :8081 | grep LISTEN

0 commit comments

Comments
 (0)