build: add packageManager field to package.json
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 3 Apr 2024 07:21:57 +0000 (09:21 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 3 Apr 2024 07:21:57 +0000 (09:21 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
package.json

index 0c50a7ac92d1c9b82687c82af83e983c1f152c68..0224b2a9b065daca13fb70e1b13126d393815711 100644 (file)
@@ -7,6 +7,7 @@
     "node": ">=18.x",
     "pnpm": ">=8.6.0"
   },
+  "packageManager": "pnpm@8.x.x",
   "type": "module",
   "volta": {
     "node": "20.12.0",
@@ -32,7 +33,6 @@
     }
   },
   "scripts": {
-    "preinstall": "npx --yes only-allow pnpm",
     "prepare": "node prepare.mjs",
     "benchmark:busy-wait": "node busy-wait.mjs",
     "benchmark:deep-clone-object": "node deep-clone-object.mjs",