1.9 KiB
1.9 KiB
Type alias: CreateNodesFunction<T>
Ƭ CreateNodesFunction<T>: (projectConfigurationFile: string, options: T | undefined, context: CreateNodesContext) => { externalNodes?: Record<string, ProjectGraphExternalNode> ; projects?: Record<string, ProjectConfiguration> }
Type parameters
| Name | Type |
|---|---|
T |
extends Record<string, unknown> = Record<string, unknown> |
Type declaration
▸ (projectConfigurationFile, options, context): Object
A function which parses a configuration file into a set of nodes. Used for creating nodes for the ProjectGraph
Parameters
| Name | Type |
|---|---|
projectConfigurationFile |
string |
options |
T | undefined |
context |
CreateNodesContext |
Returns
Object
| Name | Type |
|---|---|
externalNodes? |
Record<string, ProjectGraphExternalNode> |
projects? |
Record<string, ProjectConfiguration> |