Skip to content

Commit fe01a4b

Browse files
chore: adopt create engine's 'migrate' mode (#1778)
## PR Checklist - [x] Addresses an existing open issue: fixes #1764, fixes #1765 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Adds Block-level migrations with `migrate()`. These are pretty much all `rm` / `rm -rf` scripts, which now run in a command phase before installation. Includes some more snapshot tests for Blocks too. Corresponding `create` PR: bingo-js/bingo#69 💖
1 parent 54f0934 commit fe01a4b

25 files changed

+1467
-63
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"@clack/prompts": "^0.8.2",
4545
"@prettier/sync": "^0.5.2",
4646
"chalk": "^5.3.0",
47-
"create": "0.1.0-alpha.6",
47+
"create": "0.1.0-alpha.7",
4848
"execa": "^9.5.1",
4949
"git-remote-origin-url": "^4.0.0",
5050
"git-url-parse": "^16.0.0",
@@ -82,7 +82,7 @@
8282
"all-contributors-cli": "6.26.1",
8383
"c8": "10.1.2",
8484
"console-fail-test": "0.5.0",
85-
"create-testers": "0.1.0-alpha.6",
85+
"create-testers": "0.1.0-alpha.7",
8686
"cspell": "8.16.1",
8787
"eslint": "9.16.0",
8888
"eslint-plugin-jsdoc": "50.6.0",

pnpm-lock.yaml

Lines changed: 38 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/next/blocks/blockAllContributors.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ describe("blockAllContributors", () => {
5252
"npx -y all-contributors-cli generate",
5353
"npx -y all-contributors-cli add test-owner code,content,docs,ideas,infra,maintenance,projectManagement,tool",
5454
],
55-
"phase": 2,
55+
"phase": 3,
5656
},
5757
],
5858
}
@@ -119,7 +119,7 @@ describe("blockAllContributors", () => {
119119
"npx -y all-contributors-cli generate",
120120
"npx -y all-contributors-cli add test-owner code,content,docs,ideas,infra,maintenance,projectManagement,tool",
121121
],
122-
"phase": 2,
122+
"phase": 3,
123123
},
124124
],
125125
}

0 commit comments

Comments
 (0)