Skip to content

Commit

Permalink
fix: build in initialize script
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Dec 24, 2024
1 parent 398e947 commit 4d2cc12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"build": "tsup",
"format": "prettier .",
"initialize": "tsx ./bin/index.js --mode initialize",
"initialize": "pnpm build --no-dts && tsx ./bin/index.js --mode initialize",
"lint": "eslint . --max-warnings 0",
"lint:knip": "knip",
"lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line",
Expand Down
3 changes: 2 additions & 1 deletion src/steps/writing/creation/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ describe("createStructure", () => {
"tsx",
),
scripts: {
initialize: "tsx ./bin/index.js --mode initialize",
initialize:
"pnpm build --no-dts && tsx ./bin/index.js --mode initialize",
"test:create": "npx tsx script/create-test-e2e.ts",
"test:initialize": "npx tsx script/initialize-test-e2e.ts",
"test:migrate": "vitest run -r script/",
Expand Down

0 comments on commit 4d2cc12

Please sign in to comment.