graph TD
A[TypeScript ソースコード] --> B{用途は?}
B -->|アプリケーション| C[Vite 8\nRolldown統合]
B -->|ライブラリ公開| D[tsdown\ntsupの後継]
B -->|型チェック| E[tsc --noEmit\nまたは tsgo]
C --> F[本番バンドル\n.js出力]
D --> G[パッケージ\n.js + .d.ts 出力]
E --> H[型エラーレポート]
style A fill:#6b7280,stroke:#4b5563,color:#fff
style B fill:#eab308,stroke:#ca8a04,color:#000
style C fill:#22c55e,stroke:#16a34a,color:#fff
style D fill:#22c55e,stroke:#16a34a,color:#fff
style E fill:#3b82f6,stroke:#2563eb,color:#fff
graph TD
A[TypeScript ソースコード] --> B[tsc / tsgo\n型チェック]
A --> C[Vite 8 / Rolldown\nビルド]
A --> D[Biome 2.0\nリント+フォーマット]
A --> E[Vitest\nテスト]
C --> F[Next.js / Astro\nフロントエンド]
C --> G[tRPC / Hono\nAPIサーバー]
G --> H[Drizzle / Prisma\nDB操作]
F -.->|型が自動伝播| G
G -.->|型が自動伝播| H
style A fill:#3b82f6,stroke:#2563eb,color:#fff
style B fill:#8b5cf6,stroke:#7c3aed,color:#fff
style C fill:#22c55e,stroke:#16a34a,color:#fff
style F fill:#f97316,stroke:#ea580c,color:#fff
style G fill:#f97316,stroke:#ea580c,color:#fff
style H fill:#f97316,stroke:#ea580c,color:#fff