Skip to content

Commit 61e295e

Browse files
committed
Fix prepack script
1 parent aca49c6 commit 61e295e

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

.changeset/fine-mirrors-thank.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"planck-testbed": patch
3+
---
4+
5+
Fix prepack script

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"scripts": {
1010
"changeset": "changeset",
1111
"version": "changeset version",
12-
"publish": "changeset publish",
13-
"prepack": "pnpm -r build"
12+
"publish": "changeset publish"
1413
},
1514
"devDependencies": {
1615
"@changesets/cli": "^2.29.8"

packages/planck-testbed/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@
6363
"lint": "eslint './src/**/*.ts'",
6464
"pretty": "prettier --write './src/**/*.ts'",
6565
"test": "vitest run",
66-
"preflight": "npm run lint && npm run test:types && npm run test",
66+
"preflight": "pnpm run lint && pnpm run test:types && pnpm run test",
6767
"dev": "vite",
68+
"prepack": "pnpm build",
6869
"build": "vite build",
6970
"watch": "vite build --watch",
7071
"preview": "vite preview"

0 commit comments

Comments
 (0)