UNPKG

nx

Version:

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

21 lines (20 loc) 850 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.handleHashGlob = handleHashGlob; exports.handleHashMultiGlob = handleHashMultiGlob; const workspace_root_1 = require("../../utils/workspace-root"); const workspace_context_1 = require("../../utils/workspace-context"); async function handleHashGlob(globs, exclude) { const files = await (0, workspace_context_1.hashWithWorkspaceContext)(workspace_root_1.workspaceRoot, globs, exclude); return { response: JSON.stringify(files), description: 'handleHashGlob', }; } async function handleHashMultiGlob(globs) { const files = await (0, workspace_context_1.hashMultiGlobWithWorkspaceContext)(workspace_root_1.workspaceRoot, globs); return { response: JSON.stringify(files), description: 'handleHashMultiGlob', }; }