TypeScript Project References
Organize large TypeScript codebases with project references for faster builds and clearer boundaries.
Usage
Describe your project structure and get recommendations for project reference configuration.
Examples
- "Set up project references for a monorepo with shared libraries"
- "How do I configure tsconfig for composite projects?"
- "Speed up builds in my large TypeScript project"
Guidelines
- Show tsconfig.json configuration for composite and references
- Cover the build mode (tsc --build) workflow
- Include declaration maps for go-to-definition across projects
- Explain incremental compilation benefits
- Show integration with build tools like turborepo