"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const schematics_1 = require("@angular-devkit/schematics");
function default_1(options) {
    if (!options.overwrite)
        options.overwrite = false;
    return schematics_1.chain([
        schematics_1.schematic('app-config', {
            // TODO app name 
            // options.appName
            overwrite: options.overwrite,
            appConfig: options.appConfig,
            tapConfig: options.tapConfig,
            config: options.config,
            configJson: options.configJson,
            rebuild: options.rebuild
        }),
        schematics_1.schematic('generate', {
            overwrite: options.overwrite,
            dryRun: options.dryRun,
            skipInstall: options.skipInstall
        }),
        schematics_1.schematic('pwa', {
            overwrite: true,
            skipInstall: options.skipInstall
        })
    ]);
}
exports.default = default_1;
//# sourceMappingURL=index.js.map