From: Jérôme Benoit Date: Wed, 3 Apr 2024 07:32:36 +0000 (+0200) Subject: build: add packageManager field to package.json X-Git-Tag: v3.1.30~46 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c3024c5998f1aa6c228c5db083e160b6fd967d7c;p=poolifier.git build: add packageManager field to package.json Signed-off-by: Jérôme Benoit --- diff --git a/examples/typescript/http-client-pool/package.json b/examples/typescript/http-client-pool/package.json index 188898eb..3b1046f5 100644 --- a/examples/typescript/http-client-pool/package.json +++ b/examples/typescript/http-client-pool/package.json @@ -9,6 +9,7 @@ "node": "20.12.0", "pnpm": "8.15.6" }, + "packageManager": "pnpm@8.15.6", "scripts": { "build": "pnpm build:clean && tsc", "build:clean": "tsc --build --clean", diff --git a/examples/typescript/http-server-pool/express-cluster/package.json b/examples/typescript/http-server-pool/express-cluster/package.json index 6ddf666a..58c870f7 100644 --- a/examples/typescript/http-server-pool/express-cluster/package.json +++ b/examples/typescript/http-server-pool/express-cluster/package.json @@ -9,6 +9,7 @@ "node": "20.12.0", "pnpm": "8.15.6" }, + "packageManager": "pnpm@8.15.6", "scripts": { "build": "rollup --config --configPlugin typescript", "start": "node --enable-source-maps dist/main.cjs", diff --git a/examples/typescript/http-server-pool/express-hybrid/package.json b/examples/typescript/http-server-pool/express-hybrid/package.json index 458feb98..3defe94f 100644 --- a/examples/typescript/http-server-pool/express-hybrid/package.json +++ b/examples/typescript/http-server-pool/express-hybrid/package.json @@ -9,6 +9,7 @@ "node": "20.12.0", "pnpm": "8.15.6" }, + "packageManager": "pnpm@8.15.6", "scripts": { "build": "rollup --config --configPlugin typescript", "start": "node --enable-source-maps dist/main.cjs", diff --git a/examples/typescript/http-server-pool/express-worker_threads/package.json b/examples/typescript/http-server-pool/express-worker_threads/package.json index b39d4ac3..dab20306 100644 --- a/examples/typescript/http-server-pool/express-worker_threads/package.json +++ b/examples/typescript/http-server-pool/express-worker_threads/package.json @@ -9,6 +9,7 @@ "node": "20.12.0", "pnpm": "8.15.6" }, + "packageManager": "pnpm@8.15.6", "scripts": { "build": "pnpm build:clean && tsc", "build:clean": "tsc --build --clean", diff --git a/examples/typescript/http-server-pool/fastify-cluster/package.json b/examples/typescript/http-server-pool/fastify-cluster/package.json index 9abc1a62..83df3bab 100644 --- a/examples/typescript/http-server-pool/fastify-cluster/package.json +++ b/examples/typescript/http-server-pool/fastify-cluster/package.json @@ -9,6 +9,7 @@ "node": "20.12.0", "pnpm": "8.15.6" }, + "packageManager": "pnpm@8.15.6", "scripts": { "build": "rollup --config --configPlugin typescript", "start": "node --enable-source-maps dist/main.cjs", diff --git a/examples/typescript/http-server-pool/fastify-hybrid/package.json b/examples/typescript/http-server-pool/fastify-hybrid/package.json index 864d6a4c..a6ad0c9b 100644 --- a/examples/typescript/http-server-pool/fastify-hybrid/package.json +++ b/examples/typescript/http-server-pool/fastify-hybrid/package.json @@ -9,6 +9,7 @@ "node": "20.12.0", "pnpm": "8.15.6" }, + "packageManager": "pnpm@8.15.6", "scripts": { "build": "rollup --config --configPlugin typescript", "start": "node --enable-source-maps dist/main.cjs", diff --git a/examples/typescript/http-server-pool/fastify-worker_threads/package.json b/examples/typescript/http-server-pool/fastify-worker_threads/package.json index 3e6ee80e..8c42ea2c 100644 --- a/examples/typescript/http-server-pool/fastify-worker_threads/package.json +++ b/examples/typescript/http-server-pool/fastify-worker_threads/package.json @@ -9,6 +9,7 @@ "node": "20.12.0", "pnpm": "8.15.6" }, + "packageManager": "pnpm@8.15.6", "scripts": { "build": "pnpm build:clean && tsc", "build:clean": "tsc --build --clean", diff --git a/examples/typescript/smtp-client-pool/package.json b/examples/typescript/smtp-client-pool/package.json index 999d1cd5..c31c47b2 100644 --- a/examples/typescript/smtp-client-pool/package.json +++ b/examples/typescript/smtp-client-pool/package.json @@ -9,6 +9,7 @@ "node": "20.12.0", "pnpm": "8.15.6" }, + "packageManager": "pnpm@8.15.6", "scripts": { "build": "pnpm build:clean && tsc", "build:clean": "tsc --build --clean", diff --git a/examples/typescript/websocket-server-pool/ws-cluster/package.json b/examples/typescript/websocket-server-pool/ws-cluster/package.json index 30f5da32..6187c7c3 100644 --- a/examples/typescript/websocket-server-pool/ws-cluster/package.json +++ b/examples/typescript/websocket-server-pool/ws-cluster/package.json @@ -9,6 +9,7 @@ "node": "20.12.0", "pnpm": "8.15.6" }, + "packageManager": "pnpm@8.15.6", "scripts": { "build": "rollup --config --configPlugin typescript", "start": "node --enable-source-maps dist/main.cjs", diff --git a/examples/typescript/websocket-server-pool/ws-hybrid/package.json b/examples/typescript/websocket-server-pool/ws-hybrid/package.json index d6edc308..2231e1d3 100644 --- a/examples/typescript/websocket-server-pool/ws-hybrid/package.json +++ b/examples/typescript/websocket-server-pool/ws-hybrid/package.json @@ -9,6 +9,7 @@ "node": "20.12.0", "pnpm": "8.15.6" }, + "packageManager": "pnpm@8.15.6", "scripts": { "build": "rollup --config --configPlugin typescript", "start": "node --enable-source-maps dist/main.cjs", diff --git a/examples/typescript/websocket-server-pool/ws-worker_threads/package.json b/examples/typescript/websocket-server-pool/ws-worker_threads/package.json index 64257827..35ac1a4a 100644 --- a/examples/typescript/websocket-server-pool/ws-worker_threads/package.json +++ b/examples/typescript/websocket-server-pool/ws-worker_threads/package.json @@ -9,6 +9,7 @@ "node": "20.12.0", "pnpm": "8.15.6" }, + "packageManager": "pnpm@8.15.6", "scripts": { "build": "pnpm build:clean && tsc", "build:clean": "tsc --build --clean", diff --git a/package.json b/package.json index 7b4591aa..a03c96a9 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,6 @@ } }, "scripts": { - "preinstall": "npx --yes only-allow pnpm", "prepare": "node prepare.mjs", "build": "rollup --config --environment BUILD:development", "build:prod": "rollup --config", @@ -48,6 +47,7 @@ "node": "20.12.0", "pnpm": "8.15.6" }, + "packageManager": "pnpm@8.15.6", "repository": { "type": "git", "url": "https://github.com/poolifier/poolifier.git"