Skip to content

Commit ed7810f

Browse files
committed
chore: brings metrics config up to date
1 parent f9887d1 commit ed7810f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

configs/.dependency-cruiser-show-metrics-config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
}
3636
],
3737
"options": {
38-
"includeOnly": { "path": "^(bin|src)" },
38+
"includeOnly": { "path": "^(bin|src|types)" },
3939
"reporterOptions": {
4040
"text": {
4141
"highlightFocused": true
@@ -58,7 +58,7 @@
5858
{
5959
"criteria": { "matchesFocus": false },
6060
"attributes": {
61-
"fillcolor": "lightgrey"
61+
"color": "grey"
6262
}
6363
},
6464
{
@@ -71,7 +71,7 @@
7171
{
7272
"criteria": { "matchesReaches": false },
7373
"attributes": {
74-
"fillcolor": "lightgrey"
74+
"color": "grey"
7575
}
7676
},
7777
{

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@
9292
"depcruise:graph:view:diff": "node ./bin/dependency-cruise.js bin src --prefix vscode://file/$(pwd)/ --config configs/.dependency-cruiser-show-metrics-config.json --output-type dot --progress cli-feedback --focus \"$(watskeburt develop)\" | dot -T svg | node ./bin/wrap-stream-in-html.js | browser",
9393
"depcruise:report": "node ./bin/dependency-cruise.js src bin test configs types --output-type err-html --config configs/.dependency-cruiser-show-metrics-config.json --output-to dependency-violations.html",
9494
"depcruise:report:view": "node ./bin/dependency-cruise.js src bin test configs types --output-type err-html --config configs/.dependency-cruiser-show-metrics-config.json --output-to - | browser",
95-
"depcruise:focus": "node ./bin/dependency-cruise.js src bin test configs types tools --progress --config --output-type text --focus",
96-
"depcruise:reaches": "node ./bin/dependency-cruise.js src bin test configs types tools --progress --config --output-type text --reaches",
95+
"depcruise:focus": "node ./bin/dependency-cruise.js src bin test configs types tools --progress --config configs/.dependency-cruiser-show-metrics-config.json --output-type text --focus",
96+
"depcruise:reaches": "node ./bin/dependency-cruise.js src bin test configs types tools --progress --config configs/.dependency-cruiser-show-metrics-config.json --output-type text --reaches",
9797
"lint": "npm-run-all --parallel --aggregate-output lint:eslint lint:prettier lint:types",
9898
"lint:eslint": "eslint bin/dependency-cruise.js src test configs tools/**/*.mjs --cache --cache-location node_modules/.cache/eslint/",
9999
"lint:eslint:fix": "eslint --fix bin src test configs tools/**/*.mjs --cache --cache-location node_modules/.cache/eslint/",

0 commit comments

Comments
 (0)