create-expo-stack 2.1.10 → 2.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/build/commands/create-expo-stack.js +9 -5
  2. package/build/templates/base/App.tsx.ejs +25 -2
  3. package/build/templates/base/babel.config.js.ejs +11 -1
  4. package/build/templates/base/package.json.ejs +13 -2
  5. package/build/templates/packages/expo-router/stack/app/_layout.tsx.ejs +17 -4
  6. package/build/templates/packages/expo-router/stack/app/details.tsx.ejs +15 -4
  7. package/build/templates/packages/expo-router/stack/app/index.tsx.ejs +20 -4
  8. package/build/templates/packages/expo-router/tabs/app/(tabs)/index.tsx.ejs +15 -5
  9. package/build/templates/packages/expo-router/tabs/app/(tabs)/two.tsx.ejs +14 -4
  10. package/build/templates/packages/expo-router/tabs/app/_layout.tsx.ejs +10 -0
  11. package/build/templates/packages/expo-router/tabs/app/modal.tsx.ejs +16 -4
  12. package/build/templates/packages/expo-router/tabs/components/edit-screen-info.tsx.ejs +22 -4
  13. package/build/templates/packages/react-navigation/App.tsx.ejs +12 -3
  14. package/build/templates/packages/react-navigation/components/edit-screen-info.tsx.ejs +3 -3
  15. package/build/templates/packages/react-navigation/navigation/index.tsx.ejs +12 -4
  16. package/build/templates/packages/react-navigation/screens/details.tsx.ejs +15 -4
  17. package/build/templates/packages/react-navigation/screens/modal.tsx.ejs +16 -4
  18. package/build/templates/packages/react-navigation/screens/one.tsx.ejs +14 -4
  19. package/build/templates/packages/react-navigation/screens/overview.tsx.ejs +18 -4
  20. package/build/templates/packages/react-navigation/screens/two.tsx.ejs +17 -7
  21. package/build/templates/packages/tamagui/tamagui.config.ts.ejs +102 -0
  22. package/build/types/types.d.ts +1 -1
  23. package/build/types/utilities/configureProjectFiles.d.ts +1 -1
  24. package/build/types/utilities/generateProjectFiles.d.ts +1 -1
  25. package/build/types/utilities/getPackageManager.d.ts +1 -1
  26. package/build/types.js +2 -2
  27. package/build/utilities/configureProjectFiles.js +12 -3
  28. package/build/utilities/generateProjectFiles.js +7 -4
  29. package/build/utilities/getPackageManager.js +6 -4
  30. package/build/utilities/printOutput.js +6 -1
  31. package/build/utilities/runCLI.js +17 -6
  32. package/build/utilities/runIgnite.js +4 -3
  33. package/package.json +1 -1
  34. package/readme.md +8 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-expo-stack",
3
- "version": "2.1.10",
3
+ "version": "2.1.12",
4
4
  "description": "create-expo-stack CLI",
5
5
  "private": false,
6
6
  "types": "build/types/types.d.ts",
package/readme.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## Description
6
6
 
7
- This CLI tool is designed to help you get started with React Native and Expo as quickly as possible. The CLI options allow you to configure your project with Typescript, file-based routing with Expo Router, pure React-Navigation, and/or Tailwind CSS with NativeWind.
7
+ This CLI tool is designed to help you get started with React Native and Expo as quickly as possible. The CLI options allow you to configure your project with Typescript, file-based routing with Expo Router, configuration-based navigation via React-Navigation, and styling with StyleSheet or Tailwind CSS, with either NativeWind or Tamagui.
8
8
 
9
9
  You can also use flags such as `--noInstall`, `--noGit`, and `--default` in order to customize your project. The CLI will attempt to automatically determine your package manager of choice but you can also pass in your preferred package manager via `--npm`, `--yarn`, or `pnpm`. Roadmap coming soon...
10
10
 
@@ -37,6 +37,7 @@ Each project is generated based on the results of the CLI, on a per-file basis.
37
37
  | Expo System UI | System UI Library | v2 | System UI support |
38
38
  | Expo Web Browser | Web Browser Library | v12 | Open links in the browser |
39
39
  | NativeWind | UI Framework | v2 | Tailwind CSS for React Native |
40
+ | Tamagui | UI Framework | v1 | Universal UI with a smart optimizing compiler |
40
41
  | Safe Area Context | Safe Area Library | v4 | Safe area support |
41
42
  | React Native Web | Web Support | v0.19 | React Native for Web |
42
43
 
@@ -67,45 +68,35 @@ Thanks go to these wonderful people:
67
68
  <a href="https://onlydans.gg/">
68
69
  <img src="https://pbs.twimg.com/profile_images/1689473757713514496/8fQrCrBx_400x400.jpg" width="100px;" alt="Dan Stepanov"/>
69
70
  <br />
70
- <sub>
71
- <b>Dan Stepanov</b>
72
- </sub>
71
+ Dan Stepanov
73
72
  </a>
74
73
  </td>
75
74
  <td align="center" valign="top" width="14.28%">
76
- <a href="https://twitter.com/frankcalise">
75
+ <a href="https://github.com/frankcalise/">
77
76
  <img src="https://pbs.twimg.com/profile_images/1262363198839238662/uIfRNVBY_400x400.jpg" width="100px;" alt="Frank Calise"/>
78
77
  <br />
79
- <sub>
80
- <b>Frank Calise</b>
81
- </sub>
78
+ Frank Calise
82
79
  </a>
83
80
  </td>
84
81
  <td align="center" valign="top" width="14.28%">
85
82
  <a href="https://twitter.com/PickleNik0864">
86
83
  <img src="https://pbs.twimg.com/profile_images/1694518037385244672/eaS0RTwB_400x400.jpg" width="100px;" alt="PickleNik"/>
87
84
  <br />
88
- <sub>
89
- <b>PickleNik</b>
90
- </sub>
85
+ PickleNik
91
86
  </a>
92
87
  </td>
93
88
  <td align="center" valign="top" width="14.28%">
94
89
  <a href="https://twitter.com/trashh_dev">
95
90
  <img src="https://pbs.twimg.com/profile_images/1598959528518643713/aWdwBYxv_400x400.jpg" width="100px;" alt="Chris Bautista"/>
96
91
  <br />
97
- <sub>
98
- <b>Chris Bautista</b>
99
- </sub>
92
+ Chris Bautista
100
93
  </a>
101
94
  </td>
102
95
  <td align="center" valign="top" width="14.28%">
103
96
  <a href="https://aodhan.netlify.app/">
104
97
  <img src="https://pbs.twimg.com/profile_images/1472990183993888772/3X5J4d9__400x400.png" width="100px;" alt="Aodhan Hamilton"/>
105
98
  <br />
106
- <sub>
107
- <b>Aodhan Hamilton</b>
108
- </sub>
99
+ Aodhan Hamilton
109
100
  </a>
110
101
  </td>
111
102
  </tr>