nx/docs/generated/devkit/NxPluginV2.md
Craigory Coppola 206247f9ad
feat(core): make createNodes async (#20195)
Co-authored-by: Jonathan Cammisuli <jon@cammisuli.ca>
2023-11-13 16:57:20 -05:00

2.7 KiB

Type alias: NxPluginV2<TOptions, TCreateNodes>

Ƭ NxPluginV2<TOptions, TCreateNodes>: Object

A plugin for Nx which creates nodes and dependencies for the ProjectGraph

Type parameters

Name Type
TOptions unknown
TCreateNodes extends CreateNodes<TOptions> | CreateNodesAsync<TOptions> = CreateNodes<TOptions> | CreateNodesAsync<TOptions>

Type declaration

Name Type Description
createDependencies? CreateDependencies<TOptions> Provides a function to analyze files to create dependencies for the ProjectGraph
createNodes? TCreateNodes Provides a file pattern and function that retrieves configuration info from those files. e.g. { '*/.csproj': buildProjectsFromCsProjFile }
name string -