Application
Every runtime dependency in the root package.json, grouped by job. Exact versions are in that file, so I do not repeat them here.
Framework and runtime
| Package | What it does here |
|---|---|
next | App Router, static generation, daily revalidation on the landing, About and skill pages, metadata routes (sitemap, robots, manifest, social image), security headers and redirects |
react, react-dom | The UI runtime |
The app builds with next build --webpack. Next 16 defaults to Turbopack, but @vanilla-extract/next-plugin and the PostHog source-map plugin both add webpack config, so the app stays on webpack. The docs site has no webpack config and builds with Turbopack. My notes from the Next 16 upgrade are in docs/research/2026-10-11-dependency-audit.md.
Pages are generated at build time. The landing page, /about and skill pages revalidate every 86400 seconds; role pages have no revalidate and stay as built until the next deploy. Role and skill pages use generateStaticParams with dynamicParams = false, so a slug that is not in src/content/ is a 404.
Styling
| Package | What it does here |
|---|---|
@vanilla-extract/css | Styles are written in *.css.ts files, typed, and compiled to static CSS at build time. No styling code ships to the browser |
@vanilla-extract/sprinkles | The responsive and color utility layer in src/config/styles/themes/theme.css.ts |
clsx | Class name joining, behind the classNames helper in src/utils/ |
The tokens, the sprinkles and the shared page shell are covered in Styling system. The build-time plugins are in Tooling and quality.
Motion
| Package | What it does here |
|---|---|
framer-motion | Component animation and the scroll-driven choreography on the landing page. MotionConfig reducedMotion="user" is set once in ClientLayout |
lenis | Smooth scrolling, started in ClientLayout. Hash navigation, the floating nav and the hero scroll cue all go through it |
Durations, easings, distances and staggers come from src/config/motion.ts, so CSS and framer-motion read the same values. See Motion and transitions.
Copy and localization
| Package | What it does here |
|---|---|
i18next | Holds all visitor-facing copy. t() works in server components, metadata and plain helpers |
react-i18next | useTranslation and <Trans> for client components and rich text |
There is one locale today and no switching. Conventions are in Localization.
Validation and configuration
| Package | What it does here |
|---|---|
zod | Schemas for the environment variables and for the body of POST /api/resume-request |
@t3-oss/env-nextjs | Validates process.env at build and start in src/config/env/client.ts and server.ts, and keeps server-only variables out of the browser bundle |
Every variable is optional. See Getting started for the list.
Icons
| Package | What it does here |
|---|---|
react-icons | Inline icon components, for example in the timeline and the resume dialog |
The logo and favicons are not from this package. They are generated from one SVG; see Favicons.
| Package | What it does here |
|---|---|
@react-email/components | The building blocks for the two email templates in src/emails/ |
@react-email/render | Renders a template to HTML and plain text inside the API route |
Delivery goes through the Resend HTTP API, called with fetch from src/app/api/resume-request/route.ts, so there is no Resend SDK. The templates are in Email templates.
Analytics
| Package | What it does here |
|---|---|
posthog-js | Cookieless product analytics and scrubbed error tracking, initialized in src/lib/analytics/client/. A no-op without a key, outside production and on staging |
@vercel/analytics | Vercel’s page-view counter, rendered once in src/app/layout.tsx |
@vercel/speed-insights | Vercel’s Core Web Vitals reporter, mounted once through SpeedInsightsProvider in src/app/layout.tsx. Production builds only, and silent under Do Not Track or Global Privacy Control |
What is collected, and what is turned off, is in Analytics.
Feature flags
| Package | What it does here |
|---|---|
flags, @flags-sdk/vercel | The Flags SDK and its Vercel adapter. They evaluate the command-palette and assistant flags in src/lib/featureFlags/, behind GET /api/flags. See Architecture |
Dates and search
| Package | What it does here |
|---|---|
luxon | Every date and time, always in America/New_York. Only src/lib/dateTime/ imports it, and ESLint rejects it anywhere else |
fuse.js | Fuzzy matching for the skill search in src/modules/skillCatalog/skillSearch.ts, which forgives about one typo in a word |
Blog
| Package | What it does here |
|---|---|
@sanity/client | Reads posts from Sanity in src/lib/blog/client.ts. I chose it over next-sanity, which pulls in the whole Studio package |
@sanity/webhook | Checks the signature on POST /api/revalidate/blog |
@sanity/preview-url-secret | Checks the secret on a Studio preview link before /api/draft turns on Draft Mode |
@portabletext/react | Renders a post body in PortableTextBody |
shiki | Syntax highlighting for code blocks. It runs on the server only, so no highlighter ships to the browser |
The pipeline is in Blog, and the code block component is in Code blocks.
Assistant
| Package | What it does here |
|---|---|
ai | The AI SDK core. It streams the model’s reply in src/lib/assistant/ |
@ai-sdk/google | The Gemini provider. src/lib/assistant/model/index.ts is the only file that names it |
@ai-sdk/react | useChat in the assistant panel. It loads on the first click and is not in the page bundle |
react-markdown | Renders an answer: paragraphs, lists, bold, italics and inline code, and nothing else |
remend | Closes half-written Markdown while a reply streams, so the text does not flicker |
use-stick-to-bottom | Keeps the conversation log following new text, and stops when the visitor scrolls up |
@upstash/redis | The rate-limit counters and the runtime knowledge store |
posthog-node | Server-side assistant telemetry |
How it works is in Assistant.
Fonts
Fonts load through next/font, which self-hosts them, so a page makes no request to Google at runtime. Prompt, Saira and Smooch Sans come from next/font/google. Atomic Serif, the heading face, is a variable derivative of Italiana built by scripts/fonts/build_variable_font.py and loaded with next/font/local. The weights that load per route are in docs/research/2026-10-11-dependency-audit.md.