chore: Add prepack script to all packages

This commit is contained in:
Aaron
2026-03-06 08:43:51 -06:00
parent 57a12c1711
commit 032f7931e8
11 changed files with 20 additions and 11 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
"dev:build": "buildc --deps-only -- wxt build",
"check": "pnpm build && check",
"build": "buildc -- tsdown",
"prepack": "pnpm -s build",
"prepack": "pnpm build",
"prepare": "buildc --deps-only -- wxt prepare"
},
"dependencies": {
+2 -1
View File
@@ -40,7 +40,8 @@
"scripts": {
"build": "buildc -- tsdown",
"check": "pnpm build && check",
"test": "buildc --deps-only -- vitest"
"test": "buildc --deps-only -- vitest",
"prepack": "pnpm build"
},
"peerDependencies": {
"wxt": ">=0.19.0"
+2 -1
View File
@@ -23,7 +23,8 @@
"scripts": {
"build": "buildc -- tsdown",
"check": "buildc --deps-only -- check",
"test": "buildc --deps-only -- vitest"
"test": "buildc --deps-only -- vitest",
"prepack": "pnpm build"
},
"dependencies": {
"@wxt-dev/browser": "workspace:^",
+2 -1
View File
@@ -42,7 +42,8 @@
"dev": "wxt",
"check": "pnpm build && check",
"build": "buildc -- tsdown",
"prepare": "buildc --deps-only -- wxt prepare"
"prepare": "buildc --deps-only -- wxt prepare",
"prepack": "pnpm build"
},
"peerDependencies": {
"vite": "^5.4.19 || ^6.3.4 || ^7.0.0 || ^8.0.0-0",
+2 -1
View File
@@ -42,7 +42,8 @@
"dev": "wxt",
"check": "pnpm build && check",
"build": "buildc -- tsdown",
"prepare": "buildc --deps-only -- wxt prepare"
"prepare": "buildc --deps-only -- wxt prepare",
"prepack": "pnpm build"
},
"peerDependencies": {
"wxt": ">=0.19.16"
+2 -1
View File
@@ -40,7 +40,8 @@
],
"scripts": {
"build": "buildc -- tsdown",
"check": "pnpm build && check"
"check": "pnpm build && check",
"prepack": "pnpm build"
},
"peerDependencies": {
"wxt": ">=0.18.6",
+2 -1
View File
@@ -40,7 +40,8 @@
],
"scripts": {
"build": "buildc -- tsdown",
"check": "pnpm build && check"
"check": "pnpm build && check",
"prepack": "pnpm build"
},
"peerDependencies": {
"wxt": ">=0.19.16"
+1 -1
View File
@@ -25,7 +25,7 @@
"test": "buildc --deps-only -- vitest",
"dev": "tsx --trace-warnings dev.ts",
"build": "buildc -- tsdown",
"prepublishOnly": "pnpm build"
"prepack": "pnpm build"
},
"devDependencies": {
"oxlint": "^1.51.0",
+2 -1
View File
@@ -27,7 +27,8 @@
"scripts": {
"build": "buildc -- tsdown",
"check": "buildc --deps-only -- check",
"test": "buildc --deps-only -- vitest"
"test": "buildc --deps-only -- vitest",
"prepack": "pnpm build"
},
"dependencies": {
"@wxt-dev/browser": "workspace:^",
+2 -1
View File
@@ -33,7 +33,8 @@
],
"scripts": {
"build": "buildc -- tsdown",
"check": "buildc --deps-only -- check"
"check": "buildc --deps-only -- check",
"prepack": "pnpm build"
},
"peerDependencies": {
"unocss": ">=0.60.0",
+2 -1
View File
@@ -38,7 +38,8 @@
"dev": "wxt",
"check": "pnpm build && check",
"build": "buildc -- tsdown",
"prepare": "buildc --deps-only -- wxt prepare"
"prepare": "buildc --deps-only -- wxt prepare",
"prepack": "pnpm build"
},
"peerDependencies": {
"webextension-polyfill": "*",