docs(core): update examples (#14335)
This commit is contained in:
parent
a7485d3ecd
commit
bf0aaeb213
@ -23,16 +23,22 @@ Test all projects:
|
||||
nx run-many --target=test
|
||||
```
|
||||
|
||||
Test proj1 and proj2:
|
||||
Test proj1 and proj2 in parallel:
|
||||
|
||||
```shell
|
||||
nx run-many --target=test --projects=proj1,proj2
|
||||
```
|
||||
|
||||
Test proj1 and proj2 in parallel:
|
||||
Test proj1 and proj2 in parallel using 5 workers:
|
||||
|
||||
```shell
|
||||
nx run-many --target=test --projects=proj1,proj2 --parallel=2
|
||||
nx run-many --target=test --projects=proj1,proj2 --parallel=5
|
||||
```
|
||||
|
||||
Test proj1 and proj2 in sequence:
|
||||
|
||||
```shell
|
||||
nx run-many --target=test --projects=proj1,proj2 --parallel=false
|
||||
```
|
||||
|
||||
Test all projects ending with `*-app` except `excluded-app`:
|
||||
|
||||
@ -23,16 +23,22 @@ Test all projects:
|
||||
nx run-many --target=test
|
||||
```
|
||||
|
||||
Test proj1 and proj2:
|
||||
Test proj1 and proj2 in parallel:
|
||||
|
||||
```shell
|
||||
nx run-many --target=test --projects=proj1,proj2
|
||||
```
|
||||
|
||||
Test proj1 and proj2 in parallel:
|
||||
Test proj1 and proj2 in parallel using 5 workers:
|
||||
|
||||
```shell
|
||||
nx run-many --target=test --projects=proj1,proj2 --parallel=2
|
||||
nx run-many --target=test --projects=proj1,proj2 --parallel=5
|
||||
```
|
||||
|
||||
Test proj1 and proj2 in sequence:
|
||||
|
||||
```shell
|
||||
nx run-many --target=test --projects=proj1,proj2 --parallel=false
|
||||
```
|
||||
|
||||
Test all projects ending with `*-app` except `excluded-app`:
|
||||
|
||||
@ -294,11 +294,15 @@ export const examples: Record<string, Example[]> = {
|
||||
},
|
||||
{
|
||||
command: 'run-many --target=test --projects=proj1,proj2',
|
||||
description: 'Test proj1 and proj2',
|
||||
description: 'Test proj1 and proj2 in parallel',
|
||||
},
|
||||
{
|
||||
command: 'run-many --target=test --projects=proj1,proj2 --parallel=2',
|
||||
description: 'Test proj1 and proj2 in parallel',
|
||||
command: 'run-many --target=test --projects=proj1,proj2 --parallel=5',
|
||||
description: 'Test proj1 and proj2 in parallel using 5 workers',
|
||||
},
|
||||
{
|
||||
command: 'run-many --target=test --projects=proj1,proj2 --parallel=false',
|
||||
description: 'Test proj1 and proj2 in sequence',
|
||||
},
|
||||
{
|
||||
command: 'run-many --target=test --projects=*-app --exclude excluded-app',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user