Skip to content

Add monorepo architecture profile + fixture - #108

Open
MohOneX wants to merge 2 commits into
braedonsaunders:mainfrom
MohOneX:feat/monorepo-profile
Open

MohOneX wants to merge 2 commits into
braedonsaunders:mainfrom
MohOneX:feat/monorepo-profile

Conversation

@MohOneX

@MohOneX MohOneX commented Oct 9, 2026

Copy link
Copy Markdown

Summary

  • Add a monorepo / stack architecture profile for apps/* + packages/* layouts
  • Map diagram roles onto canonical layers so violation scoring matches Architecture groups
  • Fixture: tests/fixtures/monorepo-world with an intentional shared→api upward dependency
  • Analyzer remains inline in index.html (no extract)

Depends on / stacks with #107 (Architecture + Overview UX).

Test plan

  • npm test
  • Analyze tests/fixtures/monorepo-world (or any apps+packages repo) and confirm Apps / API / Shared Packages groups
  • Confirm upward shared→api dependency surfaces as a layer violation

Show layer violations with click-to-file, Mermaid block inspect, and layer-rule presets in Architecture. Add Overview health breakdown and most fragile files. Keep the analyzer inline in index.html so CodeFlow stays a single-file app.
Detect apps/* + packages/* stacks, group them as Apps / API / Shared Packages, and stamp role-derived layers so violation scoring matches the diagram. Includes monorepo-world fixture; analyzer stays inline in index.html.
@vercel

vercel Bot commented Oct 9, 2026

Copy link
Copy Markdown

@MohOneX is attempting to deploy a commit to the braedonsaunders' projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Copy Markdown
Owner

Thanks for splitting this out, and for keeping the analyzer inline. Since it stacks on #107 I'll review that one first, then this. The fixture with the shared→api violation baked in is a nice touch.

This branch has not been deployed

No deployments
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.

2 participants