Skip to content

Commit 43a9689

Browse files
clydinalexeagle
authored andcommitted
feat(@angular-devkit/schematics): support pnpm as a package manager option
1 parent a6f51f5 commit 43a9689

File tree

1 file changed

+7
-0
lines changed
  • packages/angular_devkit/schematics/tasks/node-package

1 file changed

+7
-0
lines changed

packages/angular_devkit/schematics/tasks/node-package/executor.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ const packageManagers: { [name: string]: PackageManagerProfile } = {
4040
installPackage: 'add',
4141
},
4242
},
43+
'pnpm': {
44+
quietArgument: '--silent',
45+
commands: {
46+
installAll: 'install',
47+
installPackage: 'install',
48+
},
49+
},
4350
};
4451

4552
export class UnknownPackageManagerException extends BaseException {

0 commit comments

Comments
 (0)