@nxworker/workspace
Version:
Nx plugin providing generators for managing workspace files, including the move-file generator for safely moving files between projects while updating all imports
11 lines (10 loc) • 406 B
TypeScript
import { ProjectGraph } from '@nx/devkit';
/**
* Builds a reverse dependency map from the project graph.
*
* Maps each project to the set of projects that depend on it.
*
* @param projectGraph - The project dependency graph
* @returns Map from project name to set of dependent project names
*/
export declare function buildReverseDependencyMap(projectGraph: ProjectGraph): Map<string, Set<string>>;