nx
Version:
13 lines (12 loc) • 515 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.getNxInstallationPath = getNxInstallationPath;
exports.getNxRequirePaths = getNxRequirePaths;
const path_1 = require("path");
const workspace_root_1 = require("./workspace-root");
function getNxInstallationPath(root = workspace_root_1.workspaceRoot) {
return (0, path_1.join)(root, '.nx', 'installation');
}
function getNxRequirePaths(root = workspace_root_1.workspaceRoot) {
return [root, getNxInstallationPath(root)];
}
;