UNPKG

@nrwl/workspace

Version:

The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.

15 lines 799 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.splitConfigurationIntoProjectJsonFiles = void 0; const tslib_1 = require("tslib"); const devkit_1 = require("@nrwl/devkit"); const convert_to_nx_project_1 = require("@nrwl/workspace/src/generators/convert-to-nx-project/convert-to-nx-project"); function splitConfigurationIntoProjectJsonFiles(tree) { return tslib_1.__awaiter(this, void 0, void 0, function* () { yield (0, convert_to_nx_project_1.default)(tree, { all: true }); yield (0, devkit_1.formatFiles)(tree); }); } exports.splitConfigurationIntoProjectJsonFiles = splitConfigurationIntoProjectJsonFiles; exports.default = splitConfigurationIntoProjectJsonFiles; //# sourceMappingURL=split-configuration-into-project-json-files.js.map