feat(admin): display running version in footer and /health

Inline package.json version at bundle time via src/config/version.ts
(resolveJsonModule), surface it in the shared admin/status footer and
add it to the /health JSON so self-hosters can tell which build runs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Julien Herr
2026-05-25 15:43:05 +02:00
parent 70552e5fa6
commit 7086526670
7 changed files with 36 additions and 2 deletions
+1
View File
@@ -4,6 +4,7 @@
"module": "ESNext",
"moduleResolution": "bundler",
"esModuleInterop": true,
"resolveJsonModule": true,
"strict": true,
"lib": ["ES2021"],
"types": ["@cloudflare/workers-types"],