From 940a5701ec7cd7fba6d9b2798dd32f0c7f29e1ff Mon Sep 17 00:00:00 2001 From: Jack Franklin Date: Fri, 19 Jun 2020 13:44:49 +0100 Subject: [PATCH] chore: exclude api.ts from dependency graph (#6052) `api.ts` is a list of all our modules which is used to install a helper and by DocLint. It's not that useful for our dep graph because it literally requires the majority of modules so it just clutters up the diagram. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index abfac2c8..28569351 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "test-install": "scripts/test-install.sh", "generate-docs": "npm run tsc && api-extractor run --local --verbose && api-documenter markdown -i temp -o new-docs", "ensure-new-docs-up-to-date": "npm run generate-docs && exit `git status --porcelain | head -255 | wc -l`", - "generate-dependency-graph": "echo 'Requires graphviz installed locally!' && depcruise --do-not-follow '^node_modules' --output-type dot src/index.ts | dot -T png > dependency-chart.png" + "generate-dependency-graph": "echo 'Requires graphviz installed locally!' && depcruise --exclude 'api.ts' --do-not-follow '^node_modules' --output-type dot src/index.ts | dot -T png > dependency-chart.png" }, "files": [ "lib/",