Generated by dependency-cruiser on 2026-06-12T09:07:12.416Z.
toolkit-example is “Django, decomposed”: each @repo/* package replaces a Django subsystem and is an independent capability; the example app is the integrator.
The example app is the only thing that wires the capabilities together. Two lenses:
The defining pattern of this repo. Red packages are server-only (db, auth, mailer, storage, …) — each ships a `browser` stub so isomorphic imports don’t drag drizzle/nodemailer/minio into the client bundle. Green is client-safe, amber the api bridge. Every edge into a red node comes from a `*-server` file; the only client-side imports of red packages are `import type` (erased at build).
client-server.html
Each top-level `example/src` feature area (routes, components, lib, hooks, jobs, worker, integrations, db-collections) and the packages it pulls in, coloured by layer. Shows which parts of the app lean on which capabilities — only packages the app actually uses appear.
example-areas.html
Zoom into the parts that carry the weight.
`@repo/db` and everything that builds on it (`--reaches @repo/db`). `db/foundation` holds the Better-Auth + mailer-outbox tables every app composes with its own schema; auth, audit, config and mailer build on db, and the app’s server layer reads/writes through it. This is the shared base GRUNDSTACK.md calls the foundation.
data-foundation.html
Just the 14 `@repo/*` packages and their interdependencies — the example excluded. The graph is deliberately sparse: most packages are standalone capability modules, only db has real fan-in (auth, audit, config, mailer), and admin-ui builds on ui. Isolated nodes are independent capabilities.
packages.html
Interactive report of rule violations — circular deps, orphans, dev-dep leaks, and the `foundation-stays-pure` rule (db/foundation must not import app schema). The companion to the graphs: this is where you find what’s off.
report.html
The architecture graph as Mermaid markdown — paste into any Mermaid-aware renderer (GitHub, Obsidian, Notion) to embed it inline.
graph.mmd