Skip to content

Commit

Permalink
Hotfix: Lock RN CLI to 11.0.0-alpha.0 in template (#36631)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook/react-native#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 facebook/react-native#36623, but are stuck on infra issues).

- `11.0.0-alpha.0` includes `metro@0.75.0` (compatible).

More info: facebook/react-native#36623 (comment)

Reviewed By: robhogan, NickGerleman

Differential Revision: D44371406

fbshipit-source-id: 870a59da521b55f957c8602125aecefb846e6ced

Original-Commit: facebook/react-native@155591b
  • Loading branch information
huntie authored and facebook-github-bot committed Mar 24, 2023
1 parent 2ff55e7 commit 3056277
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions template/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,17 @@
},
"engines": {
"node": ">=16"
},
"overrides": {
"@react-native-community/cli": "11.0.0-alpha.0",
"@react-native-community/cli-platform-android": "11.0.0-alpha.0",
"@react-native-community/cli-platform-ios": "11.0.0-alpha.0",
"@react-native-community/cli-plugin-metro": "11.0.0-alpha.0"
},
"resolutions": {
"@react-native-community/cli": "11.0.0-alpha.0",
"@react-native-community/cli-platform-android": "11.0.0-alpha.0",
"@react-native-community/cli-platform-ios": "11.0.0-alpha.0",
"@react-native-community/cli-plugin-metro": "11.0.0-alpha.0"
}
}

0 comments on commit 3056277

Please sign in to comment.