@nx/workspace:convert-to-monorepo
Convert an Nx project to a monorepo.
Convert an Nx project to a monorepo.
1nx generate convert-to-monorepo ...
2
By default, Nx will search for convert-to-monorepo
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/workspace:convert-to-monorepo ...
2
Show what will be generated without writing to disk:
1nx g convert-to-monorepo ... --dry-run
2
Convert an Nx standalone project to a monorepo.:
1nx g @nx/workspace:monorepo
2
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".