@nrwl/workspace:new
Create an empty workspace.
Please do not extend this schema as it is part of Nx internal usage.
Create an empty workspace.
nx generate new ...
By default, Nx will search for new in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/workspace:new ...
Show what will be generated without writing to disk:
nx g new ... --dry-run
Application name.
Default base branch for affected.
express, koa, fastify, nest, noneThe framework which the application is using
eslinteslintThe tool to use for running lint checks.
The name of the workspace.
Npm scope for importing libs.
falseConnect the workspace to the free tier of the distributed cache provided by Nx Cloud.
What to create in the new workspace.
npm, yarn, pnpmThe package manager used to install dependencies.
trueAdd routing to the generated application.
cssThe file extension to be used for style files.
falseUse Standalone Components if generating an Angular application.
falseSkip installing dependency packages.
Extra properties of any type may be provided to this object.