Avoid npx prompt at pnpm i
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 19 Apr 2023 22:21:23 +0000 (00:21 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 19 Apr 2023 22:21:23 +0000 (00:21 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
package.json

index f7e3f4b83756782794bd19bfe2c59893ef0015c8..9d30a9b7804fefd44fc80299b94d2b320466f29c 100644 (file)
@@ -23,7 +23,7 @@
     }
   ],
   "scripts": {
-    "preinstall": "npx only-allow pnpm",
+    "preinstall": "npx --yes only-allow pnpm",
     "prepare": "node prepare.js",
     "benchmark:busy-wait": "node busy-wait.js",
     "benchmark:empty-array": "node empty-array.js",