From 4d5cb5a7eaf9adc4d4c54e8b0e9d4dfb2e8f8ad1 Mon Sep 17 00:00:00 2001 From: Edward Wright <5090163+ed-wright@users.noreply.github.com> Date: Tue, 24 Oct 2023 21:20:35 +0100 Subject: [PATCH 1/2] fix: replace all incorrect versions goes through the repo and replaces all incorrect versions of create t3-app with create-t3-app This closes 1620 --- .github/workflows/prerelease-comment.yml | 2 +- cli/README.md | 10 +++++----- www/src/components/landingPage/ClipboardSelect.tsx | 8 ++++---- www/src/components/landingPage/banner.astro | 2 +- www/src/components/landingPage/cli.tsx | 2 +- www/src/pages/ar/installation.mdx | 8 ++++---- www/src/pages/en/installation.mdx | 8 ++++---- www/src/pages/es/installation.mdx | 8 ++++---- www/src/pages/fr/installation.mdx | 8 ++++---- www/src/pages/ja/installation.mdx | 8 ++++---- www/src/pages/no/installation.mdx | 8 ++++---- www/src/pages/pl/installation.mdx | 8 ++++---- www/src/pages/pt/installation.mdx | 8 ++++---- www/src/pages/ru/installation.mdx | 8 ++++---- www/src/pages/zh-hans/installation.mdx | 8 ++++---- 15 files changed, 52 insertions(+), 52 deletions(-) diff --git a/.github/workflows/prerelease-comment.yml b/.github/workflows/prerelease-comment.yml index df07c4dad8..cad2d448af 100644 --- a/.github/workflows/prerelease-comment.yml +++ b/.github/workflows/prerelease-comment.yml @@ -48,7 +48,7 @@ jobs: A new create-t3-app prerelease is available for testing. You can install this latest build in your project with: ```sh - pnpm create t3-app@${{ env.BETA_PACKAGE_VERSION }} + pnpm create-t3-app@${{ env.BETA_PACKAGE_VERSION }} ``` - name: "Remove the autorelease label once published" diff --git a/cli/README.md b/cli/README.md index 1402e751ce..6c14f4823d 100644 --- a/cli/README.md +++ b/cli/README.md @@ -14,7 +14,7 @@

- Get started with the T3 Stack by running npm create t3-app@latest + Get started with the T3 Stack by running npm create-t3-app@latest

@@ -84,25 +84,25 @@ To scaffold an app using `create-t3-app`, run any of the following four commands ### npm ```bash -npm create t3-app@latest +npm create-t3-app@latest ``` ### yarn ```bash -yarn create t3-app +yarn create-t3-app ``` ### pnpm ```bash -pnpm create t3-app@latest +pnpm create-t3-app@latest ``` ### bun ```bash -bun create t3-app@latest +bun create-t3-app@latest ``` For more advanced usage, check out the [CLI docs](https://create.t3.gg/en/installation). diff --git a/www/src/components/landingPage/ClipboardSelect.tsx b/www/src/components/landingPage/ClipboardSelect.tsx index 2a8b459a8a..de4c886903 100644 --- a/www/src/components/landingPage/ClipboardSelect.tsx +++ b/www/src/components/landingPage/ClipboardSelect.tsx @@ -4,19 +4,19 @@ import { Fragment, useState } from "react"; const commands = [ { - command: "create t3-app@latest", + command: "create-t3-app@latest", manager: "npm", }, { - command: "create t3-app", + command: "create-t3-app", manager: "yarn", }, { - command: "create t3-app@latest", + command: "create-t3-app@latest", manager: "pnpm", }, { - command: "create t3-app@latest", + command: "create-t3-app@latest", manager: "bun", }, ]; diff --git a/www/src/components/landingPage/banner.astro b/www/src/components/landingPage/banner.astro index 4c4fdb6d16..92da66ae2e 100644 --- a/www/src/components/landingPage/banner.astro +++ b/www/src/components/landingPage/banner.astro @@ -73,7 +73,7 @@ import ClipboardSelect from "./ClipboardSelect";
- npx create t3-app@latest + npx create-t3-app@latest
diff --git a/www/src/components/landingPage/cli.tsx b/www/src/components/landingPage/cli.tsx index 8ee0f0fc7a..e742a59851 100644 --- a/www/src/components/landingPage/cli.tsx +++ b/www/src/components/landingPage/cli.tsx @@ -17,7 +17,7 @@ export default function CodeCard() {
- npm create t3-app@latest + npm create-t3-app@latest Date: Tue, 24 Oct 2023 21:28:35 +0100 Subject: [PATCH 2/2] chore: add changeset --- .changeset/tricky-suns-float.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/tricky-suns-float.md diff --git a/.changeset/tricky-suns-float.md b/.changeset/tricky-suns-float.md new file mode 100644 index 0000000000..5b3e0e2ca5 --- /dev/null +++ b/.changeset/tricky-suns-float.md @@ -0,0 +1,5 @@ +--- +"create-t3-app": patch +--- + +Updated the NPX links to fix them