UNPKG

nx

Version:

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

13 lines (12 loc) 525 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.handleHashGlob = handleHashGlob; 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', }; }