From 88d2be2d2f7d62e42d4d95cd3f9328b3f5302f09 Mon Sep 17 00:00:00 2001 From: Daniel Williams Date: Sat, 12 Oct 2024 13:46:37 +0100 Subject: [PATCH 1/6] feat: rename to rn.new --- .changeset/config.json | 6 +- .changeset/happy-cars-rhyme.md | 5 + .github/issue_template.md | 6 +- .github/workflows/next-release.yaml | 2 +- .github/workflows/release.yaml | 2 +- cli/CHANGELOG.md | 272 +++++++++--------- cli/README.md | 22 +- cli/__tests__/cli-integration.test.ts | 14 +- cli/bin/{create-expo-stack.js => rn-new.js} | 0 cli/package.json | 8 +- cli/src/cli.ts | 4 +- .../{create-expo-stack.ts => rn-new.ts} | 6 +- cli/src/constants.ts | 2 +- cli/src/utilities/configAnalytics.ts | 6 +- cli/src/utilities/configStorage.ts | 2 +- cli/src/utilities/configureProjectFiles.ts | 10 +- cli/src/utilities/printOutput.ts | 6 +- cli/src/utilities/runCLI.ts | 2 +- cli/src/utilities/showHelp.ts | 4 +- contributing.md | 48 ++-- docs/README.md | 2 +- docs/package.json | 2 +- docs/src/components/Header/MainNav.tsx | 9 +- docs/src/components/Header/MobileNav.tsx | 7 +- docs/src/components/Icons/GitHubIcon.astro | 2 +- .../components/PageContent/BreadCrumbs.tsx | 2 +- docs/src/consts.ts | 14 +- docs/src/content/docs/en/folder-structure.mdx | 2 +- docs/src/content/docs/en/installation.md | 20 +- docs/src/content/docs/en/introduction.mdx | 12 +- docs/src/content/docs/en/usage/first-steps.md | 2 +- package.json | 12 +- scripts/generate-contributors.ts | 2 +- scripts/next-release.ts | 2 +- www/demo/constants.js | 2 +- www/demo/index.js | 2 +- www/demo/steps/renderTitle.js | 22 +- www/package.json | 2 +- .../contributors/contributorsSection.tsx | 6 +- .../components/landing/footer/footer.astro | 8 +- .../landing/hero/copyCommandButton.tsx | 4 +- .../landing/navbar/githubStarButton.astro | 4 +- .../components/landing/navbar/navbar.astro | 2 +- .../components/landing/roadmap/roadmap.tsx | 6 +- www/src/components/seo/headSeo.astro | 2 +- www/src/config.ts | 25 +- www/src/layouts/landingPage.astro | 2 +- www/vercel.json | 2 +- 48 files changed, 300 insertions(+), 306 deletions(-) create mode 100644 .changeset/happy-cars-rhyme.md rename cli/bin/{create-expo-stack.js => rn-new.js} (100%) rename cli/src/commands/{create-expo-stack.ts => rn-new.ts} (98%) diff --git a/.changeset/config.json b/.changeset/config.json index b8897275..3906d257 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -3,13 +3,13 @@ "changelog": [ "@changesets/changelog-github", { - "repo": "roninoss/create-expo-stack" + "repo": "roninoss/rn-new" } ], "commit": false, "updateInternalDependencies": "patch", "access": "public", "baseBranch": "main", - "fixed": [["create-expo-stack"]], - "ignore": ["create-expo-stack-docs", "create-expo-stack-landing"] + "fixed": [["rn-new"]], + "ignore": ["rn-new-docs", "rn-new-landing"] } diff --git a/.changeset/happy-cars-rhyme.md b/.changeset/happy-cars-rhyme.md new file mode 100644 index 00000000..f3d18d6f --- /dev/null +++ b/.changeset/happy-cars-rhyme.md @@ -0,0 +1,5 @@ +--- +'rn-new': minor +--- + +rename to rn-new diff --git a/.github/issue_template.md b/.github/issue_template.md index b7a885db..1659f114 100644 --- a/.github/issue_template.md +++ b/.github/issue_template.md @@ -1,4 +1,4 @@ -Issue tracker is **ONLY** used for reporting bugs. New features should be discussed on our discord, in the #create-expo-stack channel. +Issue tracker is **ONLY** used for reporting bugs. New features should be discussed on our discord, in the #rn-new channel. @@ -24,7 +24,7 @@ Issue tracker is **ONLY** used for reporting bugs. New features should be discus 3. 4. -## CES Config File +## rn-new Config File - + diff --git a/.github/workflows/next-release.yaml b/.github/workflows/next-release.yaml index 3fda7900..a4882407 100644 --- a/.github/workflows/next-release.yaml +++ b/.github/workflows/next-release.yaml @@ -82,7 +82,7 @@ jobs: - name: Install dependencies run: bun install - - name: Build create-expo-stack + - name: Build rn-new run: bun run build:cli ## The change made to package.json here is ephemeral, as it will only run in CI diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b2bdd0d5..cbb72717 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -46,7 +46,7 @@ jobs: - name: Install dependencies run: bun install - - name: Build create-expo-stack + - name: Build rn-new run: bun run build:cli - name: Create Release Pull Request diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md index b642666d..6fb25164 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -1,486 +1,486 @@ -# create-expo-stack +# rn-new ## 2.11.24 ### Patch Changes -- [`b5374ea3cfc9c5ce4e08bd02c7abdedfb0f69282`](https://github.com/roninoss/create-expo-stack/commit/b5374ea3cfc9c5ce4e08bd02c7abdedfb0f69282) Thanks [@danstepanov](https://github.com/danstepanov)! - fix button margin for nativewind template +- [`b5374ea3cfc9c5ce4e08bd02c7abdedfb0f69282`](https://github.com/roninoss/rn-new/commit/b5374ea3cfc9c5ce4e08bd02c7abdedfb0f69282) Thanks [@danstepanov](https://github.com/danstepanov)! - fix button margin for nativewind template ## 2.11.23 ### Patch Changes -- [`26777731bf744f78563444defddfe283c1d9d7ca`](https://github.com/roninoss/create-expo-stack/commit/26777731bf744f78563444defddfe283c1d9d7ca) Thanks [@danstepanov](https://github.com/danstepanov)! - bump nativewind version to 4.1 +- [`26777731bf744f78563444defddfe283c1d9d7ca`](https://github.com/roninoss/rn-new/commit/26777731bf744f78563444defddfe283c1d9d7ca) Thanks [@danstepanov](https://github.com/danstepanov)! - bump nativewind version to 4.1 ## 2.11.22 ### Patch Changes -- [#406](https://github.com/roninoss/create-expo-stack/pull/406) [`c31dedbf8c3ebf87b9104d961962f6146195d8d1`](https://github.com/roninoss/create-expo-stack/commit/c31dedbf8c3ebf87b9104d961962f6146195d8d1) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: make sure npmrc gets added for pnpm +- [#406](https://github.com/roninoss/rn-new/pull/406) [`c31dedbf8c3ebf87b9104d961962f6146195d8d1`](https://github.com/roninoss/rn-new/commit/c31dedbf8c3ebf87b9104d961962f6146195d8d1) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: make sure npmrc gets added for pnpm ## 2.11.21 ### Patch Changes -- [`f9506edf2bb1bc36f0b17fcae043577742f8c6da`](https://github.com/roninoss/create-expo-stack/commit/f9506edf2bb1bc36f0b17fcae043577742f8c6da) Thanks [@danstepanov](https://github.com/danstepanov)! - add new sponsors to README +- [`f9506edf2bb1bc36f0b17fcae043577742f8c6da`](https://github.com/roninoss/rn-new/commit/f9506edf2bb1bc36f0b17fcae043577742f8c6da) Thanks [@danstepanov](https://github.com/danstepanov)! - add new sponsors to README ## 2.11.20 ### Patch Changes -- [#402](https://github.com/roninoss/create-expo-stack/pull/402) [`41915494797d9fcf63d416b1607404703817b623`](https://github.com/roninoss/create-expo-stack/commit/41915494797d9fcf63d416b1607404703817b623) Thanks [@salloom-domani](https://github.com/salloom-domani)! - add missing compoents dir to tailwind config +- [#402](https://github.com/roninoss/rn-new/pull/402) [`41915494797d9fcf63d416b1607404703817b623`](https://github.com/roninoss/rn-new/commit/41915494797d9fcf63d416b1607404703817b623) Thanks [@salloom-domani](https://github.com/salloom-domani)! - add missing compoents dir to tailwind config -- [#396](https://github.com/roninoss/create-expo-stack/pull/396) [`53ef2d97a77f705255778a1bfbe3227ef78f3221`](https://github.com/roninoss/create-expo-stack/commit/53ef2d97a77f705255778a1bfbe3227ef78f3221) Thanks [@dannyhw](https://github.com/dannyhw)! - re-add updated nwui components +- [#396](https://github.com/roninoss/rn-new/pull/396) [`53ef2d97a77f705255778a1bfbe3227ef78f3221`](https://github.com/roninoss/rn-new/commit/53ef2d97a77f705255778a1bfbe3227ef78f3221) Thanks [@dannyhw](https://github.com/dannyhw)! - re-add updated nwui components ## 2.11.19 ### Patch Changes -- [`80d56834b320f0da55e8c6c7f9c42a0a5a6a9b0a`](https://github.com/roninoss/create-expo-stack/commit/80d56834b320f0da55e8c6c7f9c42a0a5a6a9b0a) Thanks [@danstepanov](https://github.com/danstepanov)! - revert changes in 2.11.17 +- [`80d56834b320f0da55e8c6c7f9c42a0a5a6a9b0a`](https://github.com/roninoss/rn-new/commit/80d56834b320f0da55e8c6c7f9c42a0a5a6a9b0a) Thanks [@danstepanov](https://github.com/danstepanov)! - revert changes in 2.11.17 ## 2.11.18 ### Patch Changes -- [#390](https://github.com/roninoss/create-expo-stack/pull/390) [`d5fe3d31120f6b93ff188bff50753ba4e0030616`](https://github.com/roninoss/create-expo-stack/commit/d5fe3d31120f6b93ff188bff50753ba4e0030616) Thanks [@dannyhw](https://github.com/dannyhw)! - Allow for non interactive nwui setup +- [#390](https://github.com/roninoss/rn-new/pull/390) [`d5fe3d31120f6b93ff188bff50753ba4e0030616`](https://github.com/roninoss/rn-new/commit/d5fe3d31120f6b93ff188bff50753ba4e0030616) Thanks [@dannyhw](https://github.com/dannyhw)! - Allow for non interactive nwui setup ## 2.11.17 ### Patch Changes -- [#387](https://github.com/roninoss/create-expo-stack/pull/387) [`bfb30b177924f815e1862c7a8a3c82c87dbcb38d`](https://github.com/roninoss/create-expo-stack/commit/bfb30b177924f815e1862c7a8a3c82c87dbcb38d) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: should always prompt about deleting unless using --overwrite +- [#387](https://github.com/roninoss/rn-new/pull/387) [`bfb30b177924f815e1862c7a8a3c82c87dbcb38d`](https://github.com/roninoss/rn-new/commit/bfb30b177924f815e1862c7a8a3c82c87dbcb38d) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: should always prompt about deleting unless using --overwrite -- [#386](https://github.com/roninoss/create-expo-stack/pull/386) [`4793cc438515a8e44528a5cf7a3915a112e3433c`](https://github.com/roninoss/create-expo-stack/commit/4793cc438515a8e44528a5cf7a3915a112e3433c) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: allow adding nwui component without installing +- [#386](https://github.com/roninoss/rn-new/pull/386) [`4793cc438515a8e44528a5cf7a3915a112e3433c`](https://github.com/roninoss/rn-new/commit/4793cc438515a8e44528a5cf7a3915a112e3433c) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: allow adding nwui component without installing ## 2.11.16 ### Patch Changes -- [#382](https://github.com/roninoss/create-expo-stack/pull/382) [`8491601437cd5302f5627664489b7629e683581f`](https://github.com/roninoss/create-expo-stack/commit/8491601437cd5302f5627664489b7629e683581f) Thanks [@dannyhw](https://github.com/dannyhw)! - more checks on selected components list +- [#382](https://github.com/roninoss/rn-new/pull/382) [`8491601437cd5302f5627664489b7629e683581f`](https://github.com/roninoss/rn-new/commit/8491601437cd5302f5627664489b7629e683581f) Thanks [@dannyhw](https://github.com/dannyhw)! - more checks on selected components list ## 2.11.15 ### Patch Changes -- [#379](https://github.com/roninoss/create-expo-stack/pull/379) [`6783c48b330bb854321ce10666ca50a8e2e5cc4f`](https://github.com/roninoss/create-expo-stack/commit/6783c48b330bb854321ce10666ca50a8e2e5cc4f) Thanks [@dannyhw](https://github.com/dannyhw)! - feat: uses nwui cli to generate project files for nwui +- [#379](https://github.com/roninoss/rn-new/pull/379) [`6783c48b330bb854321ce10666ca50a8e2e5cc4f`](https://github.com/roninoss/rn-new/commit/6783c48b330bb854321ce10666ca50a8e2e5cc4f) Thanks [@dannyhw](https://github.com/dannyhw)! - feat: uses nwui cli to generate project files for nwui ## 2.11.14 ### Patch Changes -- [#373](https://github.com/roninoss/create-expo-stack/pull/373) [`35dd3b7f5a2a46c18fa59113990007cc5f202b72`](https://github.com/roninoss/create-expo-stack/commit/35dd3b7f5a2a46c18fa59113990007cc5f202b72) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: eas should now work when pnpm is selected +- [#373](https://github.com/roninoss/rn-new/pull/373) [`35dd3b7f5a2a46c18fa59113990007cc5f202b72`](https://github.com/roninoss/rn-new/commit/35dd3b7f5a2a46c18fa59113990007cc5f202b72) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: eas should now work when pnpm is selected ## 2.11.13 ### Patch Changes -- [#369](https://github.com/roninoss/create-expo-stack/pull/369) [`da2ef44b26a18fa34ed020fbcf8e3b367b05eeba`](https://github.com/roninoss/create-expo-stack/commit/da2ef44b26a18fa34ed020fbcf8e3b367b05eeba) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: rerun script more accurate for NWUI +- [#369](https://github.com/roninoss/rn-new/pull/369) [`da2ef44b26a18fa34ed020fbcf8e3b367b05eeba`](https://github.com/roninoss/rn-new/commit/da2ef44b26a18fa34ed020fbcf8e3b367b05eeba) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: rerun script more accurate for NWUI ## 2.11.12 ### Patch Changes -- [#366](https://github.com/roninoss/create-expo-stack/pull/366) [`73648767a4921f999936b4c3ce0795010b75a204`](https://github.com/roninoss/create-expo-stack/commit/73648767a4921f999936b4c3ce0795010b75a204) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: tabs layout for NWUI and updated recommended bun version +- [#366](https://github.com/roninoss/rn-new/pull/366) [`73648767a4921f999936b4c3ce0795010b75a204`](https://github.com/roninoss/rn-new/commit/73648767a4921f999936b4c3ce0795010b75a204) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: tabs layout for NWUI and updated recommended bun version ## 2.11.11 ### Patch Changes -- [#363](https://github.com/roninoss/create-expo-stack/pull/363) [`0a3ff4501775c7e77f192b5891b0180f411034d6`](https://github.com/roninoss/create-expo-stack/commit/0a3ff4501775c7e77f192b5891b0180f411034d6) Thanks [@danstepanov](https://github.com/danstepanov)! - show avatar fallback if no avatar image is provided +- [#363](https://github.com/roninoss/rn-new/pull/363) [`0a3ff4501775c7e77f192b5891b0180f411034d6`](https://github.com/roninoss/rn-new/commit/0a3ff4501775c7e77f192b5891b0180f411034d6) Thanks [@danstepanov](https://github.com/danstepanov)! - show avatar fallback if no avatar image is provided ## 2.11.10 ### Patch Changes -- [#360](https://github.com/roninoss/create-expo-stack/pull/360) [`df3cd62abc83e9749266f2d192d99be1dbfe5aaa`](https://github.com/roninoss/create-expo-stack/commit/df3cd62abc83e9749266f2d192d99be1dbfe5aaa) Thanks [@dannyhw](https://github.com/dannyhw)! - fix config storage +- [#360](https://github.com/roninoss/rn-new/pull/360) [`df3cd62abc83e9749266f2d192d99be1dbfe5aaa`](https://github.com/roninoss/rn-new/commit/df3cd62abc83e9749266f2d192d99be1dbfe5aaa) Thanks [@dannyhw](https://github.com/dannyhw)! - fix config storage ## 2.11.9 ### Patch Changes -- [#353](https://github.com/roninoss/create-expo-stack/pull/353) [`8ccbe1d8a6db329e3d62f24dbab69f462c21b2c6`](https://github.com/roninoss/create-expo-stack/commit/8ccbe1d8a6db329e3d62f24dbab69f462c21b2c6) Thanks [@AlejandroGutierrezB](https://github.com/AlejandroGutierrezB)! - Upgrade launchModeExperimental to use stable launchMode property in app.json.ejs +- [#353](https://github.com/roninoss/rn-new/pull/353) [`8ccbe1d8a6db329e3d62f24dbab69f462c21b2c6`](https://github.com/roninoss/rn-new/commit/8ccbe1d8a6db329e3d62f24dbab69f462c21b2c6) Thanks [@AlejandroGutierrezB](https://github.com/AlejandroGutierrezB)! - Upgrade launchModeExperimental to use stable launchMode property in app.json.ejs -- [`220ca6637106d4b4b1ad2b16b4f5c33623421d30`](https://github.com/roninoss/create-expo-stack/commit/220ca6637106d4b4b1ad2b16b4f5c33623421d30) Thanks [@danstepanov](https://github.com/danstepanov)! - replace instance of createexpostack.com with rn.new +- [`220ca6637106d4b4b1ad2b16b4f5c33623421d30`](https://github.com/roninoss/rn-new/commit/220ca6637106d4b4b1ad2b16b4f5c33623421d30) Thanks [@danstepanov](https://github.com/danstepanov)! - replace instance of createexpostack.com with rn.new ## 2.11.8 ### Patch Changes -- [#354](https://github.com/roninoss/create-expo-stack/pull/354) [`0d81dc6cae3088284f0f7d3c4b114e48f1e2dce1`](https://github.com/roninoss/create-expo-stack/commit/0d81dc6cae3088284f0f7d3c4b114e48f1e2dce1) Thanks [@dannyhw](https://github.com/dannyhw)! - feat: you can now pass a comma separated list of nativewind ui components like --selected-components=date-picker,selectable-text +- [#354](https://github.com/roninoss/rn-new/pull/354) [`0d81dc6cae3088284f0f7d3c4b114e48f1e2dce1`](https://github.com/roninoss/rn-new/commit/0d81dc6cae3088284f0f7d3c4b114e48f1e2dce1) Thanks [@dannyhw](https://github.com/dannyhw)! - feat: you can now pass a comma separated list of nativewind ui components like --selected-components=date-picker,selectable-text ## 2.11.7 ### Patch Changes -- [#351](https://github.com/roninoss/create-expo-stack/pull/351) [`1318dd91d367f054c5460a3e6b4f5204ff9c4dcb`](https://github.com/roninoss/create-expo-stack/commit/1318dd91d367f054c5460a3e6b4f5204ff9c4dcb) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: path for not found with tabs setup +- [#351](https://github.com/roninoss/rn-new/pull/351) [`1318dd91d367f054c5460a3e6b4f5204ff9c4dcb`](https://github.com/roninoss/rn-new/commit/1318dd91d367f054c5460a3e6b4f5204ff9c4dcb) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: path for not found with tabs setup ## 2.11.6 ### Patch Changes -- [`b1fdd985b2ebfacd3e8f6b521c9c9bb0c55ce3cf`](https://github.com/roninoss/create-expo-stack/commit/b1fdd985b2ebfacd3e8f6b521c9c9bb0c55ce3cf) Thanks [@danstepanov](https://github.com/danstepanov)! - rekt by comments +- [`b1fdd985b2ebfacd3e8f6b521c9c9bb0c55ce3cf`](https://github.com/roninoss/rn-new/commit/b1fdd985b2ebfacd3e8f6b521c9c9bb0c55ce3cf) Thanks [@danstepanov](https://github.com/danstepanov)! - rekt by comments -- [`603adb9e4fce762fa9adb4c21c8e304d7bcc3325`](https://github.com/roninoss/create-expo-stack/commit/603adb9e4fce762fa9adb4c21c8e304d7bcc3325) Thanks [@danstepanov](https://github.com/danstepanov)! - replace all instances of danstepanov/create-expo-stack with roninoss/create-expo-stack +- [`603adb9e4fce762fa9adb4c21c8e304d7bcc3325`](https://github.com/roninoss/rn-new/commit/603adb9e4fce762fa9adb4c21c8e304d7bcc3325) Thanks [@danstepanov](https://github.com/danstepanov)! - replace all instances of danstepanov/rn-new with roninoss/rn-new ## 2.11.5 ### Patch Changes -- [`17634ae3324ff8280c5218e6a8dea3ab1f773da6`](https://github.com/roninoss/create-expo-stack/commit/17634ae3324ff8280c5218e6a8dea3ab1f773da6) Thanks [@danstepanov](https://github.com/danstepanov)! - remove segmented-control +- [`17634ae3324ff8280c5218e6a8dea3ab1f773da6`](https://github.com/roninoss/rn-new/commit/17634ae3324ff8280c5218e6a8dea3ab1f773da6) Thanks [@danstepanov](https://github.com/danstepanov)! - remove segmented-control ## 2.11.4 ### Patch Changes -- [`9882067c1b7056db1683e99c4fd8a9397fc264f4`](https://github.com/roninoss/create-expo-stack/commit/9882067c1b7056db1683e99c4fd8a9397fc264f4) Thanks [@danstepanov](https://github.com/danstepanov)! - add comments to help users find where to add code for NativeWindUI +- [`9882067c1b7056db1683e99c4fd8a9397fc264f4`](https://github.com/roninoss/rn-new/commit/9882067c1b7056db1683e99c4fd8a9397fc264f4) Thanks [@danstepanov](https://github.com/danstepanov)! - add comments to help users find where to add code for NativeWindUI -- [`42157aca9cd3047b18f915188b9f57bee0ea1371`](https://github.com/roninoss/create-expo-stack/commit/42157aca9cd3047b18f915188b9f57bee0ea1371) Thanks [@danstepanov](https://github.com/danstepanov)! - i'm dumb and don't understand assertions +- [`42157aca9cd3047b18f915188b9f57bee0ea1371`](https://github.com/roninoss/rn-new/commit/42157aca9cd3047b18f915188b9f57bee0ea1371) Thanks [@danstepanov](https://github.com/danstepanov)! - i'm dumb and don't understand assertions -- [`f24f6d376f7f151e587d8aea6b5101d6a3fe8cd1`](https://github.com/roninoss/create-expo-stack/commit/f24f6d376f7f151e587d8aea6b5101d6a3fe8cd1) Thanks [@danstepanov](https://github.com/danstepanov)! - add --clean flag to prebuild command for nativewindui +- [`f24f6d376f7f151e587d8aea6b5101d6a3fe8cd1`](https://github.com/roninoss/rn-new/commit/f24f6d376f7f151e587d8aea6b5101d6a3fe8cd1) Thanks [@danstepanov](https://github.com/danstepanov)! - add --clean flag to prebuild command for nativewindui ## 2.11.3 ### Patch Changes -- [`d6492a617feb144e84390de439ef5352d22994e5`](https://github.com/roninoss/create-expo-stack/commit/d6492a617feb144e84390de439ef5352d22994e5) Thanks [@danstepanov](https://github.com/danstepanov)! - remove deprecated nativewindui components +- [`d6492a617feb144e84390de439ef5352d22994e5`](https://github.com/roninoss/rn-new/commit/d6492a617feb144e84390de439ef5352d22994e5) Thanks [@danstepanov](https://github.com/danstepanov)! - remove deprecated nativewindui components ## 2.11.2 ### Patch Changes -- [`19d1caf3ebda5c90cb173268d5829b46e80b064b`](https://github.com/roninoss/create-expo-stack/commit/19d1caf3ebda5c90cb173268d5829b46e80b064b) Thanks [@danstepanov](https://github.com/danstepanov)! - change default blank nativewindui template to use a stack navigator, instead of drawer+tabs +- [`19d1caf3ebda5c90cb173268d5829b46e80b064b`](https://github.com/roninoss/rn-new/commit/19d1caf3ebda5c90cb173268d5829b46e80b064b) Thanks [@danstepanov](https://github.com/danstepanov)! - change default blank nativewindui template to use a stack navigator, instead of drawer+tabs ## 2.11.1 ### Patch Changes -- [#340](https://github.com/roninoss/create-expo-stack/pull/340) [`fc1fb3cfc713375c55e8f4360534b023462f9632`](https://github.com/roninoss/create-expo-stack/commit/fc1fb3cfc713375c55e8f4360534b023462f9632) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: tests +- [#340](https://github.com/roninoss/rn-new/pull/340) [`fc1fb3cfc713375c55e8f4360534b023462f9632`](https://github.com/roninoss/rn-new/commit/fc1fb3cfc713375c55e8f4360534b023462f9632) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: tests -- [#336](https://github.com/roninoss/create-expo-stack/pull/336) [`7f0f04765ac19e4c3825ea724ccc3624ac03b940`](https://github.com/roninoss/create-expo-stack/commit/7f0f04765ac19e4c3825ea724ccc3624ac03b940) Thanks [@dannyhw](https://github.com/dannyhw)! - tests +- [#336](https://github.com/roninoss/rn-new/pull/336) [`7f0f04765ac19e4c3825ea724ccc3624ac03b940`](https://github.com/roninoss/rn-new/commit/7f0f04765ac19e4c3825ea724ccc3624ac03b940) Thanks [@dannyhw](https://github.com/dannyhw)! - tests ## 2.11.0 ### Minor Changes -- [#33](https://github.com/roninoss/create-expo-stack/pull/33) [`3c394087a85cbc6e4fb84972093029e4094f3700`](https://github.com/roninoss/create-expo-stack/commit/3c394087a85cbc6e4fb84972093029e4094f3700) Thanks [@falcoagustin](https://github.com/falcoagustin)! - Adds --vexo-analytics to enable vexo analytics +- [#33](https://github.com/roninoss/rn-new/pull/33) [`3c394087a85cbc6e4fb84972093029e4094f3700`](https://github.com/roninoss/rn-new/commit/3c394087a85cbc6e4fb84972093029e4094f3700) Thanks [@falcoagustin](https://github.com/falcoagustin)! - Adds --vexo-analytics to enable vexo analytics ### Patch Changes -- [#335](https://github.com/roninoss/create-expo-stack/pull/335) [`bad4a51309fd5006edeea44be80d77a8de3cbd07`](https://github.com/roninoss/create-expo-stack/commit/bad4a51309fd5006edeea44be80d77a8de3cbd07) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: remove unnecessary console.log message +- [#335](https://github.com/roninoss/rn-new/pull/335) [`bad4a51309fd5006edeea44be80d77a8de3cbd07`](https://github.com/roninoss/rn-new/commit/bad4a51309fd5006edeea44be80d77a8de3cbd07) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: remove unnecessary console.log message ## 2.10.5 ### Patch Changes -- [#325](https://github.com/roninoss/create-expo-stack/pull/325) [`c39f05700dfd8eaca2d9eeb55d3dc5ad787e5846`](https://github.com/roninoss/create-expo-stack/commit/c39f05700dfd8eaca2d9eeb55d3dc5ad787e5846) Thanks [@dannyhw](https://github.com/dannyhw)! - config analytics +- [#325](https://github.com/roninoss/rn-new/pull/325) [`c39f05700dfd8eaca2d9eeb55d3dc5ad787e5846`](https://github.com/roninoss/rn-new/commit/c39f05700dfd8eaca2d9eeb55d3dc5ad787e5846) Thanks [@dannyhw](https://github.com/dannyhw)! - config analytics -- [#329](https://github.com/roninoss/create-expo-stack/pull/329) [`0aee6404d69b5df0c47b5c44bc076b477ae22d02`](https://github.com/roninoss/create-expo-stack/commit/0aee6404d69b5df0c47b5c44bc076b477ae22d02) Thanks [@Savinvadim1312](https://github.com/Savinvadim1312)! - Pass down props for button components +- [#329](https://github.com/roninoss/rn-new/pull/329) [`0aee6404d69b5df0c47b5c44bc076b477ae22d02`](https://github.com/roninoss/rn-new/commit/0aee6404d69b5df0c47b5c44bc076b477ae22d02) Thanks [@Savinvadim1312](https://github.com/Savinvadim1312)! - Pass down props for button components -- [`0aafcb2f1b8cb849a4beb8f98e44ac1817a736c9`](https://github.com/roninoss/create-expo-stack/commit/0aafcb2f1b8cb849a4beb8f98e44ac1817a736c9) Thanks [@danstepanov](https://github.com/danstepanov)! - add ces version to cesconfig.json +- [`0aafcb2f1b8cb849a4beb8f98e44ac1817a736c9`](https://github.com/roninoss/rn-new/commit/0aafcb2f1b8cb849a4beb8f98e44ac1817a736c9) Thanks [@danstepanov](https://github.com/danstepanov)! - add rn-new version to cesconfig.json -- [#328](https://github.com/roninoss/create-expo-stack/pull/328) [`486a9402b30239a68cb44497f98b7d44a7f4d67c`](https://github.com/roninoss/create-expo-stack/commit/486a9402b30239a68cb44497f98b7d44a7f4d67c) Thanks [@Savinvadim1312](https://github.com/Savinvadim1312)! - Fix tamagui button +- [#328](https://github.com/roninoss/rn-new/pull/328) [`486a9402b30239a68cb44497f98b7d44a7f4d67c`](https://github.com/roninoss/rn-new/commit/486a9402b30239a68cb44497f98b7d44a7f4d67c) Thanks [@Savinvadim1312](https://github.com/Savinvadim1312)! - Fix tamagui button -- [`7b6454f123c010d57f3e3f542682f9a76a774d6c`](https://github.com/roninoss/create-expo-stack/commit/7b6454f123c010d57f3e3f542682f9a76a774d6c) Thanks [@danstepanov](https://github.com/danstepanov)! - add missing analytics dependencies +- [`7b6454f123c010d57f3e3f542682f9a76a774d6c`](https://github.com/roninoss/rn-new/commit/7b6454f123c010d57f3e3f542682f9a76a774d6c) Thanks [@danstepanov](https://github.com/danstepanov)! - add missing analytics dependencies -- [`910f13c11db2064037e1e0a44c27966e8945574f`](https://github.com/roninoss/create-expo-stack/commit/910f13c11db2064037e1e0a44c27966e8945574f) Thanks [@danstepanov](https://github.com/danstepanov)! - properly set noGit and noInstall for analytics +- [`910f13c11db2064037e1e0a44c27966e8945574f`](https://github.com/roninoss/rn-new/commit/910f13c11db2064037e1e0a44c27966e8945574f) Thanks [@danstepanov](https://github.com/danstepanov)! - properly set noGit and noInstall for analytics ## 2.10.4 ### Patch Changes -- [`187960d4a592621669aec033a873ea8548f5766a`](https://github.com/roninoss/create-expo-stack/commit/187960d4a592621669aec033a873ea8548f5766a) Thanks [@danstepanov](https://github.com/danstepanov)! - generate cesconfig file for each project +- [`187960d4a592621669aec033a873ea8548f5766a`](https://github.com/roninoss/rn-new/commit/187960d4a592621669aec033a873ea8548f5766a) Thanks [@danstepanov](https://github.com/danstepanov)! - generate cesconfig file for each project ## 2.10.3 ### Patch Changes -- [#319](https://github.com/roninoss/create-expo-stack/pull/319) [`4cc5073ac9ed7aabbe0ac2d860f3297fbb142f72`](https://github.com/roninoss/create-expo-stack/commit/4cc5073ac9ed7aabbe0ac2d860f3297fbb142f72) Thanks [@Savinvadim1312](https://github.com/Savinvadim1312)! - Fix unneceserry import of nativewind when not required +- [#319](https://github.com/roninoss/rn-new/pull/319) [`4cc5073ac9ed7aabbe0ac2d860f3297fbb142f72`](https://github.com/roninoss/rn-new/commit/4cc5073ac9ed7aabbe0ac2d860f3297fbb142f72) Thanks [@Savinvadim1312](https://github.com/Savinvadim1312)! - Fix unneceserry import of nativewind when not required ## 2.10.2 ### Patch Changes -- [`1c600c2c1883b8b6f1333c2abf86af87570d840f`](https://github.com/roninoss/create-expo-stack/commit/1c600c2c1883b8b6f1333c2abf86af87570d840f) Thanks [@danstepanov](https://github.com/danstepanov)! - change output message +- [`1c600c2c1883b8b6f1333c2abf86af87570d840f`](https://github.com/roninoss/rn-new/commit/1c600c2c1883b8b6f1333c2abf86af87570d840f) Thanks [@danstepanov](https://github.com/danstepanov)! - change output message ## 2.10.1 ### Patch Changes -- [`3cfeb00ce4fde284b1a0d0928e8332848877872b`](https://github.com/roninoss/create-expo-stack/commit/3cfeb00ce4fde284b1a0d0928e8332848877872b) Thanks [@danstepanov](https://github.com/danstepanov)! - use npx expo prebuild instead of npm run expo prebuild +- [`3cfeb00ce4fde284b1a0d0928e8332848877872b`](https://github.com/roninoss/rn-new/commit/3cfeb00ce4fde284b1a0d0928e8332848877872b) Thanks [@danstepanov](https://github.com/danstepanov)! - use npx expo prebuild instead of npm run expo prebuild ## 2.10.0 ### Minor Changes -- [`ccee444990d1934728335ee8f9f79ff4005b1083`](https://github.com/roninoss/create-expo-stack/commit/ccee444990d1934728335ee8f9f79ff4005b1083) Thanks [@danstepanov](https://github.com/danstepanov)! - move nativewindui into styles +- [`ccee444990d1934728335ee8f9f79ff4005b1083`](https://github.com/roninoss/rn-new/commit/ccee444990d1934728335ee8f9f79ff4005b1083) Thanks [@danstepanov](https://github.com/danstepanov)! - move nativewindui into styles ## 2.9.10 ### Patch Changes -- [#307](https://github.com/roninoss/create-expo-stack/pull/307) [`48765934e887d161527510cbd54d0caf15a09154`](https://github.com/roninoss/create-expo-stack/commit/48765934e887d161527510cbd54d0caf15a09154) Thanks [@dannyhw](https://github.com/dannyhw)! - exits when eas and no install are chosen together since its not possible +- [#307](https://github.com/roninoss/rn-new/pull/307) [`48765934e887d161527510cbd54d0caf15a09154`](https://github.com/roninoss/rn-new/commit/48765934e887d161527510cbd54d0caf15a09154) Thanks [@dannyhw](https://github.com/dannyhw)! - exits when eas and no install are chosen together since its not possible -- [`695ba1bd4e6b5ac4f42b171b0fb240567fe6201a`](https://github.com/roninoss/create-expo-stack/commit/695ba1bd4e6b5ac4f42b171b0fb240567fe6201a) Thanks [@danstepanov](https://github.com/danstepanov)! - silence expo package upgrade messages +- [`695ba1bd4e6b5ac4f42b171b0fb240567fe6201a`](https://github.com/roninoss/rn-new/commit/695ba1bd4e6b5ac4f42b171b0fb240567fe6201a) Thanks [@danstepanov](https://github.com/danstepanov)! - silence expo package upgrade messages -- [#310](https://github.com/roninoss/create-expo-stack/pull/310) [`7a32de0e40b97e8a6f8864b046454d8c0b6f2f0e`](https://github.com/roninoss/create-expo-stack/commit/7a32de0e40b97e8a6f8864b046454d8c0b6f2f0e) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: issues falling back to npm +- [#310](https://github.com/roninoss/rn-new/pull/310) [`7a32de0e40b97e8a6f8864b046454d8c0b6f2f0e`](https://github.com/roninoss/rn-new/commit/7a32de0e40b97e8a6f8864b046454d8c0b6f2f0e) Thanks [@dannyhw](https://github.com/dannyhw)! - fix: issues falling back to npm ## 2.9.9 ### Patch Changes -- [`b5340ed144795d1fd5e541cc47dbd60988ec67aa`](https://github.com/roninoss/create-expo-stack/commit/b5340ed144795d1fd5e541cc47dbd60988ec67aa) Thanks [@danstepanov](https://github.com/danstepanov)! - add npmrc file for pnpm projects that use NativeWind and Expo Router +- [`b5340ed144795d1fd5e541cc47dbd60988ec67aa`](https://github.com/roninoss/rn-new/commit/b5340ed144795d1fd5e541cc47dbd60988ec67aa) Thanks [@danstepanov](https://github.com/danstepanov)! - add npmrc file for pnpm projects that use NativeWind and Expo Router ## 2.9.8 ### Patch Changes -- [`dc92e401ed0b23f54d76fb387b9160984fbf9ea8`](https://github.com/roninoss/create-expo-stack/commit/dc92e401ed0b23f54d76fb387b9160984fbf9ea8) Thanks [@danstepanov](https://github.com/danstepanov)! - bump dependencies for nativewindui +- [`dc92e401ed0b23f54d76fb387b9160984fbf9ea8`](https://github.com/roninoss/rn-new/commit/dc92e401ed0b23f54d76fb387b9160984fbf9ea8) Thanks [@danstepanov](https://github.com/danstepanov)! - bump dependencies for nativewindui ## 2.9.7 ### Patch Changes -- [#299](https://github.com/roninoss/create-expo-stack/pull/299) [`c79fbe4e2347697be8ed2632f7ebbe9018fda733`](https://github.com/roninoss/create-expo-stack/commit/c79fbe4e2347697be8ed2632f7ebbe9018fda733) Thanks [@dannyhw](https://github.com/dannyhw)! - fixes npm logging too much on install +- [#299](https://github.com/roninoss/rn-new/pull/299) [`c79fbe4e2347697be8ed2632f7ebbe9018fda733`](https://github.com/roninoss/rn-new/commit/c79fbe4e2347697be8ed2632f7ebbe9018fda733) Thanks [@dannyhw](https://github.com/dannyhw)! - fixes npm logging too much on install ## 2.9.6 ### Patch Changes -- [#300](https://github.com/roninoss/create-expo-stack/pull/300) [`5a80b6e72c6c0f5a36510a6a8893a38bb90f8fa0`](https://github.com/roninoss/create-expo-stack/commit/5a80b6e72c6c0f5a36510a6a8893a38bb90f8fa0) Thanks [@danstepanov](https://github.com/danstepanov)! - add prebuild script to nativewindui +- [#300](https://github.com/roninoss/rn-new/pull/300) [`5a80b6e72c6c0f5a36510a6a8893a38bb90f8fa0`](https://github.com/roninoss/rn-new/commit/5a80b6e72c6c0f5a36510a6a8893a38bb90f8fa0) Thanks [@danstepanov](https://github.com/danstepanov)! - add prebuild script to nativewindui ## 2.9.5 ### Patch Changes -- [#295](https://github.com/roninoss/create-expo-stack/pull/295) [`c548fdc9f15bbd3b5ae634cbe8db9dbed5e1e12c`](https://github.com/roninoss/create-expo-stack/commit/c548fdc9f15bbd3b5ae634cbe8db9dbed5e1e12c) Thanks [@mrzachnugent](https://github.com/mrzachnugent)! - Makes the dark mode android navigation bar more transparent for NativeWindUI +- [#295](https://github.com/roninoss/rn-new/pull/295) [`c548fdc9f15bbd3b5ae634cbe8db9dbed5e1e12c`](https://github.com/roninoss/rn-new/commit/c548fdc9f15bbd3b5ae634cbe8db9dbed5e1e12c) Thanks [@mrzachnugent](https://github.com/mrzachnugent)! - Makes the dark mode android navigation bar more transparent for NativeWindUI ## 2.9.4 ### Patch Changes -- [`6bc5f0d7c6ab81ef9949c7ef2c14e840df2ac369`](https://github.com/roninoss/create-expo-stack/commit/6bc5f0d7c6ab81ef9949c7ef2c14e840df2ac369) Thanks [@danstepanov](https://github.com/danstepanov)! - make onPress optional for nativewind buttonprops +- [`6bc5f0d7c6ab81ef9949c7ef2c14e840df2ac369`](https://github.com/roninoss/rn-new/commit/6bc5f0d7c6ab81ef9949c7ef2c14e840df2ac369) Thanks [@danstepanov](https://github.com/danstepanov)! - make onPress optional for nativewind buttonprops ## 2.9.3 ### Patch Changes -- [`e6bbd1c8b4687f44c9d1fd97b60b2ec3681eb822`](https://github.com/roninoss/create-expo-stack/commit/e6bbd1c8b4687f44c9d1fd97b60b2ec3681eb822) Thanks [@danstepanov](https://github.com/danstepanov)! - upgrade expo dev client for sdk 51 +- [`e6bbd1c8b4687f44c9d1fd97b60b2ec3681eb822`](https://github.com/roninoss/rn-new/commit/e6bbd1c8b4687f44c9d1fd97b60b2ec3681eb822) Thanks [@danstepanov](https://github.com/danstepanov)! - upgrade expo dev client for sdk 51 ## 2.9.2 ### Patch Changes -- [`5f606147aaf0d9e14f8a931a1d62d896dd91c785`](https://github.com/roninoss/create-expo-stack/commit/5f606147aaf0d9e14f8a931a1d62d896dd91c785) Thanks [@danstepanov](https://github.com/danstepanov)! - add run to eas configure step because package managers +- [`5f606147aaf0d9e14f8a931a1d62d896dd91c785`](https://github.com/roninoss/rn-new/commit/5f606147aaf0d9e14f8a931a1d62d896dd91c785) Thanks [@danstepanov](https://github.com/danstepanov)! - add run to eas configure step because package managers ## 2.9.1 ### Patch Changes -- [`c4a0be252fb76dea20eb3a9c9cd99f15fa43387a`](https://github.com/roninoss/create-expo-stack/commit/c4a0be252fb76dea20eb3a9c9cd99f15fa43387a) Thanks [@danstepanov](https://github.com/danstepanov)! - remove expo-router overrides and resolutions given recent upgrade to 3.5 +- [`c4a0be252fb76dea20eb3a9c9cd99f15fa43387a`](https://github.com/roninoss/rn-new/commit/c4a0be252fb76dea20eb3a9c9cd99f15fa43387a) Thanks [@danstepanov](https://github.com/danstepanov)! - remove expo-router overrides and resolutions given recent upgrade to 3.5 ## 2.9.0 ### Minor Changes -- [`4006505675681c232b6c41059de3d76d8276b89f`](https://github.com/roninoss/create-expo-stack/commit/4006505675681c232b6c41059de3d76d8276b89f) Thanks [@danstepanov](https://github.com/danstepanov)! - prevent expo install from updating libraries +- [`4006505675681c232b6c41059de3d76d8276b89f`](https://github.com/roninoss/rn-new/commit/4006505675681c232b6c41059de3d76d8276b89f) Thanks [@danstepanov](https://github.com/danstepanov)! - prevent expo install from updating libraries ### Patch Changes -- [`f9397f45525c14715bbde5c736ea6698009afb41`](https://github.com/roninoss/create-expo-stack/commit/f9397f45525c14715bbde5c736ea6698009afb41) Thanks [@danstepanov](https://github.com/danstepanov)! - upgrade to expo sdk 51 +- [`f9397f45525c14715bbde5c736ea6698009afb41`](https://github.com/roninoss/rn-new/commit/f9397f45525c14715bbde5c736ea6698009afb41) Thanks [@danstepanov](https://github.com/danstepanov)! - upgrade to expo sdk 51 -- [#266](https://github.com/roninoss/create-expo-stack/pull/266) [`2e19daf72e3243978554f7ec88377ff552bc8828`](https://github.com/roninoss/create-expo-stack/commit/2e19daf72e3243978554f7ec88377ff552bc8828) Thanks [@dannyhw](https://github.com/dannyhw)! - Add option to setup eas +- [#266](https://github.com/roninoss/rn-new/pull/266) [`2e19daf72e3243978554f7ec88377ff552bc8828`](https://github.com/roninoss/rn-new/commit/2e19daf72e3243978554f7ec88377ff552bc8828) Thanks [@dannyhw](https://github.com/dannyhw)! - Add option to setup eas ## 2.8.0 ### Minor Changes -- [`673f031f54b6006b90a68a66f8a775b6316e7cc9`](https://github.com/roninoss/create-expo-stack/commit/673f031f54b6006b90a68a66f8a775b6316e7cc9) Thanks [@danstepanov](https://github.com/danstepanov)! - users can save their favorite configurations +- [`673f031f54b6006b90a68a66f8a775b6316e7cc9`](https://github.com/roninoss/rn-new/commit/673f031f54b6006b90a68a66f8a775b6316e7cc9) Thanks [@danstepanov](https://github.com/danstepanov)! - users can save their favorite configurations ### Patch Changes -- [`940dc326c5d7efed69a239a5326456e64c08d983`](https://github.com/roninoss/create-expo-stack/commit/940dc326c5d7efed69a239a5326456e64c08d983) Thanks [@danstepanov](https://github.com/danstepanov)! - pipe version of create expo stack to git commit message +- [`940dc326c5d7efed69a239a5326456e64c08d983`](https://github.com/roninoss/rn-new/commit/940dc326c5d7efed69a239a5326456e64c08d983) Thanks [@danstepanov](https://github.com/danstepanov)! - pipe version of create expo stack to git commit message ## 2.7.5 ### Patch Changes -- [`779bbe02d2d08ae0a86dd7e87298f6cb92835e48`](https://github.com/roninoss/create-expo-stack/commit/779bbe02d2d08ae0a86dd7e87298f6cb92835e48) Thanks [@danstepanov](https://github.com/danstepanov)! - go back one directory for global.css if using expo router +- [`779bbe02d2d08ae0a86dd7e87298f6cb92835e48`](https://github.com/roninoss/rn-new/commit/779bbe02d2d08ae0a86dd7e87298f6cb92835e48) Thanks [@danstepanov](https://github.com/danstepanov)! - go back one directory for global.css if using expo router ## 2.7.4 ### Patch Changes -- [`30986447cb68ff8b6476adcb1b236487d1b34aea`](https://github.com/roninoss/create-expo-stack/commit/30986447cb68ff8b6476adcb1b236487d1b34aea) Thanks [@danstepanov](https://github.com/danstepanov)! - revert last change pertaining to global css file path +- [`30986447cb68ff8b6476adcb1b236487d1b34aea`](https://github.com/roninoss/rn-new/commit/30986447cb68ff8b6476adcb1b236487d1b34aea) Thanks [@danstepanov](https://github.com/danstepanov)! - revert last change pertaining to global css file path ## 2.7.3 ### Patch Changes -- [`28ec60d87d7ec53874008664c08e4d097861e9e3`](https://github.com/roninoss/create-expo-stack/commit/28ec60d87d7ec53874008664c08e4d097861e9e3) Thanks [@danstepanov](https://github.com/danstepanov)! - add tilda in place of dot for global css file +- [`28ec60d87d7ec53874008664c08e4d097861e9e3`](https://github.com/roninoss/rn-new/commit/28ec60d87d7ec53874008664c08e4d097861e9e3) Thanks [@danstepanov](https://github.com/danstepanov)! - add tilda in place of dot for global css file ## 2.7.2 ### Patch Changes -- [`faa407c86751ffdbc35d58467b4a6176ec857c3b`](https://github.com/roninoss/create-expo-stack/commit/faa407c86751ffdbc35d58467b4a6176ec857c3b) Thanks [@danstepanov](https://github.com/danstepanov)! - replace nativewind-ui folder with nativewindui folder +- [`faa407c86751ffdbc35d58467b4a6176ec857c3b`](https://github.com/roninoss/rn-new/commit/faa407c86751ffdbc35d58467b4a6176ec857c3b) Thanks [@danstepanov](https://github.com/danstepanov)! - replace nativewind-ui folder with nativewindui folder ## 2.7.1 ### Patch Changes -- [#271](https://github.com/roninoss/create-expo-stack/pull/271) [`7228e17dddfed93c14207a425b11f31086c897ee`](https://github.com/roninoss/create-expo-stack/commit/7228e17dddfed93c14207a425b11f31086c897ee) Thanks [@dannyhw](https://github.com/dannyhw)! - Auto update expo and related packages +- [#271](https://github.com/roninoss/rn-new/pull/271) [`7228e17dddfed93c14207a425b11f31086c897ee`](https://github.com/roninoss/rn-new/commit/7228e17dddfed93c14207a425b11f31086c897ee) Thanks [@dannyhw](https://github.com/dannyhw)! - Auto update expo and related packages ## 2.7.0 ### Minor Changes -- [`e4d108e7c25f1badca2f25a3b37fcbf451f9a4ad`](https://github.com/roninoss/create-expo-stack/commit/e4d108e7c25f1badca2f25a3b37fcbf451f9a4ad) Thanks [@danstepanov](https://github.com/danstepanov)! - add base version of nativewindui, to be used for integrating the free components +- [`e4d108e7c25f1badca2f25a3b37fcbf451f9a4ad`](https://github.com/roninoss/rn-new/commit/e4d108e7c25f1badca2f25a3b37fcbf451f9a4ad) Thanks [@danstepanov](https://github.com/danstepanov)! - add base version of nativewindui, to be used for integrating the free components ### Patch Changes -- [`d1a265f2d90825d4ed87907628fa71e5c4bdba06`](https://github.com/roninoss/create-expo-stack/commit/d1a265f2d90825d4ed87907628fa71e5c4bdba06) Thanks [@danstepanov](https://github.com/danstepanov)! - update index in nativewindui +- [`d1a265f2d90825d4ed87907628fa71e5c4bdba06`](https://github.com/roninoss/rn-new/commit/d1a265f2d90825d4ed87907628fa71e5c4bdba06) Thanks [@danstepanov](https://github.com/danstepanov)! - update index in nativewindui ## 2.6.5 ### Patch Changes -- [#248](https://github.com/roninoss/create-expo-stack/pull/248) [`0118d1b989378168c20f58ebf532a153c87a8f98`](https://github.com/roninoss/create-expo-stack/commit/0118d1b989378168c20f58ebf532a153c87a8f98) Thanks [@YounessHassoune](https://github.com/YounessHassoune)! - update the app.json EJS template to ensure that duplicate 'plugin' keys are avoided in the final app.json file. +- [#248](https://github.com/roninoss/rn-new/pull/248) [`0118d1b989378168c20f58ebf532a153c87a8f98`](https://github.com/roninoss/rn-new/commit/0118d1b989378168c20f58ebf532a153c87a8f98) Thanks [@YounessHassoune](https://github.com/YounessHassoune)! - update the app.json EJS template to ensure that duplicate 'plugin' keys are avoided in the final app.json file. ## 2.6.4 ### Patch Changes -- [`fe4a03a`](https://github.com/roninoss/create-expo-stack/commit/fe4a03a47245e53a5c9eb5906a236d3b0258c467) Thanks [@danstepanov](https://github.com/danstepanov)! - add missing Text for tamagui template +- [`fe4a03a`](https://github.com/roninoss/rn-new/commit/fe4a03a47245e53a5c9eb5906a236d3b0258c467) Thanks [@danstepanov](https://github.com/danstepanov)! - add missing Text for tamagui template ## 2.6.3 ### Patch Changes -- [`1042dae`](https://github.com/roninoss/create-expo-stack/commit/1042dae7090e44ce778fd66e96854e2a260edae1) Thanks [@danstepanov](https://github.com/danstepanov)! - remove unused React +- [`1042dae`](https://github.com/roninoss/rn-new/commit/1042dae7090e44ce778fd66e96854e2a260edae1) Thanks [@danstepanov](https://github.com/danstepanov)! - remove unused React ## 2.6.2 ### Patch Changes -- [`7c1a2ce`](https://github.com/roninoss/create-expo-stack/commit/7c1a2cec9d11b2d42386b5dc3124b1f3e8078498) Thanks [@danstepanov](https://github.com/danstepanov)! - add forwardRef to Linked components, fix #239 +- [`7c1a2ce`](https://github.com/roninoss/rn-new/commit/7c1a2cec9d11b2d42386b5dc3124b1f3e8078498) Thanks [@danstepanov](https://github.com/danstepanov)! - add forwardRef to Linked components, fix #239 -- [`71ce545`](https://github.com/roninoss/create-expo-stack/commit/71ce545212abea93aac4a1200cd0664e3eea3e2e) Thanks [@danstepanov](https://github.com/danstepanov)! - replace View with SafeAreaView for Container component +- [`71ce545`](https://github.com/roninoss/rn-new/commit/71ce545212abea93aac4a1200cd0664e3eea3e2e) Thanks [@danstepanov](https://github.com/danstepanov)! - replace View with SafeAreaView for Container component ## 2.6.1 ### Patch Changes -- [#236](https://github.com/roninoss/create-expo-stack/pull/236) [`bc891da`](https://github.com/roninoss/create-expo-stack/commit/bc891da7673bccaa2362ae2784cae61bf0efc499) Thanks [@sammoore](https://github.com/sammoore)! - fix npm >= v7 installation due to strict peer dependency requirements of @react-native-async-storage/async-storage to react-native +- [#236](https://github.com/roninoss/rn-new/pull/236) [`bc891da`](https://github.com/roninoss/rn-new/commit/bc891da7673bccaa2362ae2784cae61bf0efc499) Thanks [@sammoore](https://github.com/sammoore)! - fix npm >= v7 installation due to strict peer dependency requirements of @react-native-async-storage/async-storage to react-native ## 2.6.0 ### Minor Changes -- [`0e95d96`](https://github.com/roninoss/create-expo-stack/commit/0e95d968be41cafb99d09ee1b1ceca4a31838a7f) Thanks [@danstepanov](https://github.com/danstepanov)! - add clack to dependencies for cli +- [`0e95d96`](https://github.com/roninoss/rn-new/commit/0e95d968be41cafb99d09ee1b1ceca4a31838a7f) Thanks [@danstepanov](https://github.com/danstepanov)! - add clack to dependencies for cli ## 2.5.2 ### Patch Changes -- [`097a6eb`](https://github.com/roninoss/create-expo-stack/commit/097a6ebeba280fa7891678e96fbfd4671f89dcd8) Thanks [@danstepanov](https://github.com/danstepanov)! - add clack to dependencies for cli +- [`097a6eb`](https://github.com/roninoss/rn-new/commit/097a6ebeba280fa7891678e96fbfd4671f89dcd8) Thanks [@danstepanov](https://github.com/danstepanov)! - add clack to dependencies for cli ## 2.5.1 ### Patch Changes -- [#231](https://github.com/roninoss/create-expo-stack/pull/231) [`9becc72`](https://github.com/roninoss/create-expo-stack/commit/9becc7271522755d93a97cf1af0cd176f59ec2c0) Thanks [@danstepanov](https://github.com/danstepanov)! - overhaul cli prompts via clack +- [#231](https://github.com/roninoss/rn-new/pull/231) [`9becc72`](https://github.com/roninoss/rn-new/commit/9becc7271522755d93a97cf1af0cd176f59ec2c0) Thanks [@danstepanov](https://github.com/danstepanov)! - overhaul cli prompts via clack ## 2.5.0 ### Minor Changes -- [#201](https://github.com/roninoss/create-expo-stack/pull/201) [`738ca1b`](https://github.com/roninoss/create-expo-stack/commit/738ca1b903392762d8fb5c872a300654d8582ba5) Thanks [@ludwig-pro](https://github.com/ludwig-pro)! - i18next for internationalization +- [#201](https://github.com/roninoss/rn-new/pull/201) [`738ca1b`](https://github.com/roninoss/rn-new/commit/738ca1b903392762d8fb5c872a300654d8582ba5) Thanks [@ludwig-pro](https://github.com/ludwig-pro)! - i18next for internationalization -- [#215](https://github.com/roninoss/create-expo-stack/pull/215) [`1995ea9`](https://github.com/roninoss/create-expo-stack/commit/1995ea9a924e123833b64775bd97e6bf52439d3d) Thanks [@ludwig-pro](https://github.com/ludwig-pro)! - Refactor the whole folder structure to reduce ejs complexity +- [#215](https://github.com/roninoss/rn-new/pull/215) [`1995ea9`](https://github.com/roninoss/rn-new/commit/1995ea9a924e123833b64775bd97e6bf52439d3d) Thanks [@ludwig-pro](https://github.com/ludwig-pro)! - Refactor the whole folder structure to reduce ejs complexity ### Patch Changes -- [#227](https://github.com/roninoss/create-expo-stack/pull/227) [`142847d`](https://github.com/roninoss/create-expo-stack/commit/142847d1eedbb93f47eb3dbc1f710f72fe362f1c) Thanks [@danstepanov](https://github.com/danstepanov)! - validate user is using bun version v1.0.14 if they are using bun, clean up package manager detection logic, add function to fetch package manager version +- [#227](https://github.com/roninoss/rn-new/pull/227) [`142847d`](https://github.com/roninoss/rn-new/commit/142847d1eedbb93f47eb3dbc1f710f72fe362f1c) Thanks [@danstepanov](https://github.com/danstepanov)! - validate user is using bun version v1.0.14 if they are using bun, clean up package manager detection logic, add function to fetch package manager version -- [#227](https://github.com/roninoss/create-expo-stack/pull/227) [`94bec4c`](https://github.com/roninoss/create-expo-stack/commit/94bec4c0b8e4c556806909b6013491d130ee7860) Thanks [@danstepanov](https://github.com/danstepanov)! - Fix formatting of generated project when using --no-install with options that result in prettier plugins needing to be installed +- [#227](https://github.com/roninoss/rn-new/pull/227) [`94bec4c`](https://github.com/roninoss/rn-new/commit/94bec4c0b8e4c556806909b6013491d130ee7860) Thanks [@danstepanov](https://github.com/danstepanov)! - Fix formatting of generated project when using --no-install with options that result in prettier plugins needing to be installed -- [#227](https://github.com/roninoss/create-expo-stack/pull/227) [`5910188`](https://github.com/roninoss/create-expo-stack/commit/5910188c60fec084690c6a18efaa191cf0ee2549) Thanks [@danstepanov](https://github.com/danstepanov)! - bump react-native to 73.6 for expo sdk 50 +- [#227](https://github.com/roninoss/rn-new/pull/227) [`5910188`](https://github.com/roninoss/rn-new/commit/5910188c60fec084690c6a18efaa191cf0ee2549) Thanks [@danstepanov](https://github.com/danstepanov)! - bump react-native to 73.6 for expo sdk 50 -- [`cfc261a`](https://github.com/roninoss/create-expo-stack/commit/cfc261a737f0545cc40caf03bfa5a1466be013ab) Thanks [@danstepanov](https://github.com/danstepanov)! - automatically update the contributor list in the README +- [`cfc261a`](https://github.com/roninoss/rn-new/commit/cfc261a737f0545cc40caf03bfa5a1466be013ab) Thanks [@danstepanov](https://github.com/danstepanov)! - automatically update the contributor list in the README -- [`a2fe5b8`](https://github.com/roninoss/create-expo-stack/commit/a2fe5b845fdc688f2c3d883d6e49f71cb2d0297e) Thanks [@danstepanov](https://github.com/danstepanov)! - add check for dir being present in file path with shared project name, enhances input validation for cli +- [`a2fe5b8`](https://github.com/roninoss/rn-new/commit/a2fe5b845fdc688f2c3d883d6e49f71cb2d0297e) Thanks [@danstepanov](https://github.com/danstepanov)! - add check for dir being present in file path with shared project name, enhances input validation for cli -- [`3ba0544`](https://github.com/roninoss/create-expo-stack/commit/3ba0544cc9fc2cfc76f66015591e98c7cc5690ef) Thanks [@danstepanov](https://github.com/danstepanov)! - remove project files on throw, fix project name validation +- [`3ba0544`](https://github.com/roninoss/rn-new/commit/3ba0544cc9fc2cfc76f66015591e98c7cc5690ef) Thanks [@danstepanov](https://github.com/danstepanov)! - remove project files on throw, fix project name validation ## 2.4.3 ### Patch Changes -- [#208](https://github.com/roninoss/create-expo-stack/pull/208) [`e841ea5`](https://github.com/roninoss/create-expo-stack/commit/e841ea519620294dd233d5bafea15dbfc013aff0) Thanks [@ludwig-pro](https://github.com/ludwig-pro)! - Bump react-native to 0.73.4 +- [#208](https://github.com/roninoss/rn-new/pull/208) [`e841ea5`](https://github.com/roninoss/rn-new/commit/e841ea519620294dd233d5bafea15dbfc013aff0) Thanks [@ludwig-pro](https://github.com/ludwig-pro)! - Bump react-native to 0.73.4 -- [#207](https://github.com/roninoss/create-expo-stack/pull/207) [`3287a3c`](https://github.com/roninoss/create-expo-stack/commit/3287a3c7c99eafeb55938be9570e532368af22f5) Thanks [@ludwig-pro](https://github.com/ludwig-pro)! - update the gitignore file +- [#207](https://github.com/roninoss/rn-new/pull/207) [`3287a3c`](https://github.com/roninoss/rn-new/commit/3287a3c7c99eafeb55938be9570e532368af22f5) Thanks [@ludwig-pro](https://github.com/ludwig-pro)! - update the gitignore file ## 2.4.2 ### Patch Changes -- [`1b0be18`](https://github.com/roninoss/create-expo-stack/commit/1b0be18f7b7982be5c115364059ae6dd792dde98) Thanks [@danstepanov](https://github.com/danstepanov)! - bump to expo 50.0.5 +- [`1b0be18`](https://github.com/roninoss/rn-new/commit/1b0be18f7b7982be5c115364059ae6dd792dde98) Thanks [@danstepanov](https://github.com/danstepanov)! - bump to expo 50.0.5 -- [`bc25b99`](https://github.com/roninoss/create-expo-stack/commit/bc25b9951f22543e77a2c98f1e220448c8fc0cbc) Thanks [@danstepanov](https://github.com/danstepanov)! - fix tamagui navigation templates missing imports for unmatched route +- [`bc25b99`](https://github.com/roninoss/rn-new/commit/bc25b9951f22543e77a2c98f1e220448c8fc0cbc) Thanks [@danstepanov](https://github.com/danstepanov)! - fix tamagui navigation templates missing imports for unmatched route -- [#195](https://github.com/roninoss/create-expo-stack/pull/195) [`ed2e92f`](https://github.com/roninoss/create-expo-stack/commit/ed2e92fb3f7a670845a775aab7c534205cf6560a) Thanks [@frankcalise](https://github.com/frankcalise)! - Ignite project names accept kebab case, forced PascalCase conversion has been removed +- [#195](https://github.com/roninoss/rn-new/pull/195) [`ed2e92f`](https://github.com/roninoss/rn-new/commit/ed2e92fb3f7a670845a775aab7c534205cf6560a) Thanks [@frankcalise](https://github.com/frankcalise)! - Ignite project names accept kebab case, forced PascalCase conversion has been removed ## 2.4.1 ### Patch Changes -- [`9242c21`](https://github.com/roninoss/create-expo-stack/commit/9242c210f8c76e96ee9aadf4883f04dd2b88fdc5) Thanks [@danstepanov](https://github.com/danstepanov)! - add EditScreenInfo to drawer + tabs templates +- [`9242c21`](https://github.com/roninoss/rn-new/commit/9242c210f8c76e96ee9aadf4883f04dd2b88fdc5) Thanks [@danstepanov](https://github.com/danstepanov)! - add EditScreenInfo to drawer + tabs templates ## 2.4.0 ### Minor Changes -- [#193](https://github.com/roninoss/create-expo-stack/pull/193) [`50650ac`](https://github.com/roninoss/create-expo-stack/commit/50650aceffc31b89ceced2f7866f51f4a2561846) Thanks [@frankcalise](https://github.com/frankcalise)! - Expo SDK 50, expo-router v3, NativeWind v4 +- [#193](https://github.com/roninoss/rn-new/pull/193) [`50650ac`](https://github.com/roninoss/rn-new/commit/50650aceffc31b89ceced2f7866f51f4a2561846) Thanks [@frankcalise](https://github.com/frankcalise)! - Expo SDK 50, expo-router v3, NativeWind v4 -- [#189](https://github.com/roninoss/create-expo-stack/pull/189) [`8681c0a`](https://github.com/roninoss/create-expo-stack/commit/8681c0a8a0d691d0c301ef677e10b1cfc0dffa43) Thanks [@coyksdev](https://github.com/coyksdev)! - Setup Unistyles theme +- [#189](https://github.com/roninoss/rn-new/pull/189) [`8681c0a`](https://github.com/roninoss/rn-new/commit/8681c0a8a0d691d0c301ef677e10b1cfc0dffa43) Thanks [@coyksdev](https://github.com/coyksdev)! - Setup Unistyles theme -- [#167](https://github.com/roninoss/create-expo-stack/pull/167) [`17776d2`](https://github.com/roninoss/create-expo-stack/commit/17776d28db240164694088dbdc17520cfe6894cd) Thanks [@ludwig-pro](https://github.com/ludwig-pro)! - Add restyle as styling option +- [#167](https://github.com/roninoss/rn-new/pull/167) [`17776d2`](https://github.com/roninoss/rn-new/commit/17776d28db240164694088dbdc17520cfe6894cd) Thanks [@ludwig-pro](https://github.com/ludwig-pro)! - Add restyle as styling option -- [#181](https://github.com/roninoss/create-expo-stack/pull/181) [`a38e81a`](https://github.com/roninoss/create-expo-stack/commit/a38e81aca2ec891e5baf31953a908b433efecb51) Thanks [@coyksdev](https://github.com/coyksdev)! - Added react-native-unistyles template +- [#181](https://github.com/roninoss/rn-new/pull/181) [`a38e81a`](https://github.com/roninoss/rn-new/commit/a38e81aca2ec891e5baf31953a908b433efecb51) Thanks [@coyksdev](https://github.com/coyksdev)! - Added react-native-unistyles template ### Patch Changes -- [#192](https://github.com/roninoss/create-expo-stack/pull/192) [`507532b`](https://github.com/roninoss/create-expo-stack/commit/507532b0f5ad2947427b810c064606e4fa7de28b) Thanks [@asapMaki](https://github.com/asapMaki)! - Drawer+Tabs react navigation optio: Fix typescript +- [#192](https://github.com/roninoss/rn-new/pull/192) [`507532b`](https://github.com/roninoss/rn-new/commit/507532b0f5ad2947427b810c064606e4fa7de28b) Thanks [@asapMaki](https://github.com/asapMaki)! - Drawer+Tabs react navigation optio: Fix typescript -- [#159](https://github.com/roninoss/create-expo-stack/pull/159) [`2c00bdf`](https://github.com/roninoss/create-expo-stack/commit/2c00bdfe7635c765ddf949d6db3260f9a96c190a) Thanks [@asapMaki](https://github.com/asapMaki)! - replace drawer templates with drawer+tabs templates +- [#159](https://github.com/roninoss/rn-new/pull/159) [`2c00bdf`](https://github.com/roninoss/rn-new/commit/2c00bdfe7635c765ddf949d6db3260f9a96c190a) Thanks [@asapMaki](https://github.com/asapMaki)! - replace drawer templates with drawer+tabs templates ## 2.3.15 ### Patch Changes -- [#178](https://github.com/roninoss/create-expo-stack/pull/178) [`3061323`](https://github.com/roninoss/create-expo-stack/commit/306132315c87114924735fda53b359a729acafb8) Thanks [@finnbayer](https://github.com/finnbayer)! - added resolution/override for expo-modules-core to expo-router template +- [#178](https://github.com/roninoss/rn-new/pull/178) [`3061323`](https://github.com/roninoss/rn-new/commit/306132315c87114924735fda53b359a729acafb8) Thanks [@finnbayer](https://github.com/finnbayer)! - added resolution/override for expo-modules-core to expo-router template ## 2.3.14 ### Patch Changes -- [`91249e0`](https://github.com/roninoss/create-expo-stack/commit/91249e0f303495436588107f5bdc2ec276832bd8) Thanks [@danstepanov](https://github.com/danstepanov)! - allow proper setting of import alias +- [`91249e0`](https://github.com/roninoss/rn-new/commit/91249e0f303495436588107f5bdc2ec276832bd8) Thanks [@danstepanov](https://github.com/danstepanov)! - allow proper setting of import alias ## 2.3.13 ### Patch Changes -- [`ae59661`](https://github.com/roninoss/create-expo-stack/commit/ae596617a1290f83c27cab7c723fe003f26aca97) Thanks [@danstepanov](https://github.com/danstepanov)! - add missing brackets to unmatched route file for expo router +- [`ae59661`](https://github.com/roninoss/rn-new/commit/ae596617a1290f83c27cab7c723fe003f26aca97) Thanks [@danstepanov](https://github.com/danstepanov)! - add missing brackets to unmatched route file for expo router ## 2.3.12 ### Patch Changes -- [`5199dce`](https://github.com/roninoss/create-expo-stack/commit/5199dce7f159f9d03081fae48f15ea72e8818864) Thanks [@danstepanov](https://github.com/danstepanov)! - rename app.d.ts to app-env.d.ts to ensure that nativewind className property is supported per instruction from Mark Lawlor +- [`5199dce`](https://github.com/roninoss/rn-new/commit/5199dce7f159f9d03081fae48f15ea72e8818864) Thanks [@danstepanov](https://github.com/danstepanov)! - rename app.d.ts to app-env.d.ts to ensure that nativewind className property is supported per instruction from Mark Lawlor -- [`f29a265`](https://github.com/roninoss/create-expo-stack/commit/f29a265f697636ea57bed092bed10f59d5792667) Thanks [@danstepanov](https://github.com/danstepanov)! - add missing route and html file for expo router templates +- [`f29a265`](https://github.com/roninoss/rn-new/commit/f29a265f697636ea57bed092bed10f59d5792667) Thanks [@danstepanov](https://github.com/danstepanov)! - add missing route and html file for expo router templates -- [`49550e7`](https://github.com/roninoss/create-expo-stack/commit/49550e7026a1b87ddb00bf94aada6047dcd509d7) Thanks [@gwenoleR](https://github.com/gwenoleR)! - Tamagui : Change Text to `SizableText` and `H1` on Tamagui config to apply default style +- [`49550e7`](https://github.com/roninoss/rn-new/commit/49550e7026a1b87ddb00bf94aada6047dcd509d7) Thanks [@gwenoleR](https://github.com/gwenoleR)! - Tamagui : Change Text to `SizableText` and `H1` on Tamagui config to apply default style Tamagui - Expo Router : Load font on \_layout to apply them on all app @@ -488,125 +488,125 @@ ### Patch Changes -- [`8729fc3`](https://github.com/roninoss/create-expo-stack/commit/8729fc320b1c7cf7eca89ff5f6523bef4c5299cd) Thanks [@danstepanov](https://github.com/danstepanov)! - remove experimental flag from expo router +- [`8729fc3`](https://github.com/roninoss/rn-new/commit/8729fc320b1c7cf7eca89ff5f6523bef4c5299cd) Thanks [@danstepanov](https://github.com/danstepanov)! - remove experimental flag from expo router -- [`8729fc3`](https://github.com/roninoss/create-expo-stack/commit/8729fc320b1c7cf7eca89ff5f6523bef4c5299cd) Thanks [@danstepanov](https://github.com/danstepanov)! - move stack screen option configuration to screen level rather than parent layout level +- [`8729fc3`](https://github.com/roninoss/rn-new/commit/8729fc320b1c7cf7eca89ff5f6523bef4c5299cd) Thanks [@danstepanov](https://github.com/danstepanov)! - move stack screen option configuration to screen level rather than parent layout level ## 2.3.10 ### Patch Changes -- [`0587729`](https://github.com/roninoss/create-expo-stack/commit/0587729836efae3e1713cfb610cd473a6bf0fbf7) Thanks [@danstepanov](https://github.com/danstepanov)! - support kebab case for cli flags such as --no-install and --no-git, migrate tests to use kebab case, expand test coverage to ensure flags are working properly +- [`0587729`](https://github.com/roninoss/rn-new/commit/0587729836efae3e1713cfb610cd473a6bf0fbf7) Thanks [@danstepanov](https://github.com/danstepanov)! - support kebab case for cli flags such as --no-install and --no-git, migrate tests to use kebab case, expand test coverage to ensure flags are working properly ## 2.3.9 ### Patch Changes -- [#145](https://github.com/roninoss/create-expo-stack/pull/145) [`f7cfd23`](https://github.com/roninoss/create-expo-stack/commit/f7cfd23ca97172e855a32b60b65816563ce2568f) Thanks [@frankcalise](https://github.com/frankcalise)! - Fixes hot refresh when using yarn with expo-router +- [#145](https://github.com/roninoss/rn-new/pull/145) [`f7cfd23`](https://github.com/roninoss/rn-new/commit/f7cfd23ca97172e855a32b60b65816563ce2568f) Thanks [@frankcalise](https://github.com/frankcalise)! - Fixes hot refresh when using yarn with expo-router ## 2.3.8 ### Patch Changes -- [#129](https://github.com/roninoss/create-expo-stack/pull/129) [`278eefc`](https://github.com/roninoss/create-expo-stack/commit/278eefc65ab964f69f5a9cd65d7f4c357df706b2) Thanks [@sammoore](https://github.com/sammoore)! - refactor(commands): get projectName before branching off into CLI +- [#129](https://github.com/roninoss/rn-new/pull/129) [`278eefc`](https://github.com/roninoss/rn-new/commit/278eefc65ab964f69f5a9cd65d7f4c357df706b2) Thanks [@sammoore](https://github.com/sammoore)! - refactor(commands): get projectName before branching off into CLI -- [#140](https://github.com/roninoss/create-expo-stack/pull/140) [`283dab2`](https://github.com/roninoss/create-expo-stack/commit/283dab2aec8274606e1965b2effed6d1e2873113) Thanks [@sammoore](https://github.com/sammoore)! - feat: add --overwrite flag to ignore an existing directory +- [#140](https://github.com/roninoss/rn-new/pull/140) [`283dab2`](https://github.com/roninoss/rn-new/commit/283dab2aec8274606e1965b2effed6d1e2873113) Thanks [@sammoore](https://github.com/sammoore)! - feat: add --overwrite flag to ignore an existing directory -- [#139](https://github.com/roninoss/create-expo-stack/pull/139) [`88fd2be`](https://github.com/roninoss/create-expo-stack/commit/88fd2be29c78c0066e0c5bfa2905b08e4875cde2) Thanks [@sammoore](https://github.com/sammoore)! - fix: prompt/interaction causes immediate failure/exit after existsAsync check +- [#139](https://github.com/roninoss/rn-new/pull/139) [`88fd2be`](https://github.com/roninoss/rn-new/commit/88fd2be29c78c0066e0c5bfa2905b08e4875cde2) Thanks [@sammoore](https://github.com/sammoore)! - fix: prompt/interaction causes immediate failure/exit after existsAsync check -- [#141](https://github.com/roninoss/create-expo-stack/pull/141) [`667abf1`](https://github.com/roninoss/create-expo-stack/commit/667abf12741aa55ca450acf3ec86544965a9244d) Thanks [@sammoore](https://github.com/sammoore)! - fix: successfully exit interactive CLI when user cancels/exits with interrupt +- [#141](https://github.com/roninoss/rn-new/pull/141) [`667abf1`](https://github.com/roninoss/rn-new/commit/667abf12741aa55ca450acf3ec86544965a9244d) Thanks [@sammoore](https://github.com/sammoore)! - fix: successfully exit interactive CLI when user cancels/exits with interrupt -- [#139](https://github.com/roninoss/create-expo-stack/pull/139) [`0728ea9`](https://github.com/roninoss/create-expo-stack/commit/0728ea969e271456a5e8999432717e2e4aeaf78b) Thanks [@sammoore](https://github.com/sammoore)! - fix: do not ask to remove existing directory when non-interactive +- [#139](https://github.com/roninoss/rn-new/pull/139) [`0728ea9`](https://github.com/roninoss/rn-new/commit/0728ea969e271456a5e8999432717e2e4aeaf78b) Thanks [@sammoore](https://github.com/sammoore)! - fix: do not ask to remove existing directory when non-interactive -- [#137](https://github.com/roninoss/create-expo-stack/pull/137) [`1ba99e8`](https://github.com/roninoss/create-expo-stack/commit/1ba99e8c5fbad5ba0154fd063b703b6ba90ddc73) Thanks [@sammoore](https://github.com/sammoore)! - feat: re-throw error on exit to indicate execution failure, show error diagnostics +- [#137](https://github.com/roninoss/rn-new/pull/137) [`1ba99e8`](https://github.com/roninoss/rn-new/commit/1ba99e8c5fbad5ba0154fd063b703b6ba90ddc73) Thanks [@sammoore](https://github.com/sammoore)! - feat: re-throw error on exit to indicate execution failure, show error diagnostics ## 2.3.7 ### Patch Changes -- [#133](https://github.com/roninoss/create-expo-stack/pull/133) [`263009a`](https://github.com/roninoss/create-expo-stack/commit/263009a0898de9fbb0215c3c9e92b9496647218d) Thanks [@finnbayer](https://github.com/finnbayer)! - added .env to .gitignore when firebase or supabase is used +- [#133](https://github.com/roninoss/rn-new/pull/133) [`263009a`](https://github.com/roninoss/rn-new/commit/263009a0898de9fbb0215c3c9e92b9496647218d) Thanks [@finnbayer](https://github.com/finnbayer)! - added .env to .gitignore when firebase or supabase is used -- [`3a8c3a9`](https://github.com/roninoss/create-expo-stack/commit/3a8c3a98a73ecd906af01480c94f7702dda5d506) Thanks [@danstepanov](https://github.com/danstepanov)! - check if pwd already contains folder with set project name, offer to delete if so +- [`3a8c3a9`](https://github.com/roninoss/rn-new/commit/3a8c3a98a73ecd906af01480c94f7702dda5d506) Thanks [@danstepanov](https://github.com/danstepanov)! - check if pwd already contains folder with set project name, offer to delete if so -- [#130](https://github.com/roninoss/create-expo-stack/pull/130) [`6bb80a7`](https://github.com/roninoss/create-expo-stack/commit/6bb80a768c560c80f94d17b2ff3d839edf7f985e) Thanks [@finnbayer](https://github.com/finnbayer)! - changed metro.config.js to ejs to take expo-router into account +- [#130](https://github.com/roninoss/rn-new/pull/130) [`6bb80a7`](https://github.com/roninoss/rn-new/commit/6bb80a768c560c80f94d17b2ff3d839edf7f985e) Thanks [@finnbayer](https://github.com/finnbayer)! - changed metro.config.js to ejs to take expo-router into account -- [#132](https://github.com/roninoss/create-expo-stack/pull/132) [`9335094`](https://github.com/roninoss/create-expo-stack/commit/93350940659ea144838ae8bbbffda07726edda70) Thanks [@finnbayer](https://github.com/finnbayer)! - moved the addition of the project name to the target to the end to avoid incorrect replacements +- [#132](https://github.com/roninoss/rn-new/pull/132) [`9335094`](https://github.com/roninoss/rn-new/commit/93350940659ea144838ae8bbbffda07726edda70) Thanks [@finnbayer](https://github.com/finnbayer)! - moved the addition of the project name to the target to the end to avoid incorrect replacements ## 2.3.6 ### Patch Changes -- [#120](https://github.com/roninoss/create-expo-stack/pull/120) [`dc14b3d`](https://github.com/roninoss/create-expo-stack/commit/dc14b3d3d0f611b4c0493782b9e98f60aed983e4) Thanks [@gialencar](https://github.com/gialencar)! - Fix mismatching RootStackParamList type definition for DrawerNavigator +- [#120](https://github.com/roninoss/rn-new/pull/120) [`dc14b3d`](https://github.com/roninoss/rn-new/commit/dc14b3d3d0f611b4c0493782b9e98f60aed983e4) Thanks [@gialencar](https://github.com/gialencar)! - Fix mismatching RootStackParamList type definition for DrawerNavigator ## 2.3.5 ### Patch Changes -- [#116](https://github.com/roninoss/create-expo-stack/pull/116) [`00e8846`](https://github.com/roninoss/create-expo-stack/commit/00e884666ca682c0d9a4ad3dc816588dc494c3db) Thanks [@danstepanov](https://github.com/danstepanov)! - only show package manager of choice if user selected one, for non-interactive mode +- [#116](https://github.com/roninoss/rn-new/pull/116) [`00e8846`](https://github.com/roninoss/rn-new/commit/00e884666ca682c0d9a4ad3dc816588dc494c3db) Thanks [@danstepanov](https://github.com/danstepanov)! - only show package manager of choice if user selected one, for non-interactive mode -- [#116](https://github.com/roninoss/create-expo-stack/pull/116) [`1e24623`](https://github.com/roninoss/create-expo-stack/commit/1e2462324775c5e3132b76de41305085726716ff) Thanks [@danstepanov](https://github.com/danstepanov)! - address package manager undefined issues +- [#116](https://github.com/roninoss/rn-new/pull/116) [`1e24623`](https://github.com/roninoss/rn-new/commit/1e2462324775c5e3132b76de41305085726716ff) Thanks [@danstepanov](https://github.com/danstepanov)! - address package manager undefined issues ## 2.3.4 ### Patch Changes -- [#114](https://github.com/roninoss/create-expo-stack/pull/114) [`8bf2016`](https://github.com/roninoss/create-expo-stack/commit/8bf2016e9758dc26bfc004eada03a6120ac6be41) Thanks [@danstepanov](https://github.com/danstepanov)! - only show package manager of choice if user selected one, for non-interactive mode +- [#114](https://github.com/roninoss/rn-new/pull/114) [`8bf2016`](https://github.com/roninoss/rn-new/commit/8bf2016e9758dc26bfc004eada03a6120ac6be41) Thanks [@danstepanov](https://github.com/danstepanov)! - only show package manager of choice if user selected one, for non-interactive mode -- [#114](https://github.com/roninoss/create-expo-stack/pull/114) [`2be9ec7`](https://github.com/roninoss/create-expo-stack/commit/2be9ec7b16d6460d550fc1a2c39272bd3267b202) Thanks [@danstepanov](https://github.com/danstepanov)! - address package manager undefined issues +- [#114](https://github.com/roninoss/rn-new/pull/114) [`2be9ec7`](https://github.com/roninoss/rn-new/commit/2be9ec7b16d6460d550fc1a2c39272bd3267b202) Thanks [@danstepanov](https://github.com/danstepanov)! - address package manager undefined issues ## 2.3.3 ### Patch Changes -- [`49df44d`](https://github.com/roninoss/create-expo-stack/commit/49df44d8b9fe067d684e6eca96258af41e0fa881) Thanks [@danstepanov](https://github.com/danstepanov)! - ensure installation uses the desired packageManager +- [`49df44d`](https://github.com/roninoss/rn-new/commit/49df44d8b9fe067d684e6eca96258af41e0fa881) Thanks [@danstepanov](https://github.com/danstepanov)! - ensure installation uses the desired packageManager ## 2.3.2 ### Patch Changes -- [`93015ea`](https://github.com/roninoss/create-expo-stack/commit/93015eaad5c608683f77cf24445757d1f426e6f9) Thanks [@danstepanov](https://github.com/danstepanov)! - add package manager prompt to CLI +- [`93015ea`](https://github.com/roninoss/rn-new/commit/93015eaad5c608683f77cf24445757d1f426e6f9) Thanks [@danstepanov](https://github.com/danstepanov)! - add package manager prompt to CLI ## 2.3.1 ### Patch Changes -- [`cda57ac`](https://github.com/roninoss/create-expo-stack/commit/cda57ac663a390648b4f20f5a77113e99a07e39c) Thanks [@danstepanov](https://github.com/danstepanov)! - set default boolean values for cli flags, add stylesheet as default styling package if no styling package is passed in to non-interactive mode +- [`cda57ac`](https://github.com/roninoss/rn-new/commit/cda57ac663a390648b4f20f5a77113e99a07e39c) Thanks [@danstepanov](https://github.com/danstepanov)! - set default boolean values for cli flags, add stylesheet as default styling package if no styling package is passed in to non-interactive mode ## 2.3.0 ### Minor Changes -- [#80](https://github.com/roninoss/create-expo-stack/pull/80) [`001fff8`](https://github.com/roninoss/create-expo-stack/commit/001fff8f501cd0b0aa557da607f481f9b4320eec) Thanks [@frankcalise](https://github.com/frankcalise)! - Adds `--importAlias` to enable TS path aliases +- [#80](https://github.com/roninoss/rn-new/pull/80) [`001fff8`](https://github.com/roninoss/rn-new/commit/001fff8f501cd0b0aa557da607f481f9b4320eec) Thanks [@frankcalise](https://github.com/frankcalise)! - Adds `--importAlias` to enable TS path aliases ### Patch Changes -- [#83](https://github.com/roninoss/create-expo-stack/pull/83) [`fb044c8`](https://github.com/roninoss/create-expo-stack/commit/fb044c810fdd91efb4dde52e787e1f2434d43509) Thanks [@sammoore](https://github.com/sammoore)! - Support a wider variety of shells in generated package.json run-scripts by using double-quotes around glob arguments. Courtesy of Gaurav Bhandari (@kratos-respawned) +- [#83](https://github.com/roninoss/rn-new/pull/83) [`fb044c8`](https://github.com/roninoss/rn-new/commit/fb044c810fdd91efb4dde52e787e1f2434d43509) Thanks [@sammoore](https://github.com/sammoore)! - Support a wider variety of shells in generated package.json run-scripts by using double-quotes around glob arguments. Courtesy of Gaurav Bhandari (@kratos-respawned) ## 2.2.15 ### Patch Changes -- [#77](https://github.com/roninoss/create-expo-stack/pull/77) [`29c81ce`](https://github.com/roninoss/create-expo-stack/commit/29c81ce83c7eec42945930b7c7e140f6f03d7646) Thanks [@frankcalise](https://github.com/frankcalise)! - Removed duplicate import during expo-router tabs configuration +- [#77](https://github.com/roninoss/rn-new/pull/77) [`29c81ce`](https://github.com/roninoss/rn-new/commit/29c81ce83c7eec42945930b7c7e140f6f03d7646) Thanks [@frankcalise](https://github.com/frankcalise)! - Removed duplicate import during expo-router tabs configuration -- [#75](https://github.com/roninoss/create-expo-stack/pull/75) [`5d2ae5c`](https://github.com/roninoss/create-expo-stack/commit/5d2ae5c7b29fc008f465e5c9282fa90dfa0cb4fe) Thanks [@sammoore](https://github.com/sammoore)! - Remove DOM typescript lib from cli/tsconfig.json +- [#75](https://github.com/roninoss/rn-new/pull/75) [`5d2ae5c`](https://github.com/roninoss/rn-new/commit/5d2ae5c7b29fc008f465e5c9282fa90dfa0cb4fe) Thanks [@sammoore](https://github.com/sammoore)! - Remove DOM typescript lib from cli/tsconfig.json -- [#75](https://github.com/roninoss/create-expo-stack/pull/75) [`8e90e59`](https://github.com/roninoss/create-expo-stack/commit/8e90e59be41f06d4f9a98e9380cb796814530967) Thanks [@sammoore](https://github.com/sammoore)! - Update bun/bun-types to 1.0.14 +- [#75](https://github.com/roninoss/rn-new/pull/75) [`8e90e59`](https://github.com/roninoss/rn-new/commit/8e90e59be41f06d4f9a98e9380cb796814530967) Thanks [@sammoore](https://github.com/sammoore)! - Update bun/bun-types to 1.0.14 -- [#74](https://github.com/roninoss/create-expo-stack/pull/74) [`188107a`](https://github.com/roninoss/create-expo-stack/commit/188107a7edc91516a1ad07489576ac9d067fc1d4) Thanks [@sammoore](https://github.com/sammoore)! - fix .changeset/config.json ignore to refer to (valid) non-cli subprojects +- [#74](https://github.com/roninoss/rn-new/pull/74) [`188107a`](https://github.com/roninoss/rn-new/commit/188107a7edc91516a1ad07489576ac9d067fc1d4) Thanks [@sammoore](https://github.com/sammoore)! - fix .changeset/config.json ignore to refer to (valid) non-cli subprojects ## 2.2.14 ### Patch Changes -- [`026b97e`](https://github.com/roninoss/create-expo-stack/commit/026b97ee02f370ee1ee10dad9877b540a3c623d7) Thanks [@danstepanov](https://github.com/danstepanov)! - - symlink README +- [`026b97e`](https://github.com/roninoss/rn-new/commit/026b97ee02f370ee1ee10dad9877b540a3c623d7) Thanks [@danstepanov](https://github.com/danstepanov)! - - symlink README - add shortlink for discord - update contributors - add header labels and descriptor to README - fix styling package issues -- [`90df237`](https://github.com/roninoss/create-expo-stack/commit/90df237e8a53696229e70afebf7d1107e51582cc) Thanks [@danstepanov](https://github.com/danstepanov)! - remove superfluous EJS end brackets +- [`90df237`](https://github.com/roninoss/rn-new/commit/90df237e8a53696229e70afebf7d1107e51582cc) Thanks [@danstepanov](https://github.com/danstepanov)! - remove superfluous EJS end brackets -- [`b9e4d0a`](https://github.com/roninoss/create-expo-stack/commit/b9e4d0a279aa0697468344fbe443b024aaba04f4) Thanks [@danstepanov](https://github.com/danstepanov)! - remove frozen lockfile from beta release channel +- [`b9e4d0a`](https://github.com/roninoss/rn-new/commit/b9e4d0a279aa0697468344fbe443b024aaba04f4) Thanks [@danstepanov](https://github.com/danstepanov)! - remove frozen lockfile from beta release channel -- [`4f73965`](https://github.com/roninoss/create-expo-stack/commit/4f73965d834e38b0fba22040171fdb42312c3683) Thanks [@danstepanov](https://github.com/danstepanov)! - add changesets/changelog-github +- [`4f73965`](https://github.com/roninoss/rn-new/commit/4f73965d834e38b0fba22040171fdb42312c3683) Thanks [@danstepanov](https://github.com/danstepanov)! - add changesets/changelog-github diff --git a/cli/README.md b/cli/README.md index ba854a95..3b7bdbe7 100644 --- a/cli/README.md +++ b/cli/README.md @@ -1,4 +1,4 @@ -# Create Expo Stack CLI +# rn.new CLI [![Discord](https://img.shields.io/discord/1173879003191459860?color=%235865F2&label=Discord&logo=discord&logoColor=%23fff)](https://expostack.dev/discord) [![NPM version][npm-image]][npm-url] @@ -9,10 +9,10 @@

- Get started by running npx create-expo-stack@latest + Get started by running npx rn-new@latest

- πŸŽ‰ Over 50k Expo projects generated using CES! πŸŽ‰ + πŸŽ‰ Over 50k Expo projects generated using rn.new! πŸŽ‰ ## Sponsors @@ -47,15 +47,15 @@ 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@latest` +`npx rn-new@latest` - + ## Tech Stack for the templates -Currently, all of the [templates](https://github.com/roninoss/create-expo-stack/tree/main/cli/src/templates) use the same versions of the following libraries. Not all of the templates include all of the libraries, but they are all available for use. +Currently, all of the [templates](https://github.com/roninoss/rn-new/tree/main/cli/src/templates) use the same versions of the following libraries. Not all of the templates include all of the libraries, but they are all available for use. -Each project is generated based on the results of the CLI, on a per-file basis. This approach makes this CLI extremely extendable and easy to use. Common files to all generated projects are stored in the [base template folder](https://github.com/roninoss/create-expo-stack/tree/main/cli/src/templates/base) while files pertaining to additional packages are stored in the [packages template folder](https://github.com/roninoss/create-expo-stack/tree/main/cli/src/templates/packages). Beyond adding files, this project makes use of [EJS](https://ejs.co/) in order to manipulate existing files as necessary. +Each project is generated based on the results of the CLI, on a per-file basis. This approach makes this CLI extremely extendable and easy to use. Common files to all generated projects are stored in the [base template folder](https://github.com/roninoss/rn-new/tree/main/cli/src/templates/base) while files pertaining to additional packages are stored in the [packages template folder](https://github.com/roninoss/rn-new/tree/main/cli/src/templates/packages). Beyond adding files, this project makes use of [EJS](https://ejs.co/) in order to manipulate existing files as necessary. | Library | Category | Version | Description | | ------------------ | ------------------- | ------- | ---------------------------------------------- | @@ -86,7 +86,7 @@ If you run into problems or have feedback, first search the issues and discussio ## Contributing -### [See this guide.](https://github.com/roninoss/create-expo-stack/blob/main/contributing.md) +### [See this guide.](https://github.com/roninoss/rn-new/blob/main/contributing.md) Contributions are welcome! Please open a pull request or an issue if you would like to contribute. There are existing feature requests labeled as `[FR]` in the issues section of this repo. @@ -378,6 +378,6 @@ Thanks go to these wonderful people: -[downloads-image]: https://img.shields.io/npm/dm/create-expo-stack?color=364fc7&logoColor=364fc7 -[npm-url]: https://www.npmjs.com/package/create-expo-stack -[npm-image]: https://img.shields.io/npm/v/create-expo-stack?color=0b7285&logoColor=0b7285 +[downloads-image]: https://img.shields.io/npm/dm/rn-new?color=364fc7&logoColor=364fc7 +[npm-url]: https://www.npmjs.com/package/rn-new +[npm-image]: https://img.shields.io/npm/v/rn-new?color=0b7285&logoColor=0b7285 diff --git a/cli/__tests__/cli-integration.test.ts b/cli/__tests__/cli-integration.test.ts index 3e0a42d8..157c9844 100644 --- a/cli/__tests__/cli-integration.test.ts +++ b/cli/__tests__/cli-integration.test.ts @@ -8,7 +8,7 @@ import * as path from 'node:path'; type InputFlag = `--${string}`; const cli = async (inputs: string[]) => { - const pathToFile = `${path.join(__dirname, '../', 'bin', 'create-expo-stack.js')}`; + const pathToFile = `${path.join(__dirname, '../', 'bin', 'rn-new.js')}`; console.log('running', `bun ${pathToFile} ${inputs.join(' ')}`); @@ -129,16 +129,16 @@ for (const packageManager of packageManagers) { expect(pkgJsonWithoutVersions).toMatchSnapshot(`${finalFlags.join(', ')}-package-json`); - const cesconfig = await import(`${pathToProject}/cesconfig.json`); + const rnNewConfig = await import(`${pathToProject}/rn-new-config.json`); - const cesconfigWithoutOS = { - ...cesconfig.default, - cesVersion: undefined, + const rnNewConfigWithoutOS = { + ...rnNewConfig.default, + rnNewVersion: undefined, os: {}, - packageManager: { ...cesconfig.default.packageManager, version: undefined } + packageManager: { ...rnNewConfig.default.packageManager, version: undefined } }; - expect(cesconfigWithoutOS).toMatchSnapshot(`${finalFlags.join(', ')}-ces-config-json`); + expect(rnNewConfigWithoutOS).toMatchSnapshot(`${finalFlags.join(', ')}-rn-new-config.json`); const fileList = await Bun.$`find ./${projectName} -not -path "./${projectName}/node_modules*" -not -path "./${projectName}/.git*" | sort`.text(); diff --git a/cli/bin/create-expo-stack.js b/cli/bin/rn-new.js similarity index 100% rename from cli/bin/create-expo-stack.js rename to cli/bin/rn-new.js diff --git a/cli/package.json b/cli/package.json index 845a106a..cb8e6887 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,17 +1,17 @@ { - "name": "create-expo-stack", + "name": "rn-new", "version": "2.11.24", "description": "CLI tool to initialize a React Native application with Expo", "repository": { "type": "git", - "url": "https://github.com/roninoss/create-expo-stack.git", + "url": "https://github.com/roninoss/rn-new.git", "directory": "cli" }, "homepage": "https://rn.new", "license": "MIT", "types": "build/types/types.d.ts", "bin": { - "create-expo-stack": "bin/create-expo-stack.js" + "rn-new": "bin/rn-new.js" }, "files": [ "build", @@ -26,7 +26,7 @@ "clean-build": "rm -rf ./build", "compile": "tsc -p .", "copy-templates": "bun run copyfiles -u 2 -a \"./src/templates/**/*\" ./build/templates", - "dev": "bun run build && NODE_ENV=development bun run bin/create-expo-stack.js", + "dev": "bun run build && NODE_ENV=development bun run bin/rn-new.js", "format": "eslint \"**/*.{js,jsx,ts,tsx}\" --fix --resolve-plugins-relative-to . && prettier \"**/*.{js,jsx,ts,tsx,json}\" --write", "lint-templates": "bun run ejslint ./src/templates", "prepublishOnly": "bun run build", diff --git a/cli/src/cli.ts b/cli/src/cli.ts index 38982554..87af3583 100644 --- a/cli/src/cli.ts +++ b/cli/src/cli.ts @@ -7,10 +7,10 @@ export async function run() { const argv = process.env.argv; // create a CLI runtime const cli = build() - .brand('create-expo-stack') + .brand('rn-new') .src(__dirname) .plugins('./node_modules', { - matching: 'create-expo-stack-*', + matching: 'rn-new-*', hidden: true }) .version() // provides default for version, v, --version, -v diff --git a/cli/src/commands/create-expo-stack.ts b/cli/src/commands/rn-new.ts similarity index 98% rename from cli/src/commands/create-expo-stack.ts rename to cli/src/commands/rn-new.ts index 16e14522..0015053e 100644 --- a/cli/src/commands/create-expo-stack.ts +++ b/cli/src/commands/rn-new.ts @@ -26,7 +26,7 @@ import { cancel, intro, isCancel, text } from '@clack/prompts'; import clearNavigationPackages from '../utilities/clearNavigationPackages'; const command: GluegunCommand = { - name: 'create-expo-stack', + name: 'rn-new', description: 'Create a new Expo project', run: async (toolbox) => { const { @@ -39,7 +39,7 @@ const command: GluegunCommand = { const printSomethingWentWrong = () => { info(`\nOops, something went wrong while creating your project 😒`); info( - `\nIf this was unexpected, please open an issue: https://github.com/roninoss/create-expo-stack#reporting-bugs--feedback` + `\nIf this was unexpected, please open an issue: https://github.com/roninoss/rn-new#reporting-bugs--feedback` ); info(''); }; @@ -319,7 +319,7 @@ const command: GluegunCommand = { // Function that outputs a string given the CLI results and the packageManager. The outputted string should be a command that can be run to recreate the project const generateRerunScript = (cliResults: CliResults) => { - let script = `npx create-expo-stack@latest ${cliResults.projectName} `; + let script = `npx rn-new@latest ${cliResults.projectName} `; const isNativeWindUISelected = cliResults.packages.some((p) => p.name === 'nativewindui'); diff --git a/cli/src/constants.ts b/cli/src/constants.ts index 1adb6001..b237cc3c 100644 --- a/cli/src/constants.ts +++ b/cli/src/constants.ts @@ -1,6 +1,6 @@ import { CliResults, SelectedComponents } from './types'; -export const TITLE_TEXT = 'create expo stack'; +export const TITLE_TEXT = 'rn.new'; export const DEFAULT_APP_NAME = 'my-expo-app'; diff --git a/cli/src/utilities/configAnalytics.ts b/cli/src/utilities/configAnalytics.ts index 40dad50a..ca08e05a 100644 --- a/cli/src/utilities/configAnalytics.ts +++ b/cli/src/utilities/configAnalytics.ts @@ -19,7 +19,7 @@ const keys = Buffer.from(key_data, 'base64').toString('utf-8'); export async function storeConfigAnalytics({ timestamp, - cesVersion, + rnNewVersion, authType, internalization, nativeWindUIComponents = [], @@ -40,7 +40,7 @@ export async function storeConfigAnalytics({ analytics }: { timestamp: string; - cesVersion: string; + rnNewVersion: string; authType?: AuthenticationSelect; navigationLibrary?: NavigationSelect; navigationType?: NavigationTypes; @@ -76,7 +76,7 @@ export async function storeConfigAnalytics({ values: [ [ timestamp ?? '', - cesVersion ?? '', + rnNewVersion ?? '', navigationLibrary ?? '', navigationType ?? '', stylingLibrary ?? '', diff --git a/cli/src/utilities/configStorage.ts b/cli/src/utilities/configStorage.ts index 4b98dab3..0afce9dc 100644 --- a/cli/src/utilities/configStorage.ts +++ b/cli/src/utilities/configStorage.ts @@ -3,7 +3,7 @@ import path from 'path'; import { CliResults } from '../types'; import os from 'os'; -const CONFIG_DIR = path.join(os.homedir(), '.create-expo-stack'); +const CONFIG_DIR = path.join(os.homedir(), '.rn-new'); const CONFIG_FILE = path.join(CONFIG_DIR, 'configurations.json'); interface AppConfig { diff --git a/cli/src/utilities/configureProjectFiles.ts b/cli/src/utilities/configureProjectFiles.ts index 9f130d99..1ee24753 100644 --- a/cli/src/utilities/configureProjectFiles.ts +++ b/cli/src/utilities/configureProjectFiles.ts @@ -356,9 +356,9 @@ export function configureProjectFiles( const packageManagerVersion = getVersionForPackageManager(cliResults.flags.packageManager); - const cesConfig = { - // Add the version of create expo stack used - cesVersion: require('../../package.json').version || '2.0.0', + const rnNewConfig = { + // Add the version of rn.new used + rnNewVersion: require('../../package.json').version || '2.0.0', ...cliResults, packageManager: { type: cliResults.flags.packageManager, @@ -372,13 +372,13 @@ export function configureProjectFiles( } }; - toolbox.filesystem.write(`./${cliResults.projectName}/cesconfig.json`, JSON.stringify(cesConfig, null, 2)); + toolbox.filesystem.write(`./${cliResults.projectName}/rn-new-config.json`, JSON.stringify(rnNewConfig, null, 2)); const pkg = require('../../package.json'); storeConfigAnalytics({ timestamp: new Date().toISOString(), - cesVersion: pkg.version, + rnNewVersion: pkg.version, authType: authenticationPackage?.name as AuthenticationSelect, navigationLibrary: navigationPackage?.name as NavigationSelect, navigationType: navigationPackage?.options?.type as NavigationTypes, diff --git a/cli/src/utilities/printOutput.ts b/cli/src/utilities/printOutput.ts index 2fcd53ad..ce9b647d 100644 --- a/cli/src/utilities/printOutput.ts +++ b/cli/src/utilities/printOutput.ts @@ -111,12 +111,12 @@ export async function printOutput( if (!options.noGit && !flags.noGit && process.env.NODE_ENV !== 'test') { s.start(`Initializing git...`); // initialize git repo and add first commit - // get create expo stack version - const cesVersion: string = require('../../package.json').version || '2.0.0'; + // get rn.new version + const rnNewVersion: string = require('../../package.json').version || '2.0.0'; await runSystemCommand({ toolbox, - command: `cd ${projectName} && git init --quiet && git add . && git commit -m "Initial commit" -m "Generated by create-expo-stack ${cesVersion}" --quiet`, + command: `cd ${projectName} && git init --quiet && git add . && git commit -m "Initial commit" -m "Generated by rn-new ${rnNewVersion}" --quiet`, errorMessage: 'Error initializing git', stdio: 'inherit' }); diff --git a/cli/src/utilities/runCLI.ts b/cli/src/utilities/runCLI.ts index 6a7c6553..d9c55b98 100644 --- a/cli/src/utilities/runCLI.ts +++ b/cli/src/utilities/runCLI.ts @@ -35,7 +35,7 @@ export async function runCLI(toolbox: Toolbox, projectName: string): Promise [options]'); + warning(' $ npx rn-new [options]'); info(''); highlight(' Options'); info(' -d, --default Use the default options for creating a project'); @@ -54,6 +54,6 @@ export function showHelp(info, highlight, warning) { info(''); info(' For example:'); info(' '); - warning(' $ npx create-expo-stack myProject --reactnavigation --nativewind --noInstall'); + warning(' $ npx rn-new myProject --reactnavigation --nativewind --noInstall'); info(''); } diff --git a/contributing.md b/contributing.md index c3a73042..57148458 100644 --- a/contributing.md +++ b/contributing.md @@ -1,20 +1,20 @@ -# Welcome to the Expo Stack contributing guide +# Welcome to the rn.new contributing guide -Thank you for investing your time to contribute to Create Expo Stack! +Thank you for investing your time to contribute to rn.new! In this guide, you will get an overview of the contribution workflow from opening an issue to creating, reviewing, and merging a PR. ## New contributor guide -Use this documentation and [](https://link.excalidraw.com/l/398AFcdY0wd/1GY4R99h31c) to gain an understanding of how Create Expo Stack works and how to contribute to the project. +Use this documentation and [diagram](https://link.excalidraw.com/l/398AFcdY0wd/1GY4R99h31c) to gain an understanding of how rn.new works and how to contribute to the project. ## What can I contribute to? -Before delving deeper on the collaborarion worflow, let's talk about what kind of contributions can be made. Make sure to refer to this [architectural diagram](https://link.excalidraw.com/l/398AFcdY0wd/1GY4R99h31c) to understand how the CLI, installers and template scaffolding works in `create-expo-stack`. +Before delving deeper on the collaborarion worflow, let's talk about what kind of contributions can be made. Make sure to refer to this [architectural diagram](https://link.excalidraw.com/l/398AFcdY0wd/1GY4R99h31c) to understand how the CLI, installers and template scaffolding works in `rn-new`. There are three main things you can usually contribute to: -- **Docs**: Anything that would improve the documentation for Expo Stack (typo corrections, fact checking, benchmarks, updates, and/or guides). +- **Docs**: Anything that would improve the documentation for rn.new (typo corrections, fact checking, benchmarks, updates, and/or guides). - **CLI**: If you would like to add a currently unsupported feature (a new styling library, auth providers, and/or a new CLI flag), you'll probably be submitting a new template, generator, and/or new CLI prompts. @@ -36,14 +36,14 @@ This project uses Bun, and should be run with Node.js on the latest available LT For external contributors, the best way to make changes to the project is to fork the repository and clone it locally: -1. Fork the repository to your GitHub account: https://github.com/roninoss/create-expo-stack/fork +1. Fork the repository to your GitHub account: https://github.com/roninoss/rn-new/fork 2. Clone the forked repository locally: ```shell -$ git clone https://github.com//create-expo-stack +$ git clone https://github.com//rn-new -$ cd create-expo-stack +$ cd rn-new ``` 3. Checkout on a new branch, and start adding your changes: @@ -58,7 +58,7 @@ From here, you can run `bun install` to install all the dependencies for the pro ### Directory structure -The Expo Stack homepage and documentation source-code can be found in the `/www` and `/docs` directories, respectively. The create-expo-stack application can be found in the `/cli` directory. +The rn.new homepage and documentation source-code can be found in the `/www` and `/docs` directories, respectively. The rn-new application can be found in the `/cli` directory. Install all the workspace dependencies with: `bun install` on the project root. @@ -76,11 +76,11 @@ $ cd www $ bun start ``` - + ### Running the CLI from the global executable -To quickly setup `create-expo-stack` for local testing, it's recommended that you use the linking feature from package managers to create a global exectutable of the package: +To quickly setup `rn-new` for local testing, it's recommended that you use the linking feature from package managers to create a global exectutable of the package: ```shell $ cd cli @@ -98,28 +98,28 @@ $ pnpm link --global After linking, make sure to restart the terminal session or resource the shell profile. Ex.: `source ~/.zshrc`. -You can check that the linking was performed correctly with `which create-expo-stack`, which should return the path to the global executable. If this returns `create-expo-stack not found`, this means that the linking has either failed, or you have a misconfigure `PATH` variable for your package manager's global installs. +You can check that the linking was performed correctly with `which rn-new`, which should return the path to the global executable. If this returns `rn-new not found`, this means that the linking has either failed, or you have a misconfigure `PATH` variable for your package manager's global installs. ```shell -$ which create-expo-stack -# Example, linked with PNPM on macOS.: /Users//Library/pnpm/create-expo-stack +$ which rn-new +# Example, linked with PNPM on macOS.: /Users//Library/pnpm/rn-new ``` -Now you can run your own local version of create-expo-stack via `create-expo-stack`, anywhere on your machine. Here is the format for running a CLI command: +Now you can run your own local version of rn.new via `rn-new`, anywhere on your machine. Here is the format for running a CLI command: ```shell -$ create-expo-stack +$ rn-new ``` > Note: Linking via Bun is not possible. While Bun does provide a linking feature ([see here](https://bun.sh/docs/cli/link)), it does not seem to expose the executable binary like the other three package managers. If you know how to do this, please let us know! -From here, any changes to the `/cli` source-code will reflect the behavior of the `create-expo-stack` binary. We recommend that you set up a `create-expo-stack-apps` directory (or a similar directory) where you can securely scaffold expo apps and test prompt combinations. +From here, any changes to the `/cli` source-code will reflect the behavior of the `rn-new` binary. We recommend that you set up a `rn-new-apps` directory (or a similar directory) where you can securely scaffold expo apps and test prompt combinations. ### Make your changes Once you've made your changes and tested that it works locally, run the tests using `bun test` in the `/cli` directory. You should also add a test to cover your own contribution, if relevant. These tests take a while to run (we're working on this). -If your changes alter and/or add to the behavior of the `create-expo-stack` CLI, or fixes a bug in it, then we encourage you to also create a **changeset**. A changeset is a quick summary that expresses the intention to bump the version of the package. This is used by our CI in order to automatically manage releases to NPM. +If your changes alter and/or add to the behavior of the `rn-new` CLI, or fixes a bug in it, then we encourage you to also create a **changeset**. A changeset is a quick summary that expresses the intention to bump the version of the package. This is used by our CI in order to automatically manage releases to NPM. To introduce a new changeset, run: @@ -146,11 +146,11 @@ If you've provided the relevant changeset summaries and the tests pass, then you ### Tests (`./__tests__`) - Tests to check every iteration of the CLI, using every kind of package manager -- [These aren't perfect atm](https://github.com/roninoss/create-expo-stack/issues/18) +- [These aren't perfect atm](https://github.com/roninoss/rn-new/issues/18) ### Commands (`./cli/src/commands`) -- There is currently only one command, `create-expo-stack`. The function representing this command roughly breaks down into the following steps: +- There is currently only one command, `rn-new`. The function representing this command roughly breaks down into the following steps: 1. Show the β€œhelp” view if that option was passed in 2. Render the ASCII art title 3. Set the default CLI options @@ -159,7 +159,7 @@ If you've provided the relevant changeset summaries and the tests pass, then you - User wants to use the default configuration - User wants to initialize a blank typescript template - User wants to run in non-interactive mode - - Running the tests for create-expo-stack uses non-interactive mode + - Running the tests for rn-new uses non-interactive mode 5. Run the CLI prompts (optional) - Return object that conveys user specifications, overwriting default CLI options 6. Assign project name based on whether user passed one in @@ -184,11 +184,11 @@ If you've provided the relevant changeset summaries and the tests pass, then you ### Utilities (`./cli/src/utilities`) -- An assortment of helper functions and abstracted chunks of functionality to support the `create-expo-stack` command. +- An assortment of helper functions and abstracted chunks of functionality to support the `rn-new` command. ### Entry point (`./cli/src/cli.ts`) -- Entry point for create-expo-stack +- Entry point for rn-new ### Constants @@ -205,4 +205,4 @@ If you've provided the relevant changeset summaries and the tests pass, then you ## Debugging -When debugging, it can be useful to place a console log of the error in the the try catch block of `./cli/src/commands/create-expo-stack.ts`. This should give you a hint as to what is going wrong. +When debugging, it can be useful to place a console log of the error in the the try catch block of `./cli/src/commands/rn-new.ts`. This should give you a hint as to what is going wrong. diff --git a/docs/README.md b/docs/README.md index 6461bded..c76a7d91 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,4 @@ -# Create Expo Stack: Docs +# rn.new Stack: Docs ## 🧞 Commands diff --git a/docs/package.json b/docs/package.json index 243a289b..419aa5f5 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,5 +1,5 @@ { - "name": "create-expo-stack-docs", + "name": "rn-new-docs", "type": "module", "version": "0.0.1", "scripts": { diff --git a/docs/src/components/Header/MainNav.tsx b/docs/src/components/Header/MainNav.tsx index a6fd670f..72f81dcc 100644 --- a/docs/src/components/Header/MainNav.tsx +++ b/docs/src/components/Header/MainNav.tsx @@ -1,13 +1,10 @@ import React from "react"; -import { CREATE_EXPO_STACK_URL } from "@/consts"; +import { RN_NEW_URL } from "@/consts"; export default function MainNav() { return (

- - Create Expo Stack + + rn.new
); diff --git a/docs/src/components/Header/MobileNav.tsx b/docs/src/components/Header/MobileNav.tsx index aad31759..f75ce287 100644 --- a/docs/src/components/Header/MobileNav.tsx +++ b/docs/src/components/Header/MobileNav.tsx @@ -5,15 +5,14 @@ import { Button } from "../ui/button"; import { Menu } from "lucide-react"; import { ScrollArea } from "../ui/scroll-area"; import { SIDEBAR } from "@/consts"; -import { cn } from "@/lib/utils"; // Define the MobileNav component export default function MobileNav() { // State to manage the sheet open/closed state const [open, setOpen] = useState(false); - // Extracting the "Create Expo Stack" array from the consts - const createExpoStackArray = SIDEBAR.en?.["Getting Started"]; + // Extracting the "rn.new" array from the consts + const rnNewArray = SIDEBAR.en?.["Getting Started"]; return ( // Sheet component for mobile navigation @@ -34,7 +33,7 @@ export default function MobileNav() {
{/* Map through the navigation array to create links */} - {createExpoStackArray?.map((item, idx) => ( + {rnNewArray?.map((item, idx) => (
{/* MobileLink component for each navigation link */} { switch (slug) { case "": - return "Create Expo Stack"; + return "rn.new"; case "usage": return "Usage"; case "deployment": diff --git a/docs/src/consts.ts b/docs/src/consts.ts index 8ec8d293..01060b91 100644 --- a/docs/src/consts.ts +++ b/docs/src/consts.ts @@ -1,5 +1,5 @@ export const SITE = { - title: "Create Expo Stack", + title: "rn.new", description: "The most configurable way to create an Expo app.", defaultLanguage: "en", } as const; @@ -7,7 +7,7 @@ export const SITE = { export const OPEN_GRAPH = { image: { src: "default-og-image.png", - alt: "create expo stack logo", + alt: "rn.new logo", }, twitter: "onlydans", }; @@ -20,11 +20,11 @@ export type KnownLanguageCode = keyof typeof KNOWN_LANGUAGES; export const TWITTER_URL = `https://twitter.com/danstepanov`; -export const EDIT_URL = `https://github.com/roninoss/create-expo-stack`; +export const EDIT_URL = `https://github.com/roninoss/rn-new`; export const COMMUNITY_INVITE_URL = `https://rn.new/discord`; -export const CREATE_EXPO_STACK_URL = `https://rn.new/`; +export const RN_NEW_URL = `https://rn.new/`; // See "Algolia" section of the README for more information. export const ALGOLIA = { @@ -34,7 +34,7 @@ export const ALGOLIA = { }; export type OuterHeaders = - | "Create Expo Stack" + | "rn.new" | "Getting Started" | "Deployment" | "Usage"; @@ -67,8 +67,8 @@ export const SIDEBAR_HEADER_MAP: Record< Record > = { en: { - "Create Expo Stack": "Create Expo Stack", - "Getting Started": "Create Expo Stack", + "rn.new": "rn.new", + "Getting Started": "rn.new", Usage: "Usage", Deployment: "Deployment", }, diff --git a/docs/src/content/docs/en/folder-structure.mdx b/docs/src/content/docs/en/folder-structure.mdx index 94775099..ecd751ac 100644 --- a/docs/src/content/docs/en/folder-structure.mdx +++ b/docs/src/content/docs/en/folder-structure.mdx @@ -1,6 +1,6 @@ --- title: Folder Structure -description: Folder structure of a newly scaffolded Create Expo Stack App +description: Folder structure of a newly scaffolded rn.new App --- import Diagram from "../../../components/Docs/FolderStructureDiagram.astro"; diff --git a/docs/src/content/docs/en/installation.md b/docs/src/content/docs/en/installation.md index 9290fcad..a5c25930 100644 --- a/docs/src/content/docs/en/installation.md +++ b/docs/src/content/docs/en/installation.md @@ -1,50 +1,50 @@ --- title: Installation -description: Installation instructions for Create Expo Stack +description: Installation instructions for rn.new --- -To scaffold an app using `create-expo-stack`, run any of the following commands and answer the command prompt questions: +To scaffold an app using `rn-new`, run any of the following commands and answer the command prompt questions: ### npm ```bash -npm create expo-stack +npx rn-new ``` ### yarn ```bash -yarn create expo-stack +yarn dlx rn-new ``` ### pnpm ```bash -pnpm create expo-stack +pnpm dlx rn-new ``` ### bun ```bash -bun create expo-stack +bunx rn-new ``` -After your app has been initialized, be sure to follow any instructions outputed by the CLI. Additionally, please take note of the output project configuration as you can run the command highlighted to speed up your next project's initialization, using CES' non-interactive mode. Furthermore, the output should be provided in any issue you open for CES. +After your app has been initialized, be sure to follow any instructions outputed by the CLI. Additionally, please take note of the output project configuration as you can run the command highlighted to speed up your next project's initialization, using rn.new's non-interactive mode. Furthermore, the output should be provided in any issue you open for rn.new. ### Example -The following would scaffold a CES app with Expo Router, NativeWind, and Bun: +The following would scaffold an rn.new app with Expo Router, NativeWind, and Bun: ### npm ```bash -npm create expo-stack --expo-router --nativewind --bun +npx rn-new --expo-router --nativewind --bun ``` ### bun ```bash -bun create expo-stack myapp --expo-router --nativewind --bun +bunx rn-new myapp --expo-router --nativewind --bun ``` ## Advanced Usage diff --git a/docs/src/content/docs/en/introduction.mdx b/docs/src/content/docs/en/introduction.mdx index e838d39e..b20153c9 100644 --- a/docs/src/content/docs/en/introduction.mdx +++ b/docs/src/content/docs/en/introduction.mdx @@ -1,19 +1,19 @@ --- title: "Introduction" -description: "Introduction to Create Expo Stack" +description: "Introduction to rn.new" --- -## What is Create Expo Stack? +## What is rn.new? -Unlike various starter templates, CES is not incredibly opinionated as to how you should start your project, save for a few axioms. It's a CLI designed to simplify initialization of typesafe projects focused on rapid prototyping, with React Native and Expo. +Unlike various starter templates, rn.new is not incredibly opinionated as to how you should start your project, save for a few axioms. It's a CLI designed to simplify initialization of typesafe projects focused on rapid prototyping, with React Native and Expo. The CLI options allow you to configure a typesafe project with your preferred choice of navigation, styling, and/or authentication. It also serves as a portal to the opinionated starter templates that we feel are worth considering. -## CES Axioms +## rn.new Axioms ### Iterate Quickly, At All Costs -Through testing, curiosity leads to conviction but testing requires focus. When you set out to test something, there's two types of work: (1) setting up your test and (2) interpreting the feedback. In a world that is always trying to distract you with more of the former type of work, you need to obsessively strive towards the latter. This affords you focus and prioritization. As an example, CES will not implement anything that will cause project initialization to take more than 10 seconds, because it pulls focus from what you are trying to do. +Through testing, curiosity leads to conviction but testing requires focus. When you set out to test something, there's two types of work: (1) setting up your test and (2) interpreting the feedback. In a world that is always trying to distract you with more of the former type of work, you need to obsessively strive towards the latter. This affords you focus and prioritization. As an example, rn.new will not implement anything that will cause project initialization to take more than 10 seconds, because it pulls focus from what you are trying to do. ### You Are Not a Guinea Pig @@ -21,4 +21,4 @@ Moving fast and operating on the bleeding edge often leads to unstable experienc ### Type Safety Isn't Optional -CES is built for rapid prototyping. We have spent an incredible amount of time modularizing key aspects of initializing a new project because we value moving fast. However, typesafety is an absolutely necessary crutch that contributes to both short and long term productivity. If you don't agree, this is not the tool for you. +rn.new is built for rapid prototyping. We have spent an incredible amount of time modularizing key aspects of initializing a new project because we value moving fast. However, typesafety is an absolutely necessary crutch that contributes to both short and long term productivity. If you don't agree, this is not the tool for you. diff --git a/docs/src/content/docs/en/usage/first-steps.md b/docs/src/content/docs/en/usage/first-steps.md index 16b6a651..51a0ff1a 100644 --- a/docs/src/content/docs/en/usage/first-steps.md +++ b/docs/src/content/docs/en/usage/first-steps.md @@ -1,4 +1,4 @@ --- title: First Steps -description: Getting started with your new Create Expo Stack App +description: Getting started with your new rn.new App --- diff --git a/package.json b/package.json index 300eb193..e1aeb3bc 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { - "name": "create-expo-stack-repository", + "name": "rn-new-repository", "private": true, "version": "0.0.0", - "description": "Root package for the create-expo-stack monorepo", + "description": "Root package for the rn-new monorepo", "repository": { "type": "git", - "url": "https://github.com/roninoss/create-expo-stack.git" + "url": "https://github.com/roninoss/rn-new.git" }, "license": "MIT", "workspaces": [ @@ -15,9 +15,9 @@ ], "scripts": { "build": "turbo build", - "build:cli": "turbo build --filter create-expo-stack", - "build:www": "turbo build --filter create-expo-stack-landing", - "build:docs": "turbo build --filter create-expo-stack-docs", + "build:cli": "turbo build --filter rn-new", + "build:www": "turbo build --filter rn-new-landing", + "build:docs": "turbo build --filter rn-new-docs", "dl-contrib": "bun scripts/generate-contributors.ts", "format": "eslint -c .eslintrc.js --fix \"**/*.{js,jsx,ts,tsx}\" && prettier \"**/*.{astro,css,ejs,js,json,jsx,md,mdx,mjs,ts,tsx,yaml,yml}\" --write", "prepare": "is-ci || husky install" diff --git a/scripts/generate-contributors.ts b/scripts/generate-contributors.ts index 4cafc765..20a3dd14 100644 --- a/scripts/generate-contributors.ts +++ b/scripts/generate-contributors.ts @@ -18,7 +18,7 @@ async function getOcto() { // get paginated contributors const res = await octokit.paginate(octokit.rest.repos.listContributors, { owner: 'danstepanov', - repo: 'create-expo-stack', + repo: 'rn-new', per_page: 100 }); diff --git a/scripts/next-release.ts b/scripts/next-release.ts index 800fd5b5..3a73dac8 100644 --- a/scripts/next-release.ts +++ b/scripts/next-release.ts @@ -9,7 +9,7 @@ async function createNextRelease() { const commitHash = (await new Response(proc.stdout).text()).trim(); /** - * Parse the package.json for `create-expo-stack`, and update it with the new + * Parse the package.json for `rn-new`, and update it with the new * "next" (development) version based on the parsed changesets */ const packageJson = await Bun.file(process.cwd() + '/cli/package.json').json(); diff --git a/www/demo/constants.js b/www/demo/constants.js index c0a8a7e6..b82615d4 100644 --- a/www/demo/constants.js +++ b/www/demo/constants.js @@ -5,7 +5,7 @@ export const DEFAULT_STYLING_PACAKGE = { export const PROJECT_NAME = "my-expo-app"; -export const TITLE_TEXT = "create expo stack"; +export const TITLE_TEXT = "rn.new"; // expo stack orange gradient export const expoStackTheme = { diff --git a/www/demo/index.js b/www/demo/index.js index f73f3e3b..6995c183 100644 --- a/www/demo/index.js +++ b/www/demo/index.js @@ -23,7 +23,7 @@ async function main() { await renderTitle(); - intro(`${color.bgCyan(color.black(" create-expo-stack "))}`); + intro(`${color.bgCyan(color.black(" rn-new "))}`); await setProjectName(cliResults); diff --git a/www/demo/steps/renderTitle.js b/www/demo/steps/renderTitle.js index fd49391b..eba15396 100644 --- a/www/demo/steps/renderTitle.js +++ b/www/demo/steps/renderTitle.js @@ -4,20 +4,14 @@ import gradient from "gradient-string"; import { expoStackTheme, TITLE_TEXT } from "../constants.js"; const asciiTitle = ` - _ - ___ _ __ ___ __ _ | |_ ___ - / __|| '__|/ _ \\ / _' || __|/ _ \\ - | (__ | | | __/| (_| || |_| __/ - \\___||_| \\___| \\__,_| \\__|\\___| - ___ __ __ _ __ ___ - / _ \\\\ \\/ /| '_ \\ / _ \\ - | __/ > < | |_) || (_) | - \\___|/_/\\_\\| .__/ \\___/ - _ |_| _ - ___ | |_ __ _ ___ | | __ - / __|| __|/ _' | / __|| |/ / - \\__ \\| |_| (_| || (__ | < - |___/ \\__|\\__,_| \\___||_|\\_\\ + + β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•— β–ˆβ–ˆβ•— + β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ + β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘ β–ˆβ•— β–ˆβ–ˆβ•‘ + β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β• β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ + β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ–ˆβ•”β–ˆβ–ˆβ–ˆβ•”β• + β•šβ•β• β•šβ•β•β•šβ•β• β•šβ•β•β•β•β•šβ•β•β•šβ•β• β•šβ•β•β•β•β•šβ•β•β•β•β•β•β• β•šβ•β•β•β•šβ•β•β• + `; export async function renderTitle() { diff --git a/www/package.json b/www/package.json index 5e2dc494..159bd815 100644 --- a/www/package.json +++ b/www/package.json @@ -1,5 +1,5 @@ { - "name": "create-expo-stack-landing", + "name": "rn-new-landing", "type": "module", "version": "0.0.1", "scripts": { diff --git a/www/src/components/landing/contributors/contributorsSection.tsx b/www/src/components/landing/contributors/contributorsSection.tsx index 699d723f..7eea8f76 100644 --- a/www/src/components/landing/contributors/contributorsSection.tsx +++ b/www/src/components/landing/contributors/contributorsSection.tsx @@ -18,8 +18,8 @@ export default function ContributorsSection() {

- Create Expo Stack is open-source and built by developers just like - you. These are some of the contributors who made this possible so far. + rn.new is open-source and built by developers just like you. These are + some of the contributors who made this possible so far.

{/* honeycomb grid for the future */} {/* [&>*:nth-child(9n_+_1)]:ml-[1.875rem] sm:[&>*:nth-child(9n_+_1)]:ml-[2.375rem] */} @@ -31,7 +31,7 @@ export default function ContributorsSection() {
diff --git a/www/src/components/landing/footer/footer.astro b/www/src/components/landing/footer/footer.astro index c9073060..3f2ec14a 100644 --- a/www/src/components/landing/footer/footer.astro +++ b/www/src/components/landing/footer/footer.astro @@ -33,7 +33,7 @@ @@ -70,7 +70,7 @@
-

create-expo-stack

+

rn-new

The most configurable way to create an Expo app.
@@ -87,7 +87,7 @@ MIT @@ -114,7 +114,7 @@ diff --git a/www/src/components/landing/hero/copyCommandButton.tsx b/www/src/components/landing/hero/copyCommandButton.tsx index 1faa5f9b..0978c0dd 100644 --- a/www/src/components/landing/hero/copyCommandButton.tsx +++ b/www/src/components/landing/hero/copyCommandButton.tsx @@ -5,7 +5,7 @@ const CopyCommandButton = () => { function toggleIcon() { setDelayedCopyText(); - copy("npx create-expo-stack@latest"); + copy("npx rn-new@latest"); } return ( @@ -16,7 +16,7 @@ const CopyCommandButton = () => { title="Copy the command to get started" id="command" > - npx create-expo-stack@latest + npx rn-new@latest {!value ? ( response.json()) .then((data) => { starCountElement.classList.remove("spinner"); @@ -50,7 +50,7 @@ import { Sparkle, ChevronRight } from "lucide-astro"; diff --git a/www/src/components/landing/roadmap/roadmap.tsx b/www/src/components/landing/roadmap/roadmap.tsx index c1beb5aa..fc30fdd1 100644 --- a/www/src/components/landing/roadmap/roadmap.tsx +++ b/www/src/components/landing/roadmap/roadmap.tsx @@ -55,7 +55,7 @@ export default function Roadmap() {

- What's next for Create Expo Stack? + What's next for rn.new?

This is a list of features we're working on, and what we intend @@ -112,8 +112,8 @@ export default function Roadmap() { > here - . If you feel like there's something missing in Create Expo - Stack, you're welcome to pitch the core team in our Discord. + . If you feel like there's something missing in rn.new, + you're welcome to pitch the core team in our Discord.

diff --git a/www/src/components/seo/headSeo.astro b/www/src/components/seo/headSeo.astro index 4c542dca..554ed645 100644 --- a/www/src/components/seo/headSeo.astro +++ b/www/src/components/seo/headSeo.astro @@ -29,7 +29,7 @@ const imageUrl = SITE_URL + "/og-image.png"; - + > = { en: { - "Getting Started": "Create Expo Stack", + "Getting Started": "rn.new", Usage: "Usage", Deployment: "Deployment", }, diff --git a/www/src/layouts/landingPage.astro b/www/src/layouts/landingPage.astro index a8556009..31ff9907 100644 --- a/www/src/layouts/landingPage.astro +++ b/www/src/layouts/landingPage.astro @@ -22,7 +22,7 @@ import Roadmap from "@components/landing/roadmap/roadmap.tsx"; - Create Expo Stack + rn.new
diff --git a/www/vercel.json b/www/vercel.json index b9af3519..9a4c2d89 100644 --- a/www/vercel.json +++ b/www/vercel.json @@ -3,7 +3,7 @@ "redirects": [ { "source": "/issues", - "destination": "https://github.com/roninoss/create-expo-stack/issues/new" + "destination": "https://github.com/roninoss/rn-new/issues/new" }, { "source": "/discord", From aec1eb99ca8d2cf9db39b470e9ace4db97b0db46 Mon Sep 17 00:00:00 2001 From: Daniel Williams Date: Mon, 14 Oct 2024 10:05:56 +0100 Subject: [PATCH 2/6] fix: update snapshot --- .../cli-integration.test.ts.snap | 60 +++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/cli/__tests__/__snapshots__/cli-integration.test.ts.snap b/cli/__tests__/__snapshots__/cli-integration.test.ts.snap index 0dced646..f107101f 100644 --- a/cli/__tests__/__snapshots__/cli-integration.test.ts.snap +++ b/cli/__tests__/__snapshots__/cli-integration.test.ts.snap @@ -62,9 +62,8 @@ exports[`generates a project with --expo-router --nativewind --bun --overwrite: } `; -exports[`generates a project with --expo-router --nativewind --bun --overwrite: --expo-router, --nativewind, --bun, --overwrite-ces-config-json 1`] = ` +exports[`generates a project with --expo-router --nativewind --bun --overwrite: --expo-router, --nativewind, --bun, --overwrite-rn-new-config.json 1`] = ` { - "cesVersion": undefined, "flags": { "eas": false, "importAlias": true, @@ -92,6 +91,7 @@ exports[`generates a project with --expo-router --nativewind --bun --overwrite: }, ], "projectName": "myTestProject", + "rnNewVersion": undefined, } `; @@ -112,7 +112,6 @@ exports[`generates a project with --expo-router --nativewind --bun --overwrite: ./myTestProject/assets/splash.png ./myTestProject/babel.config.js ./myTestProject/bun.lockb -./myTestProject/cesconfig.json ./myTestProject/components ./myTestProject/components/Button.tsx ./myTestProject/components/Container.tsx @@ -123,6 +122,7 @@ exports[`generates a project with --expo-router --nativewind --bun --overwrite: ./myTestProject/metro.config.js ./myTestProject/package.json ./myTestProject/prettier.config.js +./myTestProject/rn-new-config.json ./myTestProject/tailwind.config.js ./myTestProject/tsconfig.json " @@ -190,9 +190,8 @@ exports[`generates a project with --expo-router --stylesheet --bun --overwrite: } `; -exports[`generates a project with --expo-router --stylesheet --bun --overwrite: --expo-router, --stylesheet, --bun, --overwrite-ces-config-json 1`] = ` +exports[`generates a project with --expo-router --stylesheet --bun --overwrite: --expo-router, --stylesheet, --bun, --overwrite-rn-new-config.json 1`] = ` { - "cesVersion": undefined, "flags": { "eas": false, "importAlias": true, @@ -220,6 +219,7 @@ exports[`generates a project with --expo-router --stylesheet --bun --overwrite: }, ], "projectName": "myTestProject", + "rnNewVersion": undefined, } `; @@ -239,7 +239,6 @@ exports[`generates a project with --expo-router --stylesheet --bun --overwrite: ./myTestProject/assets/splash.png ./myTestProject/babel.config.js ./myTestProject/bun.lockb -./myTestProject/cesconfig.json ./myTestProject/components ./myTestProject/components/Button.tsx ./myTestProject/components/Container.tsx @@ -249,6 +248,7 @@ exports[`generates a project with --expo-router --stylesheet --bun --overwrite: ./myTestProject/metro.config.js ./myTestProject/package.json ./myTestProject/prettier.config.js +./myTestProject/rn-new-config.json ./myTestProject/tsconfig.json " `; @@ -315,9 +315,8 @@ exports[`generates a project with --expo-router --tabs --nativewind --bun --over } `; -exports[`generates a project with --expo-router --tabs --nativewind --bun --overwrite: --expo-router, --tabs, --nativewind, --bun, --overwrite-ces-config-json 1`] = ` +exports[`generates a project with --expo-router --tabs --nativewind --bun --overwrite: --expo-router, --tabs, --nativewind, --bun, --overwrite-rn-new-config.json 1`] = ` { - "cesVersion": undefined, "flags": { "eas": false, "importAlias": true, @@ -345,6 +344,7 @@ exports[`generates a project with --expo-router --tabs --nativewind --bun --over }, ], "projectName": "myTestProject", + "rnNewVersion": undefined, } `; @@ -368,7 +368,6 @@ exports[`generates a project with --expo-router --tabs --nativewind --bun --over ./myTestProject/assets/splash.png ./myTestProject/babel.config.js ./myTestProject/bun.lockb -./myTestProject/cesconfig.json ./myTestProject/components ./myTestProject/components/Button.tsx ./myTestProject/components/Container.tsx @@ -381,6 +380,7 @@ exports[`generates a project with --expo-router --tabs --nativewind --bun --over ./myTestProject/metro.config.js ./myTestProject/package.json ./myTestProject/prettier.config.js +./myTestProject/rn-new-config.json ./myTestProject/tailwind.config.js ./myTestProject/tsconfig.json " @@ -448,9 +448,8 @@ exports[`generates a project with --expo-router --tabs --stylesheet --bun --over } `; -exports[`generates a project with --expo-router --tabs --stylesheet --bun --overwrite: --expo-router, --tabs, --stylesheet, --bun, --overwrite-ces-config-json 1`] = ` +exports[`generates a project with --expo-router --tabs --stylesheet --bun --overwrite: --expo-router, --tabs, --stylesheet, --bun, --overwrite-rn-new-config.json 1`] = ` { - "cesVersion": undefined, "flags": { "eas": false, "importAlias": true, @@ -478,6 +477,7 @@ exports[`generates a project with --expo-router --tabs --stylesheet --bun --over }, ], "projectName": "myTestProject", + "rnNewVersion": undefined, } `; @@ -500,7 +500,6 @@ exports[`generates a project with --expo-router --tabs --stylesheet --bun --over ./myTestProject/assets/splash.png ./myTestProject/babel.config.js ./myTestProject/bun.lockb -./myTestProject/cesconfig.json ./myTestProject/components ./myTestProject/components/Button.tsx ./myTestProject/components/Container.tsx @@ -512,6 +511,7 @@ exports[`generates a project with --expo-router --tabs --stylesheet --bun --over ./myTestProject/metro.config.js ./myTestProject/package.json ./myTestProject/prettier.config.js +./myTestProject/rn-new-config.json ./myTestProject/tsconfig.json " `; @@ -578,9 +578,8 @@ exports[`generates a project with --expo-router --drawer+tabs --nativewind --bun } `; -exports[`generates a project with --expo-router --drawer+tabs --nativewind --bun --overwrite: --expo-router, --drawer+tabs, --nativewind, --bun, --overwrite-ces-config-json 1`] = ` +exports[`generates a project with --expo-router --drawer+tabs --nativewind --bun --overwrite: --expo-router, --drawer+tabs, --nativewind, --bun, --overwrite-rn-new-config.json 1`] = ` { - "cesVersion": undefined, "flags": { "eas": false, "importAlias": true, @@ -608,6 +607,7 @@ exports[`generates a project with --expo-router --drawer+tabs --nativewind --bun }, ], "projectName": "myTestProject", + "rnNewVersion": undefined, } `; @@ -634,7 +634,6 @@ exports[`generates a project with --expo-router --drawer+tabs --nativewind --bun ./myTestProject/assets/splash.png ./myTestProject/babel.config.js ./myTestProject/bun.lockb -./myTestProject/cesconfig.json ./myTestProject/components ./myTestProject/components/Button.tsx ./myTestProject/components/Container.tsx @@ -647,6 +646,7 @@ exports[`generates a project with --expo-router --drawer+tabs --nativewind --bun ./myTestProject/metro.config.js ./myTestProject/package.json ./myTestProject/prettier.config.js +./myTestProject/rn-new-config.json ./myTestProject/tailwind.config.js ./myTestProject/tsconfig.json " @@ -714,9 +714,8 @@ exports[`generates a project with --expo-router --drawer+tabs --stylesheet --bun } `; -exports[`generates a project with --expo-router --drawer+tabs --stylesheet --bun --overwrite: --expo-router, --drawer+tabs, --stylesheet, --bun, --overwrite-ces-config-json 1`] = ` +exports[`generates a project with --expo-router --drawer+tabs --stylesheet --bun --overwrite: --expo-router, --drawer+tabs, --stylesheet, --bun, --overwrite-rn-new-config.json 1`] = ` { - "cesVersion": undefined, "flags": { "eas": false, "importAlias": true, @@ -744,6 +743,7 @@ exports[`generates a project with --expo-router --drawer+tabs --stylesheet --bun }, ], "projectName": "myTestProject", + "rnNewVersion": undefined, } `; @@ -769,7 +769,6 @@ exports[`generates a project with --expo-router --drawer+tabs --stylesheet --bun ./myTestProject/assets/splash.png ./myTestProject/babel.config.js ./myTestProject/bun.lockb -./myTestProject/cesconfig.json ./myTestProject/components ./myTestProject/components/Button.tsx ./myTestProject/components/Container.tsx @@ -781,6 +780,7 @@ exports[`generates a project with --expo-router --drawer+tabs --stylesheet --bun ./myTestProject/metro.config.js ./myTestProject/package.json ./myTestProject/prettier.config.js +./myTestProject/rn-new-config.json ./myTestProject/tsconfig.json " `; @@ -847,9 +847,8 @@ exports[`generates a project with --expo-router --drawer+tabs --nativewindui --s } `; -exports[`generates a project with --expo-router --drawer+tabs --nativewindui --selected-components=date-picker,picker,text --expo-router --bun --overwrite: --expo-router, --drawer+tabs, --nativewindui, --selected-components=date-picker,picker,text, --expo-router, --bun, --overwrite-ces-config-json 1`] = ` +exports[`generates a project with --expo-router --drawer+tabs --nativewindui --selected-components=date-picker,picker,text --expo-router --bun --overwrite: --expo-router, --drawer+tabs, --nativewindui, --selected-components=date-picker,picker,text, --expo-router, --bun, --overwrite-rn-new-config.json 1`] = ` { - "cesVersion": undefined, "flags": { "eas": false, "importAlias": true, @@ -877,6 +876,7 @@ exports[`generates a project with --expo-router --drawer+tabs --nativewindui --s }, ], "projectName": "myTestProject", + "rnNewVersion": undefined, } `; @@ -902,7 +902,6 @@ exports[`generates a project with --expo-router --drawer+tabs --nativewindui --s ./myTestProject/assets/splash.png ./myTestProject/babel.config.js ./myTestProject/bun.lockb -./myTestProject/cesconfig.json ./myTestProject/components ./myTestProject/components/BackButton.tsx ./myTestProject/components/Button.tsx @@ -928,6 +927,7 @@ exports[`generates a project with --expo-router --drawer+tabs --nativewindui --s ./myTestProject/nativewind-env.d.ts ./myTestProject/package.json ./myTestProject/prettier.config.js +./myTestProject/rn-new-config.json ./myTestProject/tailwind.config.js ./myTestProject/theme ./myTestProject/theme/colors.ts @@ -998,9 +998,8 @@ exports[`generates a project with --expo-router --drawer+tabs --nativewindui --e } `; -exports[`generates a project with --expo-router --drawer+tabs --nativewindui --expo-router --bun --overwrite: --expo-router, --drawer+tabs, --nativewindui, --expo-router, --bun, --overwrite-ces-config-json 1`] = ` +exports[`generates a project with --expo-router --drawer+tabs --nativewindui --expo-router --bun --overwrite: --expo-router, --drawer+tabs, --nativewindui, --expo-router, --bun, --overwrite-rn-new-config.json 1`] = ` { - "cesVersion": undefined, "flags": { "eas": false, "importAlias": true, @@ -1028,6 +1027,7 @@ exports[`generates a project with --expo-router --drawer+tabs --nativewindui --e }, ], "projectName": "myTestProject", + "rnNewVersion": undefined, } `; @@ -1053,7 +1053,6 @@ exports[`generates a project with --expo-router --drawer+tabs --nativewindui --e ./myTestProject/assets/splash.png ./myTestProject/babel.config.js ./myTestProject/bun.lockb -./myTestProject/cesconfig.json ./myTestProject/components ./myTestProject/components/BackButton.tsx ./myTestProject/components/Button.tsx @@ -1085,6 +1084,7 @@ exports[`generates a project with --expo-router --drawer+tabs --nativewindui --e ./myTestProject/nativewind-env.d.ts ./myTestProject/package.json ./myTestProject/prettier.config.js +./myTestProject/rn-new-config.json ./myTestProject/tailwind.config.js ./myTestProject/theme ./myTestProject/theme/colors.ts @@ -1155,9 +1155,8 @@ exports[`generates a project with --nativewindui --no-install --bun --overwrite: } `; -exports[`generates a project with --nativewindui --no-install --bun --overwrite: --nativewindui, --no-install, --bun, --overwrite-ces-config-json 1`] = ` +exports[`generates a project with --nativewindui --no-install --bun --overwrite: --nativewindui, --no-install, --bun, --overwrite-rn-new-config.json 1`] = ` { - "cesVersion": undefined, "flags": { "eas": false, "importAlias": true, @@ -1185,6 +1184,7 @@ exports[`generates a project with --nativewindui --no-install --bun --overwrite: }, ], "projectName": "myTestProject", + "rnNewVersion": undefined, } `; @@ -1203,7 +1203,6 @@ exports[`generates a project with --nativewindui --no-install --bun --overwrite: ./myTestProject/assets/icon.png ./myTestProject/assets/splash.png ./myTestProject/babel.config.js -./myTestProject/cesconfig.json ./myTestProject/components ./myTestProject/components/BackButton.tsx ./myTestProject/components/Button.tsx @@ -1235,6 +1234,7 @@ exports[`generates a project with --nativewindui --no-install --bun --overwrite: ./myTestProject/nativewind-env.d.ts ./myTestProject/package.json ./myTestProject/prettier.config.js +./myTestProject/rn-new-config.json ./myTestProject/tailwind.config.js ./myTestProject/theme ./myTestProject/theme/colors.ts @@ -1305,9 +1305,8 @@ exports[`generates a project with --expo-router --drawer+tabs --nativewindui --b } `; -exports[`generates a project with --expo-router --drawer+tabs --nativewindui --blank --expo-router --bun --overwrite: --expo-router, --drawer+tabs, --nativewindui, --blank, --expo-router, --bun, --overwrite-ces-config-json 1`] = ` +exports[`generates a project with --expo-router --drawer+tabs --nativewindui --blank --expo-router --bun --overwrite: --expo-router, --drawer+tabs, --nativewindui, --blank, --expo-router, --bun, --overwrite-rn-new-config.json 1`] = ` { - "cesVersion": undefined, "flags": { "eas": false, "importAlias": true, @@ -1335,6 +1334,7 @@ exports[`generates a project with --expo-router --drawer+tabs --nativewindui --b }, ], "projectName": "myTestProject", + "rnNewVersion": undefined, } `; @@ -1360,7 +1360,6 @@ exports[`generates a project with --expo-router --drawer+tabs --nativewindui --b ./myTestProject/assets/splash.png ./myTestProject/babel.config.js ./myTestProject/bun.lockb -./myTestProject/cesconfig.json ./myTestProject/components ./myTestProject/components/BackButton.tsx ./myTestProject/components/Button.tsx @@ -1381,6 +1380,7 @@ exports[`generates a project with --expo-router --drawer+tabs --nativewindui --b ./myTestProject/nativewind-env.d.ts ./myTestProject/package.json ./myTestProject/prettier.config.js +./myTestProject/rn-new-config.json ./myTestProject/tailwind.config.js ./myTestProject/theme ./myTestProject/theme/colors.ts From 378a564dc3a87dd4762789d1cc3901eb70c3d6c4 Mon Sep 17 00:00:00 2001 From: Daniel Williams Date: Mon, 21 Oct 2024 21:31:52 +0100 Subject: [PATCH 3/6] fix name --- cli/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/README.md b/cli/README.md index 3b7bdbe7..120d1c35 100644 --- a/cli/README.md +++ b/cli/README.md @@ -1,4 +1,4 @@ -# rn.new CLI +# RN New CLI [![Discord](https://img.shields.io/discord/1173879003191459860?color=%235865F2&label=Discord&logo=discord&logoColor=%23fff)](https://expostack.dev/discord) [![NPM version][npm-image]][npm-url] From 27ee50d60e467acc12df15d68d34e6fd54af3218 Mon Sep 17 00:00:00 2001 From: Daniel Williams Date: Mon, 21 Oct 2024 22:36:12 +0100 Subject: [PATCH 4/6] fix name --- www/demo/steps/renderTitle.js | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/www/demo/steps/renderTitle.js b/www/demo/steps/renderTitle.js index eba15396..efc5aae5 100644 --- a/www/demo/steps/renderTitle.js +++ b/www/demo/steps/renderTitle.js @@ -1,17 +1,18 @@ // import figlet from "figlet"; import gradient from "gradient-string"; -import { expoStackTheme, TITLE_TEXT } from "../constants.js"; +import { expoStackTheme } from "../constants.js"; +// ronin new const asciiTitle = ` - β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•— β–ˆβ–ˆβ•— - β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ - β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘ β–ˆβ•— β–ˆβ–ˆβ•‘ - β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β• β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ - β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ–ˆβ•”β–ˆβ–ˆβ–ˆβ•”β• - β•šβ•β• β•šβ•β•β•šβ•β• β•šβ•β•β•β•β•šβ•β•β•šβ•β• β•šβ•β•β•β•β•šβ•β•β•β•β•β•β• β•šβ•β•β•β•šβ•β•β• - +β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•— +β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘ +β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘ +β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ +β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘ +β•šβ•β• β•šβ•β• β•šβ•β•β•β•β•β• β•šβ•β• β•šβ•β•β•β•β•šβ•β•β•šβ•β• β•šβ•β•β•β• + `; export async function renderTitle() { @@ -23,3 +24,9 @@ export async function renderTitle() { // set timeout for 1 second so that the title can render before the CLI runs await new Promise((resolve) => setTimeout(resolve, 200)); } + +/** + + + + */ From 4d71b77acbb600aafffa3aa1ec27bbd00ec0b676 Mon Sep 17 00:00:00 2001 From: Daniel Williams Date: Mon, 21 Oct 2024 22:37:16 +0100 Subject: [PATCH 5/6] fix readme --- cli/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/README.md b/cli/README.md index 120d1c35..1e67d98f 100644 --- a/cli/README.md +++ b/cli/README.md @@ -1,4 +1,4 @@ -# RN New CLI +# RN New [![Discord](https://img.shields.io/discord/1173879003191459860?color=%235865F2&label=Discord&logo=discord&logoColor=%23fff)](https://expostack.dev/discord) [![NPM version][npm-image]][npm-url] From fd6c28b1d182102b672ce18ee492a80b5d122deb Mon Sep 17 00:00:00 2001 From: Daniel Williams Date: Sun, 27 Oct 2024 21:00:16 +0000 Subject: [PATCH 6/6] fix title text --- cli/src/constants.ts | 2 +- docs/src/consts.ts | 6 ------ www/demo/steps/renderTitle.js | 10 ++++------ www/src/components/landing/navbar/MobileNav.tsx | 4 ++-- 4 files changed, 7 insertions(+), 15 deletions(-) diff --git a/cli/src/constants.ts b/cli/src/constants.ts index b237cc3c..3a7048cf 100644 --- a/cli/src/constants.ts +++ b/cli/src/constants.ts @@ -1,6 +1,6 @@ import { CliResults, SelectedComponents } from './types'; -export const TITLE_TEXT = 'rn.new'; +export const TITLE_TEXT = 'rn new'; export const DEFAULT_APP_NAME = 'my-expo-app'; diff --git a/docs/src/consts.ts b/docs/src/consts.ts index 01060b91..3d5d3731 100644 --- a/docs/src/consts.ts +++ b/docs/src/consts.ts @@ -72,10 +72,4 @@ export const SIDEBAR_HEADER_MAP: Record< Usage: "Usage", Deployment: "Deployment", }, - // Translate the sidebar's "outer headers" here - // sv: { - // "Create Expo Stack": "Create Expo Stack", - // Usage: "AnvΓ€ndarguide", - // Deployment: "Deployment", - // }, }; diff --git a/www/demo/steps/renderTitle.js b/www/demo/steps/renderTitle.js index efc5aae5..aaa2a6fb 100644 --- a/www/demo/steps/renderTitle.js +++ b/www/demo/steps/renderTitle.js @@ -6,12 +6,10 @@ import { expoStackTheme } from "../constants.js"; // ronin new const asciiTitle = ` -β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•— -β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘ -β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘ -β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ -β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘ -β•šβ•β• β•šβ•β• β•šβ•β•β•β•β•β• β•šβ•β• β•šβ•β•β•β•β•šβ•β•β•šβ•β• β•šβ•β•β•β• + _ __ _ __ _ __ ___ __ __ + | '__|| '_ \\ | '_ \\ / _ \\\\ \\ /\\ / / + | | | | | | | | | || __/ \\ V V / + |_| |_| |_| |_| |_| \\___| \\_/\\_/ `; diff --git a/www/src/components/landing/navbar/MobileNav.tsx b/www/src/components/landing/navbar/MobileNav.tsx index 8f762dc5..712b5697 100644 --- a/www/src/components/landing/navbar/MobileNav.tsx +++ b/www/src/components/landing/navbar/MobileNav.tsx @@ -7,7 +7,7 @@ import { DOCS_URL } from "../../../config"; export default function MobileNav() { const [open, setOpen] = useState(false); - const createExpoStackArray = SIDEBAR.en?.["Getting Started"]; + const rnNewStackArray = SIDEBAR.en?.["Getting Started"]; return ( <> @@ -49,7 +49,7 @@ export default function MobileNav() { }} >
- {createExpoStackArray?.map((item, key) => ( + {rnNewStackArray?.map((item, key) => ( {item.text}