@nrwl/nx-plugin:plugin
Create a Plugin for Nx.
Usage
nx generate plugin ...
By default, Nx will search for plugin
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/nx-plugin:plugin ...
Show what will be generated without writing to disk:
nx g plugin ... --dry-run
Examples
Generate libs/plugins/my-plugin
:
g plugin my-plugin --directory=plugins --importPath=@myorg/my-plugin