Add script to generate package dependencies, and add dependency diagram - #100
Merged
Merged
Conversation
Copilot started reviewing on behalf of
Johan Broberg (pontemonti)
December 4, 2025 07:23
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds tooling to automatically generate and visualize the internal package dependency structure of the Microsoft Agent 365 SDK Node.js monorepo. The new script analyzes package.json files across all packages and produces a color-coded Mermaid diagram showing how packages depend on each other, making it easier to understand the architecture and maintain proper dependency relationships.
Key Changes:
- Adds
generate-package-dependencies.jsscript that scans package.json files, extracts internal dependencies, and generates a Mermaid diagram - Creates
DEPENDENCIES.mdwith a visual dependency graph categorizing packages into six types (Notifications, Observability, Runtime, Tooling, and their extensions)
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.
| File | Description |
|---|---|
| generate-package-dependencies.js | New Node.js script that discovers packages, analyzes their internal dependencies, and generates a styled Mermaid diagram with color-coded package types |
| DEPENDENCIES.md | Generated documentation file containing the dependency graph visualization and legend explaining package categories |
Rahul Devikar (rahuldevikar761)
approved these changes
Dec 4, 2025
Mrunal Suyoga Hirve (mrunalhirve128)
approved these changes
Dec 4, 2025
Tahir Sousa (tmlsousa)
approved these changes
Dec 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.