Type alias: CreateDependencies<T>

Ƭ CreateDependencies<T>: (options: T | undefined, context: CreateDependenciesContext) => RawProjectGraphDependency[] | Promise<RawProjectGraphDependency[]>

Type parameters

NameType
Textends Record<string, unknown> = Record<string, unknown>

Type declaration

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

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

Parameters
NameType
optionsT | undefined
contextCreateDependenciesContext
Returns

RawProjectGraphDependency[] | Promise<RawProjectGraphDependency[]>