We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f59c9a1 commit e43031dCopy full SHA for e43031d
packages/schematics/angular/library/index.ts
@@ -246,7 +246,9 @@ export default function (options: LibraryOptions): Rule {
246
project: options.name,
247
}),
248
(_tree: Tree, context: SchematicContext) => {
249
- context.addTask(new NodePackageInstallTask());
+ if (!options.skipPackageJson) {
250
+ context.addTask(new NodePackageInstallTask());
251
+ }
252
},
253
])(host, context);
254
};
0 commit comments