Type alias: CreateDependencies<T>
ฦฌ CreateDependencies<T>: (options: T | undefined, context: CreateDependenciesContext) => RawProjectGraphDependency[] | Promise<RawProjectGraphDependency[]>
A function which parses files in the workspace to create dependencies in the ProjectGraph Use validateDependency to validate dependencies
Type parameters
| Name | Type |
|---|---|
T | unknown |
Type declaration
โธ (options, context): RawProjectGraphDependency[] | Promise<RawProjectGraphDependency[]>
Parameters
| Name | Type |
|---|---|
options | T | undefined |
context | CreateDependenciesContext |
Returns
RawProjectGraphDependency[] | Promise<RawProjectGraphDependency[]>