Skip to content

Commit

Permalink
Update pnpm to allow installing dependencies in a monorepo (#7566)
Browse files Browse the repository at this point in the history
As with Yarn 2, PNPM needs the -W parameter to install packages in root.
  • Loading branch information
PetterRuud committed Jan 26, 2022
1 parent a930ba5 commit 0de7372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/package-manager/src/Pnpm.js
Expand Up @@ -84,7 +84,7 @@ export class Pnpm implements PackageInstaller {
}: InstallerOptions): Promise<void> {
let args = ['add', '--reporter', 'ndjson'];
if (saveDev) {
args.push('-D');
args.push('-D', '-W');
}
args = args.concat(modules.map(npmSpecifierFromModuleRequest));

Expand Down

0 comments on commit 0de7372

Please sign in to comment.