UNPKG

@nxrocks/nx-flutter

Version:

Nx plugin adding first class support for Flutter in your Nx workspace

16 lines 809 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.projectGenerator = projectGenerator; const common_1 = require("@nxrocks/common"); const lib_1 = require("./lib"); const index_1 = require("../../index"); const plugin_1 = require("../../graph/plugin"); async function projectGenerator(tree, options) { const normalizedOptions = await (0, lib_1.normalizeOptions)(tree, options); await (0, lib_1.promptAdditionalOptions)(tree, normalizedOptions); (0, lib_1.generateProjectConfiguration)(tree, normalizedOptions); await (0, lib_1.generateFlutterProject)(tree, normalizedOptions); (0, common_1.addPluginToNxJson)(index_1.NX_FLUTTER_PKG, tree, (0, plugin_1.normalizePluginOptions)()); } exports.default = projectGenerator; //# sourceMappingURL=generator.js.map