TypeScriptintermediatecliAI Generated
Monorepo Dependency Graph Visualizer
Tool that analyzes a monorepo (npm/pnpm/yarn workspaces), builds the internal dependency graph, and detects circular dependencies.
5 stepsTypeScript · Node.js · commander · d3-graphviz · graphlib
Project Roadmap
- 01
Package discovery
Finds all package.json in the workspace; extracts name and dependencies.
- 02
Dependency graph
Builds a directed graph with graphlib: package → dependency.
- 03
Cycle detection
DFS with node coloring for cycle detection; reports full path.
- 04
Impact analysis
When a package changes, shows which other packages are affected.
- 05
SVG Export
Generates SVG diagram with d3-graphviz for browser visualization.
Resources
Ready to build this?
Fork the repo on GitHub and start building. A mentor will review your code when you open a PR.
5 steps
Tech Stack
TypeScriptNode.jscommanderd3-graphvizgraphlib