@nrwl/workspace:preset
Creates applications in a new workspace.
Usage
nx generate preset ...
By default, Nx will search for preset
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/workspace:preset ...
Show what will be generated without writing to disk:
nx g preset ... --dry-run
Options
cli
CLI powering the workspace.
linter
eslint
tslint
, eslint
The tool to use for running lint checks.
name
The name of the application.
npmScope
Npm scope for importing libs.
preset
The name of the preset.
packageManager
npm
, yarn
, pnpm
The package manager used to install dependencies.
style
css
The file extension to be used for style files.
standaloneConfig
Split the project configurations into <projectRoot>/project.json
rather than including it inside workspace.json
.