ng-afelio
Version:
Extended Angular CLI
14 lines (13 loc) • 520 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const schematics_1 = require("@angular-devkit/schematics");
function default_1(options) {
const { ['uiKit']: uiKit, ...newOptions } = options;
return async () => {
return (0, schematics_1.chain)([
(0, schematics_1.externalSchematic)('@schematics/angular', 'ng-new', newOptions),
(0, schematics_1.schematic)('ng-add', { uiKit: uiKit ? uiKit : 'none' }),
]);
};
}
exports.default = default_1;