1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.addPackageWithInit = void 0;
|
4 | const schematics_1 = require("@angular-devkit/schematics");
|
5 | /**
|
6 | * Calls init _if_ the package does not already exist
|
7 | */
|
8 | function addPackageWithInit(packageName, testRunners = { unitTestRunner: 'jest', e2eTestRunner: 'cypress' }) {
|
9 | return (0, schematics_1.externalSchematic)(packageName, 'init', Object.assign({}, testRunners));
|
10 | }
|
11 | exports.addPackageWithInit = addPackageWithInit;
|
12 | //# sourceMappingURL=ng-add.js.map |
\ | No newline at end of file |