Files
AndreaSlopFotografie/aidlc-docs/_shared/reverse-engineering/dependencies.md
T

2.5 KiB

Dependencies

Internal Dependencies

graph LR
    main["client.tsx"] --> theme["theme.ts + recipes"]
    main --> routes["routes/*"]
    main --> monitoring["monitoring/*"]
    routes --> components["components/*"]
    routes --> content["content/*"]
    routes --> seo["seo.ts + sitePages.ts"]
    components --> lib["lib/*"]
    components --> hooks["hooks/*"]
    components --> navigation["navigation.ts"]
    components --> assets["assets/*"]
    components --> contact["contact/*"]
    config["config/* (Node, build time)"] --> monitoring
    config --> seo
    classDef app fill:#63b3ed,stroke:#2b6cb0,stroke-width:1px,color:#000;
    classDef support fill:#e2e8f0,stroke:#4a5568,stroke-width:1px,color:#000;
    classDef build fill:#f6e05e,stroke:#c05621,stroke-width:1px,color:#000;
    class main,routes,components app;
    class theme,monitoring,content,seo,lib,hooks,navigation,assets,contact support;
    class config build;

Text alternative: client.tsx (replaces main.tsx; prerendering) depends on theme, routes and monitoring; routes depend on components, content and SEO; components depend on lib, hooks, navigation, assets and the contact form module; build-time config reads monitoring (CSP origins) and SEO (sitemap).

routes depend on content and components

  • Type: Compile
  • Reason: Routes pass static content objects into components as props

config depends on monitoring/config.ts

  • Type: Build time (Node)
  • Reason: CSP script-src/connect-src include the Umami and Sentry origins; that file therefore has no Vite imports

components depend on theme tokens

  • Type: Runtime (string token references such as bg="paper.alt", textStyle="eyebrow")

External Dependencies

@chakra-ui/react ^3.37.0, @emotion/react ^11.14.0

  • Purpose: Styling system and UI primitives — License: MIT

@tanstack/react-router 1.170.46, @tanstack/react-start 1.169.4

  • Purpose: Routing and static prerendering (Start, prerendering) — License: MIT

react / react-dom ^19.3.0

  • Purpose: UI runtime — License: MIT

@sentry/react ^11.8.0

  • Purpose: Error reporting — License: MIT

@fontsource/jost, @fontsource/marcellus ^5.3.0

  • Purpose: Self-hosted fonts — License: OFL-1.1

@iconify/react ^6.0.2, @iconify-icons/ant-design 2.0.1 (dev)

  • Purpose: Icons, bundled at build time — License: MIT

Dev tooling

  • Vite, Vitest, Testing Library, fast-check, axe-core, ESLint, Prettier, Lighthouse CI, Chakra CLI — all MIT/Apache-2.0/MPL-2.0 (axe-core)