What problem does it solve?
Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines,
dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment
variables, internal packages, monorepo structure/best practices, and boundaries.
Use when user: configures tasks/workflows/pipelines, creates packages, sets up
a monorepo, shares code between apps, runs changed/affected packages, debugs cache,
or has apps/packages directories.
Core Features & Use Cases
- Per-package task orchestration with caching and parallel execution across packages
- Package Configurations and root-package coordination for scalable builds
- CI optimization with --affected, filters, and deterministic task graphs
- Clear guidance on best practices for monorepos and boundary enforcement
Quick Start
- Add turbo.json at the repo root and per-package turbo.json overrides as needed
- Define per-package scripts (e.g., apps/web/package.json) and a root turbo.json
- Run turbo run build --affected to validate changes across the monorepo