diff --git a/packages/cache-manager/package.json b/packages/cache-manager/package.json index 28153ed8..bbe7a52d 100644 --- a/packages/cache-manager/package.json +++ b/packages/cache-manager/package.json @@ -21,7 +21,7 @@ "test": "xo --fix && vitest run --coverage", "test:ci": "xo && vitest run", "build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean", - "prepare": "pnpm run build" + "prepublish": "pnpm run build" }, "repository": { "type": "git", diff --git a/packages/cacheable-request/package.json b/packages/cacheable-request/package.json index c8c34294..5fb7bec3 100644 --- a/packages/cacheable-request/package.json +++ b/packages/cacheable-request/package.json @@ -18,7 +18,7 @@ "scripts": { "test": "xo --fix && vitest run --coverage", "test:ci": "xo && vitest run", - "prepare": "pnpm run build", + "prepublish": "pnpm run build", "build": "tsc --project tsconfig.build.json", "clean": "rimraf node_modules ./coverage ./test/testdb.sqlite ./dist" }, diff --git a/packages/cacheable/package.json b/packages/cacheable/package.json index c873df6c..b52b3fd3 100644 --- a/packages/cacheable/package.json +++ b/packages/cacheable/package.json @@ -22,7 +22,7 @@ "private": false, "scripts": { "build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean", - "prepare": "pnpm build", + "prepublish": "pnpm build", "test": "xo --fix && vitest run --coverage", "test:ci": "xo && vitest run", "clean": "rimraf ./dist ./coverage ./node_modules" diff --git a/packages/file-entry-cache/package.json b/packages/file-entry-cache/package.json index 600bb617..c0fd1831 100644 --- a/packages/file-entry-cache/package.json +++ b/packages/file-entry-cache/package.json @@ -30,7 +30,7 @@ ], "scripts": { "build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean", - "prepare": "pnpm build", + "prepublish": "pnpm build", "test": "xo --fix && vitest run --coverage", "test:ci": "xo && vitest run", "clean": "rimraf ./dist ./coverage ./node_modules" diff --git a/packages/flat-cache/package.json b/packages/flat-cache/package.json index 47aee2df..09ed428a 100644 --- a/packages/flat-cache/package.json +++ b/packages/flat-cache/package.json @@ -53,7 +53,7 @@ ], "scripts": { "build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean", - "prepare": "pnpm build", + "prepublish": "pnpm build", "test": "xo --fix && vitest run --coverage", "test:ci": "xo && vitest run", "clean": "rimraf ./dist ./coverage ./node_modules" diff --git a/packages/node-cache/package.json b/packages/node-cache/package.json index 1c8d59bb..012f1c63 100644 --- a/packages/node-cache/package.json +++ b/packages/node-cache/package.json @@ -32,7 +32,7 @@ ], "scripts": { "build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean", - "prepare": "pnpm build", + "prepublish": "pnpm build", "test": "xo --fix && vitest run --coverage", "test:ci": "xo && vitest run", "clean": "rimraf ./dist ./coverage ./node_modules"