Skip to content

Commit

Permalink
bump nativewind version to 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
danstepanov committed Sep 3, 2024
1 parent 1f67311 commit 2677773
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/seven-islands-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-expo-stack': patch
---

bump nativewind version to 4.1
4 changes: 2 additions & 2 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ You can also use flags such as `--noInstall`, `--noGit`, and `--default` in orde

To get started, use npx to run the CLI tool. You will be prompted to opt into the features you want to use.

`npx create-expo-stack`
`npx create-expo-stack@latest`

<img src="https://github.com/roninoss/create-expo-stack/assets/5482800/e709dd66-cb9b-463c-91f9-b842bb80585c" />

Expand All @@ -71,7 +71,7 @@ Each project is generated based on the results of the CLI, on a per-file basis.
| Expo Status Bar | Status Bar Library | v1 | Status bar support |
| Expo System UI | System UI Library | v2 | System UI support |
| Expo Web Browser | Web Browser Library | v12 | Open links in the browser |
| NativeWind | UI Framework | v4 | Tailwind CSS for React Native |
| NativeWind | UI Framework | v4.1 | Tailwind CSS for React Native |
| Restyle | UI Framework | v2 | Theme-based styling library for React Native |
| Tamagui | UI Framework | v1 | Universal UI with a smart optimizing compiler |
| Unistyles | UI Framework | v2 | Superset of StyleSheet |
Expand Down
2 changes: 1 addition & 1 deletion cli/src/templates/base/package.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"dependencies": {
<% if (props.stylingPackage?.name === "nativewind" || props.stylingPackage?.name === "nativewindui") { %>
"nativewind": "^4.0.1",
"nativewind": "next",
<% } %>
<% if (props.stylingPackage?.name === "nativewindui") { %>
"@roninoss/icons": "^0.0.4",
Expand Down

0 comments on commit 2677773

Please sign in to comment.