docs(nx): fix affected help comand
This commit is contained in:
parent
885dfd755f
commit
eebe9fae38
@ -235,7 +235,7 @@ The above command will run the `build` configuration against the `myapp` project
|
||||
The following commands are general commands to peform specific tasks against projects in your workspace, or against your workspace as a whole.
|
||||
|
||||
| Command | Description |
|
||||
| --------- | --------------------------------------------------------------------------------------- |
|
||||
| ------------------- | --------------------------------------------------------------------------------------- |
|
||||
| serve | Build the application, start up a development web server, and rebuild/reload on changes |
|
||||
| build | Build and bundle the application for distribution |
|
||||
| dep-graph | Generate a dependency graph for the project |
|
||||
@ -261,6 +261,12 @@ Display the list of apps affected by the current changes
|
||||
nx affected:apps
|
||||
```
|
||||
|
||||
Display the help usage for available options to determine the affected apps.
|
||||
|
||||
```sh
|
||||
nx affected:apps --help
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### affected:libs
|
||||
@ -271,6 +277,12 @@ Display the list of libs affected by the current changes
|
||||
nx affected:libs
|
||||
```
|
||||
|
||||
Display the help usage for available options to determine the affected libs.
|
||||
|
||||
```sh
|
||||
nx affected:libs --help
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### affected:build
|
||||
|
||||
@ -203,7 +203,6 @@ You can also set default schematics for your workspace by configuring the `defau
|
||||
|
||||
Setting `@nrwl/web` as the default collection allows you to use shorthand syntax to run the schematics command. Without a default, you have to specify the collection for the schematics. -->
|
||||
|
||||
|
||||
```sh
|
||||
nx g @nrwl/web:app mysecondapp
|
||||
```
|
||||
@ -239,7 +238,7 @@ The above command will run the `build` configuration against the `myapp` project
|
||||
The following commands are general commands to peform specific tasks against projects in your workspace, or against your workspace as a whole.
|
||||
|
||||
| Command | Description |
|
||||
| --------- | --------------------------------------------------------------------------------------- |
|
||||
| ------------------- | --------------------------------------------------------------------------------------- |
|
||||
| serve | Build the application, start up a development web server, and rebuild/reload on changes |
|
||||
| build | Build and bundle the application for distribution |
|
||||
| dep-graph | Generate a dependency graph for the project |
|
||||
@ -265,6 +264,12 @@ Display the list of apps affected by the current changes
|
||||
nx affected:apps
|
||||
```
|
||||
|
||||
Display the help usage for available options to determine the affected apps.
|
||||
|
||||
```sh
|
||||
nx affected:apps --help
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### affected:libs
|
||||
@ -275,6 +280,12 @@ Display the list of libs affected by the current changes
|
||||
nx affected:libs
|
||||
```
|
||||
|
||||
Display the help usage for available options to determine the affected libs.
|
||||
|
||||
```sh
|
||||
nx affected:libs --help
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### affected:build
|
||||
@ -407,10 +418,4 @@ nx affected:dep-graph
|
||||
|
||||
### affected
|
||||
|
||||
Display the help usage for available options to determine the affected projects.
|
||||
|
||||
```sh
|
||||
nx affected
|
||||
```
|
||||
|
||||
You can read more about these commands in the guide about [only rebuilding and retesting what is affected](/web/guides/monorepo-affected).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user