@nx/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 @nx/workspace:new ...
Show what will be generated without writing to disk:
nx g new ... --dry-run
Application name.
Default base branch for affected.
cypress
, jest
, detox
, none
The tool to use for running e2e tests.
express
, koa
, fastify
, nest
, none
The framework which the application is using
eslint
eslint
The tool to use for running lint checks.
The name of the workspace.
Npm scope for importing libs.
false
Connect the workspace to the free tier of the distributed cache provided by Nx Cloud.
true
Enable the App Router for this project.
What to create in the new workspace.
npm
, yarn
, pnpm
The package manager used to install dependencies.
true
Add routing to the generated application.
css
The file extension to be used for style files.
false
Use Standalone Components if generating an Angular application.
false
Skip installing dependency packages.
Extra properties of any type may be provided to this object.