CreateDependencies
Ƭ 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
Section titled “Type parameters”| Name | Type |
|---|---|
T | unknown |
Type declaration
Section titled “Type declaration”▸ (options, context): RawProjectGraphDependency[] | Promise<RawProjectGraphDependency[]>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
options | T | undefined |
context | CreateDependenciesContext |
Returns
Section titled “Returns”RawProjectGraphDependency[] | Promise<RawProjectGraphDependency[]>