mirror of
https://github.com/teamchong/pxpipe.git
synced 2026-07-22 02:02:51 +02:00
45c83dedb5
Replace the hand-rolled dashboard with a Svelte component tree (App + Sessions / StatsTable / LatestPng / RecentRequests / StatsHeader / Cleanup / CompressionToggle / ToastTray), move the API layer into lib/, and split state into stores/. Add a dedicated dashboard build (`build:dashboard-ui` + a separate tsconfig.dashboard.json) so dashboard sources typecheck independently of the proxy core, which previously broke the root `tsc` build.
37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"lib": ["ES2022", "WebWorker"],
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"types": ["@cloudflare/workers-types", "node"],
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"skipLibCheck": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"verbatimModuleSyntax": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"outDir": "dist",
|
|
"rootDir": "src"
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"legacy",
|
|
// src/dashboard/ is the Svelte browser bundle — compiled separately by
|
|
// scripts/build-dashboard-ui.mjs with the DOM lib + esbuild-svelte. The
|
|
// root tsconfig targets Node + WebWorker (no `document` / `localStorage`),
|
|
// so type-checking dashboard sources here would always fail. They're still
|
|
// covered by `tsconfig.dashboard.json` for editor + CI type-checking.
|
|
"src/dashboard"
|
|
]
|
|
}
|