UNPKG

nx

Version:

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

9 lines (8 loc) 502 B
import { ProjectGraph, ProjectGraphExternalNode } from '../../../config/project-graph'; import { PackageJson } from '../../../utils/package-json'; /** * Prune project graph's external nodes and their dependencies * based on the pruned package.json */ export declare function pruneProjectGraph(graph: ProjectGraph, prunedPackageJson: PackageJson): ProjectGraph; export declare function findNodeMatchingVersion(graph: ProjectGraph, packageName: string, versionExpr: string): ProjectGraphExternalNode;