mirror of
https://github.com/hanzoai/turborepo.git
synced 2026-10-30 19:44:51 +00:00
## Why Next.js writes development server output to `.next/dev`, which can unnecessarily inflate Turborepo cache artifacts when examples cache `.next/**`. Excluding it keeps current Next.js output recommendations aligned with Next.js behavior and fixes #13018. ## What Adds `!.next/dev/**` to current Next.js `outputs` examples, docs, local app config, and bundled guidance that already exclude `.next/cache/**`. Historical blog posts and tests are left unchanged. ## How Verified with stale-pattern scans, `oxfmt --check`, targeted docs/config review, and pre-push hooks for format, TOML formatting, and Rust checks.
22 lines
431 B
JSON
22 lines
431 B
JSON
{
|
|
"$schema": "https://turborepo.dev/schema.json",
|
|
"ui": "tui",
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["$TURBO_DEFAULT$", ".env*"],
|
|
"outputs": [".next/**", "!.next/cache/**", "!.next/dev/**"]
|
|
},
|
|
"lint": {
|
|
"dependsOn": ["^lint"]
|
|
},
|
|
"check-types": {
|
|
"dependsOn": ["^check-types"]
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
}
|
|
}
|
|
}
|