build: avoid npx prompt at pnpm i
[poolifier.git] / package.json
index d8e9657ef8d05c90580f652248bec0bd0bb05fd6..062fadd862552da0446f77f16d93da88f6e8710f 100644 (file)
@@ -11,7 +11,7 @@
     }
   },
   "scripts": {
-    "preinstall": "npx only-allow pnpm",
+    "preinstall": "npx --yes only-allow pnpm",
     "prepare": "node prepare.js",
     "build": "rollup --config --environment BUILD:development",
     "build:typedoc": "rollup --config --environment BUILD:development --environment DOCUMENTATION",
@@ -44,6 +44,9 @@
   "engines": {
     "node": ">=16.0.0"
   },
+  "volta": {
+    "node": "20.0.0"
+  },
   "repository": {
     "type": "git",
     "url": "git+https://github.com/poolifier/poolifier.git"
     "eslint-define-config": "^1.18.0",
     "eslint-import-resolver-typescript": "^3.5.5",
     "eslint-plugin-import": "^2.27.5",
-    "eslint-plugin-jsdoc": "^43.0.5",
+    "eslint-plugin-jsdoc": "^43.0.6",
     "eslint-plugin-n": "^15.7.0",
     "eslint-plugin-promise": "^6.1.1",
     "eslint-plugin-spellcheck": "^0.0.20",