Files
loki/desktop/tsconfig.json
66888242e3 fix(desktop): unbreak desktop's own typecheck and make it run (#174)
desktop/node_modules has TypeScript 7.0.2, which removed `baseUrl` —
so `tsc -p desktop/tsconfig.json` fails on main today with TS5102/TS5090
before reaching a single source file. Paths are now relative, which both
5.9.3 and 7.0.2 accept (verified against each).

It went unnoticed because nothing ran it: desktop has no typecheck script,
the root `verify` covers src/ and home/ only, and electron-vite builds
with esbuild, which strips types instead of checking them. A type error
there therefore does not fail the release build — it ships a runtime bug
inside a signed binary.

So add the script and gate the release on it. Green at time of adding
under both TS versions (exit 0).

Co-authored-by: test <test@test>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 08:52:45 +00:00

19 lines
475 B
JSON

{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
"jsx": "react-jsx",
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"types": ["react", "react-dom"],
"paths": {
"@renderer/*": ["./src/renderer/src/*"],
"@home/*": ["../home/*"],
"@/*": ["../src/*"]
}
},
"include": ["src/**/*", "electron.vite.config.ts"]
}