@nrwl/workspace:npm-package
Add a minimal npm package.
Usage
nx generate npm-package ...By default, Nx will search for npm-package in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/workspace:npm-package ...Show what will be generated without writing to disk:
nx g npm-package ... --dry-runOptions
name
Required
string
Pattern:
^[a-zA-Z].*$Package name.