Files
radicle-explorer/tsconfig.json
T
Rūdolfs Ošiņš b2f74ebd15 Upgrade all Javascript dependencies
Changes which were needed after the upgrade:

- Replace vite-plugin-virtual (vite 8 incompatible) with vite's
  built-in `define` for the buildTimeConfig injection

- tsconfig: drop deprecated `baseUrl` (TS 5+ resolves `paths`
  relative to tsconfig)

- Vitest 4: import `defineConfig` from `vitest/config` so `test`
  is valid in vite configs

- Zod 4: rename `.errors` to `.issues`, make `ZodSchema` a
  type-only import, drop the removed `SafeParseReturnType`

- Tighten/loosen generic casts in localStore to match stricter
  zod 4 inference

- ESLint 9 `no-useless-assignment`: remove redundant initializers
  and dead reassignments; disable the rule where Svelte's reactive
  blocks confuse the analyser

- Svelte/eslint `prefer-svelte-reactivity`: disable for legacy
  Svelte usages of URL / Set

- Misc naming-convention and prefer-const fixes
2026-04-22 17:48:45 +02:00

29 lines
809 B
JSON

{
"extends": "@tsconfig/svelte/tsconfig.json",
"include": ["src", "tests", "http-client", "./*.js", "./*.ts"],
"exclude": ["node_modules/*", "radicle-httpd/*"],
"compilerOptions": {
"noEmit": true,
"target": "es2023",
"module": "es2022",
"types": ["vite/client"],
"sourceMap": true,
"moduleResolution": "bundler",
"strict": true,
"resolveJsonModule": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"useDefineForClassFields": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"paths": {
"@app/*": ["./src/*"],
"@http-client": ["./http-client/index.ts"],
"@http-client/*": ["./http-client/*"],
"@public/*": ["./public/*"],
"@tests/*": ["./tests/*"]
}
}
}