Files
Rosea/turbo.json
mnovak a200832cfb [ui] LetterSlot: Add the page for A Letter from the Gardener, shown once the author writes it
docs/LETTER.md holds slots as comments only, so the player sees no change
until the author writes. The app bundles the letter at build time, a small
Markdown subset renders without {@html}, only https: and tel: become links,
and lint:copy now reads the letter. Review found turbo replaying a stale
build after the letter changed; docs/LETTER.md is now in its cache key.
2026-11-01 15:39:17 +01:00

32 lines
940 B
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"],
"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
}
}
}