@nrwl/workspace:workspace-generator
Create a custom generator.
Usage
nx generate workspace-generator ...nx g workspace-schematic ... #sameBy default, Nx will search for workspace-generator in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/workspace:workspace-generator ...Show what will be generated without writing to disk:
nx g workspace-generator ... --dry-runOptions
name
string
Generator name.
skipFormat
boolean
Default:
falseSkip formatting files.