--- build/npm/postinstall.js.orig 2021-09-22 11:45:58 UTC +++ build/npm/postinstall.js @@ -21,8 +21,9 @@ function yarnInstall(location, opts) { const raw = process.env['npm_config_argv'] || '{}'; const argv = JSON.parse(raw); const original = argv.original || []; - const args = original.filter(arg => arg === '--ignore-optional' || arg === '--frozen-lockfile'); - if (opts.ignoreEngines) { + const passargs = ['--ignore-optional', '--frozen-lockfile', '--offline', '--no-progress', '--verbose']; + const args = original.filter(arg => passargs.includes(arg)); + if (opts.ignoreEngines) { args.push('--ignore-engines'); delete opts.ignoreEngines; } @@ -90,5 +91,5 @@ runtime "${runtime}"`; yarnInstall(watchPath); } -cp.execSync('git config pull.rebase merges'); -cp.execSync('git config blame.ignoreRevsFile .git-blame-ignore'); +// cp.execSync('git config pull.rebase merges'); +// cp.execSync('git config blame.ignoreRevsFile .git-blame-ignore');