Skip to content

Commit 155591b

Browse files
huntiefacebook-github-bot
authored andcommitted
Hotfix: Lock RN CLI to 11.0.0-alpha.0 in template (#36631)
Summary: Pull Request resolved: #36631 Changelog: [Internal] Hotfix for `main` branch CI stability after RN CLI `11.0.0` — the template as bootstrapped in CI needs to reference an exact version. There is no published version (any more) for `11.0.0-alpha.2` (or `11.0.0-alpha.1`). This is a temporary hotfix (we are trying to land #36623, but are stuck on infra issues). - `11.0.0-alpha.0` includes `metro@0.75.0` (compatible). More info: #36623 (comment) Reviewed By: robhogan, NickGerleman Differential Revision: D44371406 fbshipit-source-id: 870a59da521b55f957c8602125aecefb846e6ced
1 parent ebc97a6 commit 155591b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/react-native/template/package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,17 @@
3131
},
3232
"engines": {
3333
"node": ">=16"
34+
},
35+
"overrides": {
36+
"@react-native-community/cli": "11.0.0-alpha.0",
37+
"@react-native-community/cli-platform-android": "11.0.0-alpha.0",
38+
"@react-native-community/cli-platform-ios": "11.0.0-alpha.0",
39+
"@react-native-community/cli-plugin-metro": "11.0.0-alpha.0"
40+
},
41+
"resolutions": {
42+
"@react-native-community/cli": "11.0.0-alpha.0",
43+
"@react-native-community/cli-platform-android": "11.0.0-alpha.0",
44+
"@react-native-community/cli-platform-ios": "11.0.0-alpha.0",
45+
"@react-native-community/cli-plugin-metro": "11.0.0-alpha.0"
3446
}
3547
}

0 commit comments

Comments
 (0)