@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
.
The State of JS survey is live, featuring a monorepo tools sectionThe State of JS survey is live, featuring a monorepo tools sectionVote for us
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