@nrwl/workspace:new
Create an empty workspace.
Usage
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-runOptions
appName
Application name.
cli
nxnx, angularCLI used for generating code and running tasks.
defaultBase
Default base branch for affected.
linter
eslinttslint, eslintThe tool to use for running lint checks.
name
The name of the workspace.
npmScope
Npm scope for importing libs.
nxCloud
falseConnect the workspace to the free tier of the distributed cache provided by Nx Cloud.
preset
What to create in the new workspace.
packageManager
npm, yarn, pnpmThe package manager used to install dependencies.
style
cssThe file extension to be used for style files.
skipInstall
falseSkip installing dependency packages.
skipGit
falseSkip initializing a git repository.
Additional Properties
Extra properties of any type may be provided to this object.