From faee72f68a2881aceda4bb332c73df8b6008df8c Mon Sep 17 00:00:00 2001 From: Cedric Evers <12080057+CeEv@users.noreply.github.com> Date: Tue, 28 May 2024 11:34:11 +0200 Subject: [PATCH] Create detect-dependency-cycles.md --- docs/Informations/detect-dependency-cycles.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 docs/Informations/detect-dependency-cycles.md diff --git a/docs/Informations/detect-dependency-cycles.md b/docs/Informations/detect-dependency-cycles.md new file mode 100644 index 0000000..96856f7 --- /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 +apt-get install graphviz +npx madge --extensions js,ts --circular --image graph.svg .