nx
Version:
14 lines (13 loc) • 922 B
TypeScript
import { ProjectGraph, ProjectGraphProjectNode } from '../config/project-graph';
export declare function projectHasTarget(project: ProjectGraphProjectNode, target: string): boolean;
export declare function projectHasTargetAndConfiguration(project: ProjectGraphProjectNode, target: string, configuration: string): any;
export declare function getSourceDirOfDependentProjects(projectName: string, projectGraph?: ProjectGraph): [projectDirs: string[], warnings: string[]];
/**
* Find all internal project dependencies.
* All the external (npm) dependencies will be filtered out unless includeExternalDependencies is set to true
* @param {string} parentNodeName
* @param {ProjectGraph} projectGraph
* @param includeExternalDependencies
* @returns {string[]}
*/
export declare function findAllProjectNodeDependencies(parentNodeName: string, projectGraph?: ProjectGraph, includeExternalDependencies?: boolean): string[];