diff --git a/package.json b/package.json index 66106f3c..21920e2b 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,10 @@ "private": true, "type": "module", "scripts": { - "stub": "pnpm -r run prepack --stub", + "stub": "pnpm -r run build --stub", "build": "pnpm run build:core && pnpm run build:prompts", - "build:core": "pnpm --filter @clack/core run prepack", - "build:prompts": "pnpm --filter @clack/prompts run prepack", + "build:core": "pnpm --filter @clack/core run build", + "build:prompts": "pnpm --filter @clack/prompts run build", "start": "pnpm --filter @example/basic run start" }, "devDependencies": { diff --git a/packages/core/package.json b/packages/core/package.json index a96431ed..b6968df7 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -49,7 +49,7 @@ "license": "MIT", "packageManager": "pnpm@7.6.0", "scripts": { - "prepack": "unbuild" + "build": "unbuild" }, "dependencies": { "picocolors": "^1.0.0", diff --git a/packages/prompts/package.json b/packages/prompts/package.json index c82c51e9..cae3b32f 100644 --- a/packages/prompts/package.json +++ b/packages/prompts/package.json @@ -49,7 +49,7 @@ ], "packageManager": "pnpm@7.6.0", "scripts": { - "prepack": "unbuild" + "build": "unbuild" }, "dependencies": { "@clack/core": "^0.1.5",