diff --git a/bun.lockb b/bun.lockb index c5322695..ce1b41a8 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md index 6fb25164..ae62c446 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -1,5 +1,11 @@ # rn-new +## 2.11.25 + +### Patch Changes + +- [#421](https://github.com/roninoss/create-expo-stack/pull/421) [`8f9d35dead9b7e2ba6a1220043fee5a2c7a6e4ea`](https://github.com/roninoss/create-expo-stack/commit/8f9d35dead9b7e2ba6a1220043fee5a2c7a6e4ea) Thanks [@Viraj-10](https://github.com/Viraj-10)! - fix: nativewind version and dependencies + ## 2.11.24 ### Patch Changes diff --git a/cli/README.md b/cli/README.md index 1e67d98f..8523eed3 100644 --- a/cli/README.md +++ b/cli/README.md @@ -59,7 +59,7 @@ Each project is generated based on the results of the CLI, on a per-file basis. | Library | Category | Version | Description | | ------------------ | ------------------- | ------- | ---------------------------------------------- | -| React Native | Mobile Framework | v0.73 | The best cross-platform mobile framework | +| React Native | Mobile Framework | v0.74 | The best cross-platform mobile framework | | React | UI Framework | v18 | The most popular UI framework in the world | | TypeScript | Language | v5 | Static typechecking | | React Navigation | Navigation | v6 | Performant and consistent navigation framework | @@ -296,6 +296,13 @@ Thanks go to these wonderful people: YOUNESS HASSOUNE + + + Viraj-10 +
+ Viraj Joshi +
+ Hacksore @@ -309,15 +316,15 @@ Thanks go to these wonderful people:
Salloom
- + + ralacerda
Renato Lacerda
- - + imranbarbhuiya @@ -352,15 +359,15 @@ Thanks go to these wonderful people:
Jeff Boek
- + + gwenoleR
Null
- - + claudesortwell diff --git a/cli/package.json b/cli/package.json index cb8e6887..6bc3f58c 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "rn-new", - "version": "2.11.24", + "version": "2.11.25", "description": "CLI tool to initialize a React Native application with Expo", "repository": { "type": "git", diff --git a/cli/src/templates/base/package.json.ejs b/cli/src/templates/base/package.json.ejs index 9ff1e063..e06d180e 100644 --- a/cli/src/templates/base/package.json.ejs +++ b/cli/src/templates/base/package.json.ejs @@ -29,7 +29,15 @@ }, "dependencies": { <% if (props.stylingPackage?.name === "nativewind" || props.stylingPackage?.name === "nativewindui") { %> - "nativewind": "next", + "nativewind": "latest", + <%# This will already be installed if using expo-router (see below) %> + <% if (props.navigationPackage?.name !== "expo-router") { %> + "react-native-reanimated": "~3.10.1", + <% } %> + <%# This will already be installed if using navigation (see below) %> + <% if (props.navigationPackage?.type !== "navigation") { %> + "react-native-safe-area-context": "4.10.5", + <% } %> <% } %> <% if (props.stylingPackage?.name === "nativewindui") { %> "@roninoss/icons": "^0.0.4",