@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
.
1nx generate preset ...
2
By default, Nx will search for preset
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/plugin:preset ...
2
Show what will be generated without writing to disk:
1nx g preset ... --dry-run
2
Creates a new Nx workspace containing an Nx plugin.:
1npx create-nx-plugin
2
Creates a new Nx workspace containing an Nx plugin.:
1npx create-nx-workspace --preset @nx/plugin
2
Plugin name
Name of package which creates a workspace
Use a project.json
configuration file instead of inlining the Nx configuration in the package.json
file.
Watch the replays of exciting talks on developer tooling and monorepos! Catch all the insightful presentations from the event on our YouTube channel.