40 lines
484 B
Markdown
40 lines
484 B
Markdown
# dep-graph
|
|
|
|
Graph dependencies within workspace
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
nx dep-graph
|
|
```
|
|
|
|
Install `@nrwl/cli` globally to invoke the command directly using `nx`, or use `npm run nx` or `yarn nx`.
|
|
|
|
### Examples
|
|
|
|
Open the dep graph of the workspace in the browser:
|
|
|
|
```bash
|
|
nx dep-graph
|
|
```
|
|
|
|
Save the dep graph into a json file:
|
|
|
|
```bash
|
|
nx dep-graph --file=output.json
|
|
```
|
|
|
|
## Options
|
|
|
|
### file
|
|
|
|
output file (e.g. --file=output.json)
|
|
|
|
### help
|
|
|
|
Show help
|
|
|
|
### version
|
|
|
|
Show version number
|