nx/docs/generated/devkit/CreateDependencies.md
Craigory Coppola f2e20c81b6
cleanup(core): adjust create dependencies context (#19070)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-09-12 09:01:32 -04:00

1.3 KiB

Type alias: CreateDependencies

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

Type declaration

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

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

RawProjectGraphDependency[] | Promise<RawProjectGraphDependency[]>