nx/docs/generated/devkit/CreateDependencies.md
Craigory Coppola a7cf272d1f
feat(core): add api for v2 of project project graph plugins (#18032)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-08-10 14:58:29 -04:00

1.3 KiB

Type alias: CreateDependencies

Ƭ CreateDependencies: (context: CreateDependenciesContext) => ProjectGraphDependencyWithFile[] | Promise<ProjectGraphDependencyWithFile[]>

Type declaration

▸ (context): ProjectGraphDependencyWithFile[] | Promise<ProjectGraphDependencyWithFile[]>

A function which parses files in the workspace to create dependencies in the ProjectGraph Use validateDependency to validate dependencies

Parameters
Name Type
context CreateDependenciesContext
Returns

ProjectGraphDependencyWithFile[] | Promise<ProjectGraphDependencyWithFile[]>