@nx/plugin:preset
Initializes a workspace with an nx-plugin inside of it. Use as: create-nx-plugin
or create-nx-workspace --preset @nx/nx-plugin
.
Please do not extend this schema as it is part of Nx internal usage.
Initializes a workspace with an nx-plugin inside of it. Use as: create-nx-plugin
or create-nx-workspace --preset @nx/nx-plugin
.
nx generate preset ...
By default, Nx will search for preset
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nx/plugin:preset ...
Show what will be generated without writing to disk:
nx g preset ... --dry-run
Creates a new Nx workspace containing an Nx plugin.:
npx create-nx-plugin
Creates a new Nx workspace containing an Nx plugin.:
npx create-nx-workspace --preset @nx/plugin
Plugin name
Name of package which creates a workspace