Skip to content

Commit

Permalink
Merge pull request #31 from hpi-schul-cloud/detect-dependency-cycles
Browse files Browse the repository at this point in the history
Create detect-dependency-cycles.md
  • Loading branch information
CeEv authored May 28, 2024
2 parents fd659a2 + 6cdee21 commit df4a6b3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/Informations/detect-dependency-cycles.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Detect Dependency Cycles

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 .

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

0 comments on commit df4a6b3

Please sign in to comment.