feat(web): SPA skeleton embedded in the binary
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:
co-authored by
Claude Fable 5
parent
58827da647
commit
f025b2529d
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "arr-web",
|
||||
"private": true,
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"packageManager": "pnpm@11.21.0",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "tsc -b --noEmit && vite build",
|
||||
"preview": "vite preview",
|
||||
"typecheck": "tsc -b --noEmit",
|
||||
"lint": "biome ci ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^2.5.8",
|
||||
"@types/node": "^24.0.0",
|
||||
"typescript": "^5.9.3",
|
||||
"vite": "^7.1.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user