diff --git a/docs/Informations/detect-dependency-cycles.md b/docs/Informations/detect-dependency-cycles.md new file mode 100644 index 0000000..e2c0559 --- /dev/null +++ b/docs/Informations/detect-dependency-cycles.md @@ -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 .