Skip to content

Commit 81923c9

Browse files
authored
Merge pull request #77 from react-native-community/feature-move-cli
feat: use @react-native-community/cli instead of react-native
2 parents 83dd214 + 99b87a7 commit 81923c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/new-release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function generateNewReleaseBranch () {
5656
git checkout -b "$branchName"
5757

5858
# generate app and remove generated git repo
59-
npx react-native@"${newRelease}" init "$AppName" --version "$newRelease" --skip-install
59+
npx @react-native-community/cli@latest init "$AppName" --version "$newRelease" --skip-install
6060

6161
# clean up before committing for diffing
6262
rm -rf "$AppName"/.git

0 commit comments

Comments
 (0)