feat(web): SPA skeleton embedded in the binary
ci / web (pull_request) Failing after 34s
ci / rust (pull_request) Successful in 1m46s
e2e / e2e (pull_request) Successful in 1m20s

Vite + TypeScript, no framework. One health board page proves the
whole path: fetch /api/health, render per-upstream verdicts. Biome
and tsc join the just ci gate; dev mode proxies /api to the daemon.

arr-daemon embeds web/dist via include_dir: build.rs runs pnpm when
available, accepts ARR_WEB_DIST prebuilt, and falls back to a
placeholder only in debug so the node-less CI rust job keeps working.

Closes #6

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Miguel Palhas
2026-08-22 20:34:12 +01:00
co-authored by Claude Fable 5
parent 58827da647
commit f025b2529d
20 changed files with 2275 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
{
"compilerOptions": {
"target": "ES2022",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"module": "ESNext",
"moduleResolution": "Bundler",
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noUncheckedIndexedAccess": true,
"isolatedModules": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"useDefineForClassFields": true,
"noEmit": true
},
"include": ["src"]
}