Skip to content

Commit 032f793

Browse files
committed
chore: Add prepack script to all packages
1 parent 57a12c1 commit 032f793

11 files changed

Lines changed: 20 additions & 11 deletions

File tree

packages/analytics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"dev:build": "buildc --deps-only -- wxt build",
99
"check": "pnpm build && check",
1010
"build": "buildc -- tsdown",
11-
"prepack": "pnpm -s build",
11+
"prepack": "pnpm build",
1212
"prepare": "buildc --deps-only -- wxt prepare"
1313
},
1414
"dependencies": {

packages/auto-icons/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
"scripts": {
4141
"build": "buildc -- tsdown",
4242
"check": "pnpm build && check",
43-
"test": "buildc --deps-only -- vitest"
43+
"test": "buildc --deps-only -- vitest",
44+
"prepack": "pnpm build"
4445
},
4546
"peerDependencies": {
4647
"wxt": ">=0.19.0"

packages/i18n/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"scripts": {
2424
"build": "buildc -- tsdown",
2525
"check": "buildc --deps-only -- check",
26-
"test": "buildc --deps-only -- vitest"
26+
"test": "buildc --deps-only -- vitest",
27+
"prepack": "pnpm build"
2728
},
2829
"dependencies": {
2930
"@wxt-dev/browser": "workspace:^",

packages/module-react/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
"dev": "wxt",
4343
"check": "pnpm build && check",
4444
"build": "buildc -- tsdown",
45-
"prepare": "buildc --deps-only -- wxt prepare"
45+
"prepare": "buildc --deps-only -- wxt prepare",
46+
"prepack": "pnpm build"
4647
},
4748
"peerDependencies": {
4849
"vite": "^5.4.19 || ^6.3.4 || ^7.0.0 || ^8.0.0-0",

packages/module-solid/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
"dev": "wxt",
4343
"check": "pnpm build && check",
4444
"build": "buildc -- tsdown",
45-
"prepare": "buildc --deps-only -- wxt prepare"
45+
"prepare": "buildc --deps-only -- wxt prepare",
46+
"prepack": "pnpm build"
4647
},
4748
"peerDependencies": {
4849
"wxt": ">=0.19.16"

packages/module-svelte/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
],
4141
"scripts": {
4242
"build": "buildc -- tsdown",
43-
"check": "pnpm build && check"
43+
"check": "pnpm build && check",
44+
"prepack": "pnpm build"
4445
},
4546
"peerDependencies": {
4647
"wxt": ">=0.18.6",

packages/module-vue/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
],
4141
"scripts": {
4242
"build": "buildc -- tsdown",
43-
"check": "pnpm build && check"
43+
"check": "pnpm build && check",
44+
"prepack": "pnpm build"
4445
},
4546
"peerDependencies": {
4647
"wxt": ">=0.19.16"

packages/runner/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"test": "buildc --deps-only -- vitest",
2626
"dev": "tsx --trace-warnings dev.ts",
2727
"build": "buildc -- tsdown",
28-
"prepublishOnly": "pnpm build"
28+
"prepack": "pnpm build"
2929
},
3030
"devDependencies": {
3131
"oxlint": "^1.51.0",

packages/storage/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"scripts": {
2828
"build": "buildc -- tsdown",
2929
"check": "buildc --deps-only -- check",
30-
"test": "buildc --deps-only -- vitest"
30+
"test": "buildc --deps-only -- vitest",
31+
"prepack": "pnpm build"
3132
},
3233
"dependencies": {
3334
"@wxt-dev/browser": "workspace:^",

packages/unocss/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
],
3434
"scripts": {
3535
"build": "buildc -- tsdown",
36-
"check": "buildc --deps-only -- check"
36+
"check": "buildc --deps-only -- check",
37+
"prepack": "pnpm build"
3738
},
3839
"peerDependencies": {
3940
"unocss": ">=0.60.0",

0 commit comments

Comments
 (0)