Skip to content

Commit

Permalink
Update detect-dependency-cycles.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CeEv committed May 28, 2024
1 parent faee72f commit 6cdee21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/Informations/detect-dependency-cycles.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ You can use following package and command to detect dependency cycles in code.
https://www.npmjs.com/package/madge

### text export
npx madge --extensions js,ts --circular .
- npx madge --extensions js,ts --circular .

### image export
apt-get install graphviz
npx madge --extensions js,ts --circular --image graph.svg .
### image export (Ubuntu/Wsl)
- apt-get install graphviz
- npx madge --extensions js,ts --circular --image graph.svg .

0 comments on commit 6cdee21

Please sign in to comment.