"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const schematics_1 = require("@angular-devkit/schematics");
const xplat_1 = require("@nstudio/xplat");
function default_1(options) {
    return schematics_1.chain([
        schematics_1.mergeWith(schematics_1.apply(schematics_1.url('./_files'), [
            schematics_1.template(Object.assign(Object.assign({}, xplat_1.getDefaultTemplateOptions()), { name: options.name, xplatFolderName: xplat_1.XplatHelpers.getXplatFoldername('nativescript') })),
            schematics_1.move(options.path),
        ])),
    ]);
}
exports.default = default_1;
