From 3228b23049e0ca9cacbe171f4697b66c0824d070 Mon Sep 17 00:00:00 2001 From: Peter Muessig Date: Thu, 14 Sep 2023 20:29:10 +0200 Subject: [PATCH] fix: ignore execution of scripts to avoid husky run --- generators/app/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/app/index.js b/generators/app/index.js index cbcf18e..b4d7b70 100644 --- a/generators/app/index.js +++ b/generators/app/index.js @@ -201,7 +201,7 @@ export default class extends Generator { async _npmInstall(dir, withDevDeps) { return new Promise( function (resolve, reject) { - spawn(hasYarn() ? "yarn" : "npm", ["install", "--no-progress", "--ignore-engines"], { + spawn(hasYarn() ? "yarn" : "npm", ["install", "--no-progress", "--ignore-engines", "--ignore-scripts"], { stdio: this.config.verbose ? "inherit" : "ignore", cwd: dir, env: {