@nx/plugin:create-nodes

Create an Inference Plugin (createNodes) for an Nx Plugin.

Usage

1nx generate create-nodes ... 2

By default, Nx will search for create-nodes in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

1nx g @nx/plugin:create-nodes ... 2

Show what will be generated without writing to disk:

1nx g create-nodes ... --dry-run 2

Options

path

Required
string

The file path to the plugin. Relative to the current working directory.

configFile

string
Default: **/.my-plugin-config.json

The configuration file glob pattern to match (e.g., '**/my-config.json').

targetName

string
Default: echo

The default name for the target created by this plugin.

name

string

The plugin name.

skipReadme

boolean
Default: false

Do not create or update README.md with plugin documentation.

skipFormat

Internal
boolean
Default: false

Skip formatting files.