[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.
This commit is contained in:
2026-11-01 15:39:17 +01:00
parent b871ab9899
commit a200832cfb
23 changed files with 639 additions and 21 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
{
"$schema": "https://turbo.build/schema.json",
"ui": "stream",
"globalDependencies": ["content/**"],
// 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"],