UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

15 lines (14 loc) 510 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createTree = createTree; const tree_1 = require("../tree"); /** * Creates a host for testing. */ function createTree() { const tree = new tree_1.FsTree('/virtual', false); // Allow prettier formatting to be applied to the tree for backwards compatibility within v20 // TODO: Decouple formatFiles and other formatting utilities from prettier to avoid this tree.write('.prettierrc', '{}'); return tree; }