35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"ui": "stream",
|
|
// docs/LETTER.md is bundled into the app (letter-slot.md L1). Without it here a
|
|
// changed letter replays the cached build and never reaches the player.
|
|
"globalDependencies": ["content/**", "docs/LETTER.md"],
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
// Both change what the app's build holds. Undeclared, turbo would replay a
|
|
// build made without them as if they did not matter (day-sentence.md review).
|
|
"env": ["ROSEA_BASE", "ROSEA_LIBRARY_DIR"],
|
|
"outputs": ["dist/**", "src/generated/**"]
|
|
},
|
|
// Not cacheable. A test task's only output is its log, and a replayed log
|
|
// is someone else's assertion about a tree you cannot see. Ludus measured
|
|
// a cached `51 passed` against 50 in the real tree (CLAUDE.md §3 trap).
|
|
"test": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": [],
|
|
"cache": false
|
|
},
|
|
"typecheck": {
|
|
"dependsOn": ["^build", "build"],
|
|
"outputs": [],
|
|
"cache": false
|
|
},
|
|
"dev": {
|
|
"dependsOn": ["^build"],
|
|
"cache": false,
|
|
"persistent": true
|
|
}
|
|
}
|
|
}
|