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 <[email protected]>
23 lines
576 B
JSON
23 lines
576 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2021",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": true,
|
|
"strict": true,
|
|
"lib": ["ES2021"],
|
|
"types": ["@cloudflare/workers-types"],
|
|
"outDir": "dist",
|
|
"noEmit": true,
|
|
"isolatedModules": true,
|
|
"allowJs": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"skipLibCheck": true,
|
|
"jsx": "react-jsx",
|
|
"jsxImportSource": "hono/jsx"
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist", "src/scripts/client/**/*"]
|
|
}
|