@nx/workspace:workspace-generator
Create a custom generator.
Create a custom generator.
1nx generate workspace-generator ...
2
1nx g workspace-schematic ... #same
2
By default, Nx will search for workspace-generator
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/workspace:workspace-generator ...
2
Show what will be generated without writing to disk:
1nx g workspace-generator ... --dry-run
2