Open jonthysell opened 1 month ago
hey @jonthysell!
Regarding CLI version I just created a bump Pull Request inside template repo, so nightlies will pull correct version: https://github.com/react-native-community/template/pull/58 👍
Regarding nightly
version - @blakef, could you please jump in here? :pray:
Environment
info Fetching system and libraries information... System: OS: Windows 11 10.0.26100 CPU: "(24) x64 AMD Ryzen Threadripper PRO 3945WX 12-Cores " Memory: 54.54 GB / 63.86 GB Binaries: Node: version: 18.18.0 path: C:\Program Files\nodejs\node.EXE Yarn: version: 3.6.4 path: C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: version: 9.8.1 path: C:\Program Files\nodejs\npm.CMD Watchman: Not Found SDKs: Android SDK: Not Found Windows SDK: AllowDevelopmentWithoutDevLicense: Enabled AllowAllTrustedApps: Enabled Versions:
Description
I need to be able to create a new project with a specific (nightly) RN version. If I call
@react-native-community/cli init
with a particular version of RN, I expect the project to use that particular version.This worked fine before the changes from needing to call
@react-native-community/cli
instead ofreact-native
and the template being moved into it's own package.Reproducible Demo
Run
npx --yes @react-native-community/cli@latest init testcsapp --version 0.76.0-nightly-20240901-305b4357e --verbose --skip-install --install-pods false --skip-git-init true
Check
package.json
, seenightly
versions and incorrect CLI dependencies everywhere.Actual:
Expected: