UNPKG

nx

Version:

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

19 lines (18 loc) 1.11 kB
import { ProjectGraph, ProjectGraphProjectNode } from '../config/project-graph'; import type { ProjectConfiguration } from '../config/workspace-json-project-json'; 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[]; export declare function getProjectSourceRoot(project: ProjectConfiguration): string | undefined;