From 6cdee21b49daf06857727eac23f198e7c0ed9edc Mon Sep 17 00:00:00 2001 From: Cedric Evers <12080057+CeEv@users.noreply.github.com> Date: Tue, 28 May 2024 11:36:29 +0200 Subject: [PATCH] Update detect-dependency-cycles.md --- docs/Informations/detect-dependency-cycles.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Informations/detect-dependency-cycles.md b/docs/Informations/detect-dependency-cycles.md index 96856f7..e2c0559 100644 --- a/docs/Informations/detect-dependency-cycles.md +++ b/docs/Informations/detect-dependency-cycles.md @@ -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 .