Type alias: CreateNodesFunction<T>

Ƭ CreateNodesFunction<T>: (projectConfigurationFile: string, options: T | undefined, context: CreateNodesContext) => { externalNodes?: Record<string, ProjectGraphExternalNode> ; projects?: Record<string, ProjectConfiguration> }

Type parameters

NameType
Textends 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
NameType
projectConfigurationFilestring
optionsT | undefined
contextCreateNodesContext
Returns

Object

NameType
externalNodes?Record<string, ProjectGraphExternalNode>
projects?Record<string, ProjectConfiguration>