From 55cff67e0b9dac78885ad831a539c17d6ca16db4 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Wed, 25 Oct 2023 17:35:44 -0500 Subject: [PATCH 01/27] Add debug information to display SHA values before and after the current commit. Also, validate changesets only if changes are made in /cli directory. --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d156313fa9..ffd08946c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,6 +86,12 @@ jobs: - name: Install root dependencies run: pnpm --filter root install + # Debugging + - name: Debug SHA values + run: | + echo "Before SHA: ${{ github.event.before }}" + echo "Current SHA: ${{ github.sha }}" + - name: Check for changes in /cli id: cli-check run: | @@ -94,7 +100,7 @@ jobs: # This will use the `changedFilePatterns` to check that a changeset has been added # if any matched file has been changed in /cli - name: Validate changeset if /cli modified - if: steps.cli-check.outputs.stdout != '' + if: steps.cli-check.outputs.stdout != '' && steps.cli-check.outputs.stdout != 'No changes in /cli' run: pnpm changeset status --since origin/next prettier: From 1d1ff156273d1a3aa94ebd1f9e62d25775346b68 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Wed, 25 Oct 2023 17:38:17 -0500 Subject: [PATCH 02/27] feat: Add debug statement in index.ts --- cli/src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/src/index.ts b/cli/src/index.ts index 5657401ea2..39b285171f 100644 --- a/cli/src/index.ts +++ b/cli/src/index.ts @@ -41,6 +41,8 @@ const main = async () => { const usePackages = buildPkgInstallerMap(packages); + // DEBUG + // e.g. dir/@mono/app returns ["@mono/app", "dir/app"] const [scopedAppName, appDir] = parseNameAndPath(appName); From 6a84a4489eb610227790099a7145c8cbb01bdb6c Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Wed, 25 Oct 2023 17:48:38 -0500 Subject: [PATCH 03/27] intermediary variable output to capture the result of the git diff command --- .github/workflows/ci.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ffd08946c8..cb47f8d190 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,23 +86,17 @@ jobs: - name: Install root dependencies run: pnpm --filter root install - # Debugging - - name: Debug SHA values - run: | - echo "Before SHA: ${{ github.event.before }}" - echo "Current SHA: ${{ github.sha }}" - - name: Check for changes in /cli id: cli-check run: | - git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^cli/' || echo "No changes in /cli" + output=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^cli/' || echo "No changes in /cli") + echo "cli-output=${output}" >> $GITHUB_ENV - # This will use the `changedFilePatterns` to check that a changeset has been added - # if any matched file has been changed in /cli - name: Validate changeset if /cli modified if: steps.cli-check.outputs.stdout != '' && steps.cli-check.outputs.stdout != 'No changes in /cli' run: pnpm changeset status --since origin/next + prettier: runs-on: ubuntu-latest name: Run Prettier From fd9d70822e77b98ee85aea407dd607dad18d3325 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Wed, 25 Oct 2023 17:50:36 -0500 Subject: [PATCH 04/27] Testing different check --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb47f8d190..b4ae87f305 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,14 +89,14 @@ jobs: - name: Check for changes in /cli id: cli-check run: | - output=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^cli/' || echo "No changes in /cli") - echo "cli-output=${output}" >> $GITHUB_ENV + git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^cli/' || echo "No changes in /cli" + # This will use the `changedFilePatterns` to check that a changeset has been added + # if any matched file has been changed in /cli - name: Validate changeset if /cli modified - if: steps.cli-check.outputs.stdout != '' && steps.cli-check.outputs.stdout != 'No changes in /cli' + if: steps.cli-check.outputs.stdout != 'No changes in /cli' run: pnpm changeset status --since origin/next - prettier: runs-on: ubuntu-latest name: Run Prettier From a89e8ec397ed1537c3110d1076fb86c9d5c3afc8 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Wed, 25 Oct 2023 17:54:52 -0500 Subject: [PATCH 05/27] revert change --- cli/src/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/cli/src/index.ts b/cli/src/index.ts index 39b285171f..5657401ea2 100644 --- a/cli/src/index.ts +++ b/cli/src/index.ts @@ -41,8 +41,6 @@ const main = async () => { const usePackages = buildPkgInstallerMap(packages); - // DEBUG - // e.g. dir/@mono/app returns ["@mono/app", "dir/app"] const [scopedAppName, appDir] = parseNameAndPath(appName); From fca241828fea1bb1fdcd42007058070aa1c90a31 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Wed, 25 Oct 2023 18:00:27 -0500 Subject: [PATCH 06/27] check for changes in cli against next --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4ae87f305..677ed09cfa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,7 +89,8 @@ jobs: - name: Check for changes in /cli id: cli-check run: | - git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^cli/' || echo "No changes in /cli" + git fetch origin next:next # Fetch the next branch + git diff --name-only next...${{ github.sha }} | grep '^cli/' || echo "No changes in /cli" # This will use the `changedFilePatterns` to check that a changeset has been added # if any matched file has been changed in /cli From 716a1ad42b1f49119eeb0b8193406682ec105b8d Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Wed, 25 Oct 2023 18:01:42 -0500 Subject: [PATCH 07/27] Add debug line to index.ts in cli/src --- cli/src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/src/index.ts b/cli/src/index.ts index 5657401ea2..932c35baaa 100644 --- a/cli/src/index.ts +++ b/cli/src/index.ts @@ -41,6 +41,8 @@ const main = async () => { const usePackages = buildPkgInstallerMap(packages); + // DEBUG LINE + // e.g. dir/@mono/app returns ["@mono/app", "dir/app"] const [scopedAppName, appDir] = parseNameAndPath(appName); From 154f3c2015a833aa6a0467f9d913b8d5abd4614f Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Wed, 25 Oct 2023 18:25:27 -0500 Subject: [PATCH 08/27] commit w/o ci change --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 677ed09cfa..66137b35f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,6 +94,7 @@ jobs: # This will use the `changedFilePatterns` to check that a changeset has been added # if any matched file has been changed in /cli + # NONE /ci CHANGE - name: Validate changeset if /cli modified if: steps.cli-check.outputs.stdout != 'No changes in /cli' run: pnpm changeset status --since origin/next From 24c55333691d2c74e77d69f3502bccd5876ab5d7 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Wed, 25 Oct 2023 18:30:50 -0500 Subject: [PATCH 09/27] revert to no /ci file changes --- .github/workflows/ci.yml | 1 - cli/src/index.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66137b35f1..677ed09cfa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,7 +94,6 @@ jobs: # This will use the `changedFilePatterns` to check that a changeset has been added # if any matched file has been changed in /cli - # NONE /ci CHANGE - name: Validate changeset if /cli modified if: steps.cli-check.outputs.stdout != 'No changes in /cli' run: pnpm changeset status --since origin/next diff --git a/cli/src/index.ts b/cli/src/index.ts index 932c35baaa..5657401ea2 100644 --- a/cli/src/index.ts +++ b/cli/src/index.ts @@ -41,8 +41,6 @@ const main = async () => { const usePackages = buildPkgInstallerMap(packages); - // DEBUG LINE - // e.g. dir/@mono/app returns ["@mono/app", "dir/app"] const [scopedAppName, appDir] = parseNameAndPath(appName); From d025fdcabf374cc8f3c3439c3bc613df0b6ddf26 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Wed, 25 Oct 2023 18:33:02 -0500 Subject: [PATCH 10/27] added change in /ci --- cli/src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/src/index.ts b/cli/src/index.ts index 5657401ea2..8d3a37b4d7 100644 --- a/cli/src/index.ts +++ b/cli/src/index.ts @@ -41,6 +41,8 @@ const main = async () => { const usePackages = buildPkgInstallerMap(packages); + // DEBUG CHANGE IN /CI DIR + // e.g. dir/@mono/app returns ["@mono/app", "dir/app"] const [scopedAppName, appDir] = parseNameAndPath(appName); From b49ae7659d5edec8de59fb6bed3be84deb5d87fb Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Wed, 25 Oct 2023 18:34:38 -0500 Subject: [PATCH 11/27] add changeset to test --- .changeset/hip-ligers-yell.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/hip-ligers-yell.md diff --git a/.changeset/hip-ligers-yell.md b/.changeset/hip-ligers-yell.md new file mode 100644 index 0000000000..47be6a92e3 --- /dev/null +++ b/.changeset/hip-ligers-yell.md @@ -0,0 +1,5 @@ +--- +"create-t3-app": patch +--- + +debug comment From 33fb1d6076765144d2adf5482125652b88fb06e4 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Wed, 25 Oct 2023 19:15:11 -0500 Subject: [PATCH 12/27] remove changeset --- .changeset/hip-ligers-yell.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .changeset/hip-ligers-yell.md diff --git a/.changeset/hip-ligers-yell.md b/.changeset/hip-ligers-yell.md deleted file mode 100644 index 47be6a92e3..0000000000 --- a/.changeset/hip-ligers-yell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-t3-app": patch ---- - -debug comment From 45c78c3a3e6eda047763cf5fd0f36e2c0d525882 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Wed, 25 Oct 2023 19:20:00 -0500 Subject: [PATCH 13/27] revert /ci change --- cli/src/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/cli/src/index.ts b/cli/src/index.ts index 8d3a37b4d7..5657401ea2 100644 --- a/cli/src/index.ts +++ b/cli/src/index.ts @@ -41,8 +41,6 @@ const main = async () => { const usePackages = buildPkgInstallerMap(packages); - // DEBUG CHANGE IN /CI DIR - // e.g. dir/@mono/app returns ["@mono/app", "dir/app"] const [scopedAppName, appDir] = parseNameAndPath(appName); From 36cb1071c84bf7344341755921ea90b2a35660ea Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Wed, 25 Oct 2023 19:21:46 -0500 Subject: [PATCH 14/27] removed redundant comment --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 677ed09cfa..cdc2f245a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,7 +89,7 @@ jobs: - name: Check for changes in /cli id: cli-check run: | - git fetch origin next:next # Fetch the next branch + git fetch origin next:next git diff --name-only next...${{ github.sha }} | grep '^cli/' || echo "No changes in /cli" # This will use the `changedFilePatterns` to check that a changeset has been added From 3901a7a7671728fb23c04139f2a1c488befebb78 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Wed, 25 Oct 2023 19:27:26 -0500 Subject: [PATCH 15/27] added /www change --- www/src/components/landingPage/banner.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/src/components/landingPage/banner.astro b/www/src/components/landingPage/banner.astro index d8fe48adcd..11920893c4 100644 --- a/www/src/components/landingPage/banner.astro +++ b/www/src/components/landingPage/banner.astro @@ -73,7 +73,7 @@ import ClipboardSelect from "./ClipboardSelect";
- npm create t3-app@latest + npm create t3-app@latest!!!!
From 7f1f2ab35bf65b86cd7b2c125cf19fa20fbfb171 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Thu, 26 Oct 2023 07:52:05 -0500 Subject: [PATCH 16/27] debug test --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cdc2f245a1..6df940789c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,8 +92,12 @@ jobs: git fetch origin next:next git diff --name-only next...${{ github.sha }} | grep '^cli/' || echo "No changes in /cli" - # This will use the `changedFilePatterns` to check that a changeset has been added - # if any matched file has been changed in /cli + # This will use the `changedFilePatterns` to check that a changeset has been added + # if any matched file has been changed in /cli + - name: Debug CLI Changes Output + run: | + echo "CLI changes output: '${{ steps.cli-check.outputs.stdout }}'" + - name: Validate changeset if /cli modified if: steps.cli-check.outputs.stdout != 'No changes in /cli' run: pnpm changeset status --since origin/next From f4de02f16ba70dcc1b95b5002cf6d35d1c911984 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Thu, 26 Oct 2023 07:54:27 -0500 Subject: [PATCH 17/27] refactored to single step, more debugging --- .github/workflows/ci.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6df940789c..4556d33476 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,21 +86,21 @@ jobs: - name: Install root dependencies run: pnpm --filter root install - - name: Check for changes in /cli - id: cli-check + - name: Check and Validate Changes in /cli with Debugging run: | + set -x git fetch origin next:next - git diff --name-only next...${{ github.sha }} | grep '^cli/' || echo "No changes in /cli" - - # This will use the `changedFilePatterns` to check that a changeset has been added - # if any matched file has been changed in /cli - - name: Debug CLI Changes Output - run: | - echo "CLI changes output: '${{ steps.cli-check.outputs.stdout }}'" - - - name: Validate changeset if /cli modified - if: steps.cli-check.outputs.stdout != 'No changes in /cli' - run: pnpm changeset status --since origin/next + changes=$(git diff --name-only next...${{ github.sha }} | grep '^cli/') + echo "Debug: Value of 'changes' variable: $changes" + if [[ -n "$changes" ]]; then + echo "Debug: Entering conditional block because 'changes' is non-empty." + echo "Changes detected in /cli: $changes" + pnpm changeset status --since origin/next + else + echo "Debug: Entering else block because 'changes' is empty." + echo "No changes in /cli" + fi + set +x prettier: runs-on: ubuntu-latest From a9675a04f459e2ab3cbf6bfd3d0f2eed6fe43fd7 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Thu, 26 Oct 2023 07:56:48 -0500 Subject: [PATCH 18/27] ensures we continue even if grep returns a non-zero exit code --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4556d33476..901440b32f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,7 +90,7 @@ jobs: run: | set -x git fetch origin next:next - changes=$(git diff --name-only next...${{ github.sha }} | grep '^cli/') + changes=$(git diff --name-only next...${{ github.sha }} | grep '^cli/' || true) echo "Debug: Value of 'changes' variable: $changes" if [[ -n "$changes" ]]; then echo "Debug: Entering conditional block because 'changes' is non-empty." From 43577f16123489205fc4ad7dce328036f1500813 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Thu, 26 Oct 2023 07:59:00 -0500 Subject: [PATCH 19/27] added change to /cli --- cli/src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/src/index.ts b/cli/src/index.ts index 5657401ea2..932c35baaa 100644 --- a/cli/src/index.ts +++ b/cli/src/index.ts @@ -41,6 +41,8 @@ const main = async () => { const usePackages = buildPkgInstallerMap(packages); + // DEBUG LINE + // e.g. dir/@mono/app returns ["@mono/app", "dir/app"] const [scopedAppName, appDir] = parseNameAndPath(appName); From 316a51cbe1ba1736c7d0fc027d1e21292d6d4dd3 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Thu, 26 Oct 2023 08:02:40 -0500 Subject: [PATCH 20/27] removed debugging from ci step --- .github/workflows/ci.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 901440b32f..7180c337a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,21 +86,16 @@ jobs: - name: Install root dependencies run: pnpm --filter root install - - name: Check and Validate Changes in /cli with Debugging + - name: Check and Validate Changes in /cli run: | - set -x git fetch origin next:next changes=$(git diff --name-only next...${{ github.sha }} | grep '^cli/' || true) - echo "Debug: Value of 'changes' variable: $changes" if [[ -n "$changes" ]]; then - echo "Debug: Entering conditional block because 'changes' is non-empty." echo "Changes detected in /cli: $changes" pnpm changeset status --since origin/next else - echo "Debug: Entering else block because 'changes' is empty." - echo "No changes in /cli" + echo "No changes detected in /cli" fi - set +x prettier: runs-on: ubuntu-latest From 5f2ad77eea35bc67ad26fb4a63cc20ef2384912d Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Thu, 26 Oct 2023 08:04:09 -0500 Subject: [PATCH 21/27] added changeset --- .changeset/modern-fireants-care.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/modern-fireants-care.md diff --git a/.changeset/modern-fireants-care.md b/.changeset/modern-fireants-care.md new file mode 100644 index 0000000000..77110ff6bd --- /dev/null +++ b/.changeset/modern-fireants-care.md @@ -0,0 +1,5 @@ +--- +"create-t3-app": patch +--- + +debug changesets From 8d2b3d59be9445db066b431d2fb910543ebed735 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Thu, 26 Oct 2023 08:10:58 -0500 Subject: [PATCH 22/27] added exit state to ci step, change to ./upgrades --- .github/workflows/ci.yml | 7 +++++++ upgrade/src/app/page.tsx | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7180c337a9..c09159959e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,6 +93,13 @@ jobs: if [[ -n "$changes" ]]; then echo "Changes detected in /cli: $changes" pnpm changeset status --since origin/next + exit_status=$? + echo "Changeset status: $exit_status" + if [[ $exit_status -eq 0 ]]; then + echo "Changeset validation succeeded." + else + echo "Changeset validation failed." + fi else echo "No changes detected in /cli" fi diff --git a/upgrade/src/app/page.tsx b/upgrade/src/app/page.tsx index f6b618f594..c3e51ddc8a 100644 --- a/upgrade/src/app/page.tsx +++ b/upgrade/src/app/page.tsx @@ -8,7 +8,7 @@ export default async function Page() {

- Upgrade T3 App + Upgrade T3 App DEBUG CHANGE!

From 8af60f0114036db40e5b6ef914a618d0a7a8682e Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Thu, 26 Oct 2023 08:13:16 -0500 Subject: [PATCH 23/27] rm changeset --- .changeset/modern-fireants-care.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .changeset/modern-fireants-care.md diff --git a/.changeset/modern-fireants-care.md b/.changeset/modern-fireants-care.md deleted file mode 100644 index 77110ff6bd..0000000000 --- a/.changeset/modern-fireants-care.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-t3-app": patch ---- - -debug changesets From d2b31409e2658d87e7138ee3c68469143fbae2cd Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Thu, 26 Oct 2023 08:18:17 -0500 Subject: [PATCH 24/27] removed last debug line from ci, rm ./cli change --- .github/workflows/ci.yml | 1 - cli/src/index.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c09159959e..300d1f3a7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,7 +94,6 @@ jobs: echo "Changes detected in /cli: $changes" pnpm changeset status --since origin/next exit_status=$? - echo "Changeset status: $exit_status" if [[ $exit_status -eq 0 ]]; then echo "Changeset validation succeeded." else diff --git a/cli/src/index.ts b/cli/src/index.ts index 932c35baaa..5657401ea2 100644 --- a/cli/src/index.ts +++ b/cli/src/index.ts @@ -41,8 +41,6 @@ const main = async () => { const usePackages = buildPkgInstallerMap(packages); - // DEBUG LINE - // e.g. dir/@mono/app returns ["@mono/app", "dir/app"] const [scopedAppName, appDir] = parseNameAndPath(appName); From 7beeb8419a1a37add9db7b77704182c294281dd0 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Thu, 26 Oct 2023 08:22:44 -0500 Subject: [PATCH 25/27] added /cli change w/ changeset --- .changeset/clean-flowers-dress.md | 5 +++++ cli/src/index.ts | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/clean-flowers-dress.md diff --git a/.changeset/clean-flowers-dress.md b/.changeset/clean-flowers-dress.md new file mode 100644 index 0000000000..9f22829f3e --- /dev/null +++ b/.changeset/clean-flowers-dress.md @@ -0,0 +1,5 @@ +--- +"create-t3-app": patch +--- + +asd diff --git a/cli/src/index.ts b/cli/src/index.ts index 5657401ea2..932c35baaa 100644 --- a/cli/src/index.ts +++ b/cli/src/index.ts @@ -41,6 +41,8 @@ const main = async () => { const usePackages = buildPkgInstallerMap(packages); + // DEBUG LINE + // e.g. dir/@mono/app returns ["@mono/app", "dir/app"] const [scopedAppName, appDir] = parseNameAndPath(appName); From ce0331285b617f371559bb6fe44fbb9b8887052a Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Thu, 26 Oct 2023 08:25:14 -0500 Subject: [PATCH 26/27] remove changeset --- .changeset/clean-flowers-dress.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .changeset/clean-flowers-dress.md diff --git a/.changeset/clean-flowers-dress.md b/.changeset/clean-flowers-dress.md deleted file mode 100644 index 9f22829f3e..0000000000 --- a/.changeset/clean-flowers-dress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-t3-app": patch ---- - -asd From c90000c7c2d865392b0c5fe4f61fdff2c2467923 Mon Sep 17 00:00:00 2001 From: Jacksonmills Date: Thu, 26 Oct 2023 08:28:33 -0500 Subject: [PATCH 27/27] revert all debug changes --- cli/src/index.ts | 2 -- upgrade/src/app/page.tsx | 2 +- www/src/components/landingPage/banner.astro | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cli/src/index.ts b/cli/src/index.ts index 932c35baaa..5657401ea2 100644 --- a/cli/src/index.ts +++ b/cli/src/index.ts @@ -41,8 +41,6 @@ const main = async () => { const usePackages = buildPkgInstallerMap(packages); - // DEBUG LINE - // e.g. dir/@mono/app returns ["@mono/app", "dir/app"] const [scopedAppName, appDir] = parseNameAndPath(appName); diff --git a/upgrade/src/app/page.tsx b/upgrade/src/app/page.tsx index c3e51ddc8a..f6b618f594 100644 --- a/upgrade/src/app/page.tsx +++ b/upgrade/src/app/page.tsx @@ -8,7 +8,7 @@ export default async function Page() {

- Upgrade T3 App DEBUG CHANGE! + Upgrade T3 App

diff --git a/www/src/components/landingPage/banner.astro b/www/src/components/landingPage/banner.astro index 11920893c4..d8fe48adcd 100644 --- a/www/src/components/landingPage/banner.astro +++ b/www/src/components/landingPage/banner.astro @@ -73,7 +73,7 @@ import ClipboardSelect from "./ClipboardSelect";
- npm create t3-app@latest!!!! + npm create t3-app@latest