From c3024c5998f1aa6c228c5db083e160b6fd967d7c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 3 Apr 2024 09:32:36 +0200 Subject: [PATCH] build: add packageManager field to package.json MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- examples/typescript/http-client-pool/package.json | 1 + .../typescript/http-server-pool/express-cluster/package.json | 1 + .../typescript/http-server-pool/express-hybrid/package.json | 1 + .../http-server-pool/express-worker_threads/package.json | 1 + .../typescript/http-server-pool/fastify-cluster/package.json | 1 + .../typescript/http-server-pool/fastify-hybrid/package.json | 1 + .../http-server-pool/fastify-worker_threads/package.json | 1 + examples/typescript/smtp-client-pool/package.json | 1 + .../typescript/websocket-server-pool/ws-cluster/package.json | 1 + .../typescript/websocket-server-pool/ws-hybrid/package.json | 1 + .../websocket-server-pool/ws-worker_threads/package.json | 1 + package.json | 2 +- 12 files changed, 12 insertions(+), 1 deletion(-) 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" -- 2.34.1