- name
- turborepo
- description
- Turborepo for high-performance monorepo build systems. Use when optimizing build pipelines, implementing remote caching, or managing interdependent packages.
Turborepo
High-performance build system for JavaScript/TypeScript monorepos with intelligent caching.
Installation
npx create-turbo@latestBasic turbo.json
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**"]
},
"test": {
"dependsOn": ["build"]
},
"lint": {},
"dev": {
"cache": false
}
}
}Commands
turbo run build # Build all
turbo run build --filter=web # Filter
turbo run build --force # No cacheResources
- Docs: https://turbo.build