fix(angular): passthrough skip package json option to generators (#13109)

CLOSED https://github.com/nrwl/nx/issues/13108
Fixes https://github.com/nrwl/nx/issues/13108
This commit is contained in:
Richard Roozenboom 2022-11-10 16:57:15 +01:00 committed by GitHub
parent 83646895c3
commit 3e867d1650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,6 +139,7 @@ async function addUnitTestRunner(
supportTsx: false, supportTsx: false,
skipSerializers: false, skipSerializers: false,
skipFormat: true, skipFormat: true,
skipPackageJson: options.skipPackageJson,
}); });
} else if (options.unitTestRunner === 'karma') { } else if (options.unitTestRunner === 'karma') {
await karmaProjectGenerator(host, { await karmaProjectGenerator(host, {
@ -182,6 +183,7 @@ async function addLinting(
unitTestRunner: options.unitTestRunner, unitTestRunner: options.unitTestRunner,
setParserOptionsProject: options.setParserOptionsProject, setParserOptionsProject: options.setParserOptionsProject,
skipFormat: true, skipFormat: true,
skipPackageJson: options.skipPackageJson,
}); });
} }