UNPKG

@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

12 lines (11 loc) 472 B
import { ProjectGraph } from '@nx/devkit'; /** * Gets all projects that depend (directly or transitively) on the given project. * * Uses breadth-first search to find all dependent projects. * * @param projectGraph - The project dependency graph * @param projectName - The project name to find dependents for * @returns Array of dependent project names */ export declare function getDependentProjectNames(projectGraph: ProjectGraph, projectName: string): string[];