mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 04:22:01 +00:00
Adds a new package under `scripts/internal-dependency-trace` that can be used to generate a rendering of any internal file dependency graph. Default configured to generate the directed dependency graph of `packages/cli/src/index.ts`
333 B
333 B
Internal Dependency Trace
This script will generate a Mermaid directed graph as an SVG image showing the dependency connections between files starting with the input file as an entrypoint.
- Set input file in
src/index.js pnpm ipnpm generate- Open
output/trace.svgin a browser