Skip to content

Add script to generate package dependencies, and add dependency diagram - #100

Merged
Johan Broberg (pontemonti) merged 2 commits into
mainfrom
users/johanb/Dependencies
Dec 5, 2025
Merged

Add script to generate package dependencies, and add dependency diagram#100
Johan Broberg (pontemonti) merged 2 commits into
mainfrom
users/johanb/Dependencies

Conversation

@pontemonti

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.js script that scans package.json files, extracts internal dependencies, and generates a Mermaid diagram
  • Creates DEPENDENCIES.md with 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

Comment thread generate-package-dependencies.js
Comment thread generate-package-dependencies.js
Comment thread generate-package-dependencies.js
Comment thread generate-package-dependencies.js
Comment thread generate-package-dependencies.js
Comment thread generate-package-dependencies.js
Comment thread generate-package-dependencies.js
Comment thread generate-package-dependencies.js
@pontemonti
Johan Broberg (pontemonti) merged commit 1f8b6ab into main Dec 5, 2025
7 checks passed
@pontemonti
Johan Broberg (pontemonti) deleted the users/johanb/Dependencies branch December 5, 2025 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants