fix: setting child concurrency during headless install (#3405)

close #3399
This commit is contained in:
Zoltan Kochan
2021-04-28 16:04:16 +03:00
committed by GitHub
parent b96d0520a2
commit 66dbd06e6f
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"supi": patch
---
Pass `childConcurrency` option to `@pnpm/headless`. Setting `childConcurrency` should have an effect during frozen lockfile installation.

View File

@@ -226,6 +226,7 @@ export async function mutateModules (
}
try {
await headless({
childConcurrency: opts.childConcurrency,
currentEngine: {
nodeVersion: opts.nodeVersion,
pnpmVersion: opts.packageManager.name === 'pnpm' ? opts.packageManager.version : '',