Open
Description
Description
I would like to add this young but already very nice tool on my CI and it would be awesome if a flag allows us to specify that we want a not live output, as JSON and HTML 😋
Usage suggestion
JSON reporter
- This JSON would be useful as a data source for other use cases (data processings) or visualizations
yarn run import-graph-visualizer \
--no-browser-open \
--report=json \
--outputPath=dist/my-branch-name \
--targets="apps/my-app/src/app/app.module.ts" \
--sources=""
HTML reporter
- As a code reviewer, I would like to quickly look at the difference introduced by the commit I am reviewing in term of imports in order to have the opportunity to visually identify an anomaly or a dissonance. For this use case, as the human eye is the added value, an HTML output is very nice.
yarn run import-graph-visualizer \
--no-browser-open \
--report=html \
--outputPath=dist/my-branch-name \
--targets="apps/my-app/src/app/app.module.ts" \
--sources=""
Note
Thank you for developing and sharing import-graph-visualizer
🙏 ❤️
Metadata
Metadata
Assignees
Labels
No labels