@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-runOptions
cli
string
CLI powering the workspace.
linter
string
Default:
eslintAccepted values:
tslint, eslintThe tool to use for running lint checks.
name
string
The name of the application.
npmScope
string
Npm scope for importing libs.
preset
string
The name of the preset.
packageManager
string
Accepted values:
npm, yarn, pnpmThe package manager used to install dependencies.
style
string
Default:
cssThe file extension to be used for style files.
standaloneConfig
boolean
Split the project configurations into <projectRoot>/project.json rather than including it inside workspace.json.