@taiga-ui/cdk
Version:
Base library for creating Angular components and applications using Taiga UI principles regarding of actual visual appearance
13 lines (12 loc) • 530 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getFileSystem = void 0;
const ng_morph_1 = require("ng-morph");
const constants_1 = require("../../constants");
const project_root_1 = require("../../utils/project-root");
function getFileSystem(tree) {
const project = (0, ng_morph_1.createProject)(tree, (0, project_root_1.projectRoot)(), constants_1.ALL_FILES);
(0, ng_morph_1.setActiveProject)(project);
return project.getFileSystem().fs;
}
exports.getFileSystem = getFileSystem;