Type alias: NxPluginV2<TOptions>
Ƭ NxPluginV2<TOptions>: Object
A plugin for Nx which creates nodes and dependencies for the ProjectGraph
Type parameters
| Name | Type |
|---|---|
TOptions | unknown |
Type declaration
| Name | Type | Description |
|---|---|---|
createDependencies? | CreateDependencies<TOptions> | Provides a function to analyze files to create dependencies for the ProjectGraph |
createMetadata? | CreateMetadata<TOptions> | Provides a function to create metadata for the ProjectGraph |
createNodes? | CreateNodes<TOptions> | Provides a file pattern and function that retrieves configuration info from those files. e.g. { '**/*.csproj': buildProjectsFromCsProjFile } **Deprecated** Use createNodesV2 instead. In Nx 20 support for calling createNodes with a single file for the first argument will be removed. |
createNodesV2? | CreateNodesV2<TOptions> | Provides a file pattern and function that retrieves configuration info from those files. e.g. { '*/.csproj': buildProjectsFromCsProjFiles } In Nx 20 createNodes will be replaced with this property. In Nx 21, this property will be removed. |
name | string | - |