dep_graph
Generate a JSON dependency tree for TypeScript projects. Configure entry points, exclusions, and depth to control analysis scope.
Instructions
Full dependency tree as JSON
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry | No | Entry file or directory (defaults to source_root) | |
| exclude | No | Directories to exclude | |
| tsconfig | No | Path to tsconfig.json | |
| max_depth | No | Max traversal depth from entry/root nodes. Omit for full graph. | |
| source_root | Yes | Source root directory to analyze | |
| exclude_patterns | No | Regex patterns to exclude files (e.g. "\.d\.ts$" to skip declaration files) |