You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Desktop D1 — run the herocast TanStack app under deno desktop (TARGET=deno build) #772
Part of epic #754 (Next→TanStack migration). Desktop work item D1 of 3.
Direction + full plan: docs/migration/desktop-deno-runtime.md.
Goal — "it runs"
Get the real herocast TanStack app running inside a desktop window via the Deno desktop runtime (the desktop app is the TanStack app — no separate consumer shim).
Scope
Add a TARGET=deno branch to vite.config.mtshostPlugins (Nitro deno-server/deno-deploy preset, mirroring the existing vercel branch).
Alias cloudflare:workers → the empty stub for all environments on the Deno target (same as the non-CF branch already does).
Add deno.json with { "desktop": { "backend": "cef" } } (pin the backend — the canary defaulted to cef despite docs; cef is the chosen default for rendering fidelity).
TARGET=deno vite build → universal fetch server entry; deno desktop wraps it.
Proof / acceptance
The actual app opens in a desktop window; /feeds renders real casts; sidebar nav + opening a thread work; no fatal console errors. → screenshot + a 5-line manual checklist in the PR.
pnpm web:typecheck + the existing Cloudflare build stay green (the TARGET=deno branch is additive).
Activity
docs(#754 desktop): wire D1–D3 plan to filed issues #772/#773/#774
docs(#754): desktop consumer = Deno desktop runtime; remove Tauri; D1…