Architecture
Foundry uses pnpm workspaces + Turborepo to manage a monorepo with multiple apps and packages.Directory Structure
Data Flow
Key Decisions
| Decision | Choice | Why |
|---|---|---|
| Package manager | pnpm | Fast, strict, disk-efficient |
| Monorepo tool | Turborepo | Zero-config, task caching |
| CSS | Tailwind v4 | CSS-first config, no JS config file |
| Auth | Supabase magic link | Passwordless, simple, secure |
| Server runtime | tsx | No bundler needed, TypeScript directly |
| Shared package | No build step | Raw TypeScript via exports field |

