nx/docs/api-workspace/npmscripts/affected-test.md
Bucky Maler 07d963befd fix(nx): npm scripts documentation generation
Before, a single instance of yargs was accumulating options, so commands parsed later would have options from prior commands. That's because all yargs options are global by default. Now, a new instance of yargs is required before each command is parsed, so global options aren't accumulated.

fixes #1567
2019-08-06 14:27:31 -04:00

72 lines
747 B
Markdown

# affected:test
Test projects affected by changes
## Usage
```bash
affected:test
```
## Options
### all
All projects
### base
Base of the current branch (usually master)
### exclude
Default: ``
Exclude certain projects from being processed
### files
A list of files delimited by commas
### head
Latest commit of the current branch (usually HEAD)
### help
Show help
### maxParallel
Default: `3`
Max number of parallel processes
### only-failed
Default: `false`
Isolate projects which previously failed
### parallel
Default: `false`
Parallelize the command
### uncommitted
Uncommitted changes
### untracked
Untracked changes
### verbose
Print additional error stack trace on failure
### version
Show version number