title | description |
---|---|
exec - CLI command |
Executes any command as if it was a target on the project |
Executes any command as if it was a target on the project
nx exec
Install nx
globally to invoke the command directly using nx
, or use npx nx
, yarn nx
, or pnpm nx
.
Type: string
This is the configuration to use when performing tasks on projects
Type: string
Exclude certain projects from being processed
Type: boolean
Default: false
Show the task graph of the command
Type: boolean
Default: false
Stop command execution after the first failed task
Type: boolean
Default: false
Ignore cycles in the task graph
Type: string
Choices: [dynamic, static, stream, stream-without-prefixes, compact]
Defines how Nx emits outputs tasks logs
Type: string
Max number of parallel processes [default is 3]
Type: string
Target project
Type: string
This is the name of the tasks runner configured in nx.json
Type: boolean
Default: false
Rerun the tasks even when the results are available in the cache
Type: boolean
Default: false
Prints additional information about the commands (e.g., stack traces)
Type: boolean
Show version number