diff --git a/packages/core/package.json b/packages/core/package.json index 90993362..3b0c2bd1 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -10,7 +10,8 @@ }, "scripts": { "test": "vitest run", - "build": "vite build" + "build": "vite build", + "prepublishOnly": "pnpm build" }, "repository": { "type": "git", diff --git a/packages/csound/package.json b/packages/csound/package.json index b7c1ed04..e2bab142 100644 --- a/packages/csound/package.json +++ b/packages/csound/package.json @@ -8,7 +8,8 @@ "module": "dist/index.mjs" }, "scripts": { - "build": "vite build" + "build": "vite build", + "prepublishOnly": "npm run build" }, "repository": { "type": "git", diff --git a/packages/eval/package.json b/packages/eval/package.json index 558b2716..9b7caa5c 100644 --- a/packages/eval/package.json +++ b/packages/eval/package.json @@ -9,7 +9,8 @@ }, "scripts": { "build": "vite build", - "test": "vitest run" + "test": "vitest run", + "prepublishOnly": "npm run build" }, "type": "module", "directories": { diff --git a/packages/midi/package.json b/packages/midi/package.json index 291ffa0b..59baa83b 100644 --- a/packages/midi/package.json +++ b/packages/midi/package.json @@ -8,7 +8,8 @@ "module": "dist/index.mjs" }, "scripts": { - "build": "vite build" + "build": "vite build", + "prepublishOnly": "npm run build" }, "repository": { "type": "git", diff --git a/packages/mini/package.json b/packages/mini/package.json index 069ce2fa..5a6dcfc9 100644 --- a/packages/mini/package.json +++ b/packages/mini/package.json @@ -11,7 +11,8 @@ "scripts": { "test": "vitest run", "build:parser": "peggy -o krill-parser.js --format es ./krill.pegjs", - "build": "vite build" + "build": "vite build", + "prepublishOnly": "npm run build" }, "repository": { "type": "git", diff --git a/packages/osc/package.json b/packages/osc/package.json index 67ac7c10..4e8c3842 100644 --- a/packages/osc/package.json +++ b/packages/osc/package.json @@ -12,7 +12,8 @@ "tidal-sniffer": "node tidal-sniffer.js", "client": "npx serve -p 4321", "build-bin": "npx pkg server.js --targets node16-macos-x64,node16-win-x64,node16-linux-x64 --out-path bin", - "build": "vite build" + "build": "vite build", + "prepublishOnly": "npm run build" }, "repository": { "type": "git", diff --git a/packages/react/package.json b/packages/react/package.json index 398ca162..886da009 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -11,7 +11,8 @@ "dev": "vite", "build": "vite build", "watch": "vite build --watch", - "preview": "vite preview" + "preview": "vite preview", + "prepublishOnly": "npm run build" }, "repository": { "type": "git", diff --git a/packages/serial/package.json b/packages/serial/package.json index 5b5a4680..6d7fc6e3 100644 --- a/packages/serial/package.json +++ b/packages/serial/package.json @@ -8,7 +8,8 @@ "module": "dist/index.mjs" }, "scripts": { - "build": "vite build" + "build": "vite build", + "prepublishOnly": "npm run build" }, "repository": { "type": "git", diff --git a/packages/soundfonts/package.json b/packages/soundfonts/package.json index 9681ca02..d20b86aa 100644 --- a/packages/soundfonts/package.json +++ b/packages/soundfonts/package.json @@ -8,7 +8,8 @@ "module": "dist/index.mjs" }, "scripts": { - "build": "vite build" + "build": "vite build", + "prepublishOnly": "npm run build" }, "type": "module", "repository": { diff --git a/packages/tonal/package.json b/packages/tonal/package.json index 13ad0873..66a6cd53 100644 --- a/packages/tonal/package.json +++ b/packages/tonal/package.json @@ -9,7 +9,8 @@ }, "scripts": { "build": "vite build", - "test": "vitest run" + "test": "vitest run", + "prepublishOnly": "npm run build" }, "type": "module", "repository": { diff --git a/packages/tone/package.json b/packages/tone/package.json index 0c2adaa2..149f6adf 100644 --- a/packages/tone/package.json +++ b/packages/tone/package.json @@ -9,7 +9,8 @@ "module": "dist/index.mjs" }, "scripts": { - "build": "vite build" + "build": "vite build", + "prepublishOnly": "npm run build" }, "repository": { "type": "git", diff --git a/packages/transpiler/package.json b/packages/transpiler/package.json index fdd4ad51..3ef52f68 100644 --- a/packages/transpiler/package.json +++ b/packages/transpiler/package.json @@ -9,7 +9,8 @@ }, "scripts": { "build": "vite build", - "test": "vitest run" + "test": "vitest run", + "prepublishOnly": "npm run build" }, "repository": { "type": "git", diff --git a/packages/webaudio/package.json b/packages/webaudio/package.json index 74ad470a..48b1bcf6 100644 --- a/packages/webaudio/package.json +++ b/packages/webaudio/package.json @@ -14,7 +14,7 @@ "scripts": { "example": "npx parcel examples/repl.html", "build": "vite build", - "prepublish": "npm run build" + "prepublishOnly": "npm run build" }, "repository": { "type": "git", diff --git a/packages/webdirt/package.json b/packages/webdirt/package.json index fa69ecb7..1e08f1e6 100644 --- a/packages/webdirt/package.json +++ b/packages/webdirt/package.json @@ -9,7 +9,8 @@ "module": "dist/index.mjs" }, "scripts": { - "build": "vite build" + "build": "vite build", + "prepublishOnly": "npm run build" }, "repository": { "type": "git", diff --git a/packages/xen/package.json b/packages/xen/package.json index 50bae759..f5ba67ee 100644 --- a/packages/xen/package.json +++ b/packages/xen/package.json @@ -9,7 +9,8 @@ }, "scripts": { "build": "vite build", - "test": "vitest run" + "test": "vitest run", + "prepublishOnly": "npm run build" }, "repository": { "type": "git",