@nx/workspace:npm-package
Add a minimal npm package.
Add a minimal npm package.
1nx generate npm-package ...
2
By default, Nx will search for npm-package
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/workspace:npm-package ...
2
Show what will be generated without writing to disk:
1nx g npm-package ... --dry-run
2
A directory where the package is placed.
Package name.
We’ve teamed up with Bitovi to bring you an all new webinar. Join us May 28th for "Build Better,Ship Faster: Monorepos, Apps, & Component Libraries with Nx Cloud".