@nrwl/workspace:workspace
Create an empty workspace.
Usage
nx generate workspace ...
By default, Nx will search for workspace
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/workspace:workspace ...
Show what will be generated without writing to disk:
nx g workspace ... --dry-run
Options
cli
nx
nx
, angular
CLI used for generating code and running tasks
directory
Format: path
The directory name to create the workspace in.
defaultBase
Default base branch for affected.
name
The name of the workspace.
npmScope
Npm scope for importing libs.
preset
Preset of the workspace.
packageManager
npm
, yarn
, pnpm
The package manager used to install dependencies.
style
css
The file extension to be used for style files.
skipInstall
false
Skip installing dependency packages.
skipGit
false
Skip initializing a git repository.