@agor/stores: - theme.svelte.ts, notifications.svelte.ts, health.svelte.ts extracted - Original files replaced with re-exports (zero consumer changes needed) - pnpm workspace + Vite/tsconfig aliases configured BackendAdapter tests (58 new): - backend-adapter.test.ts: 9 tests (lifecycle, singleton, testing seam) - tauri-adapter.test.ts: 28 tests (invoke mapping, command names, params) - electrobun-adapter.test.ts: 21 tests (RPC names, capabilities, stubs) Total: 523 tests passing (was 465, +58)
27 lines
952 B
JSON
27 lines
952 B
JSON
{
|
|
"extends": "@tsconfig/svelte/tsconfig.json",
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
"target": "ES2022",
|
|
"useDefineForClassFields": true,
|
|
"module": "ESNext",
|
|
"types": ["svelte", "vite/client"],
|
|
"noEmit": true,
|
|
/**
|
|
* Typecheck JS in `.svelte` and `.js` files by default.
|
|
* Disable checkJs if you'd like to use dynamic types in JS.
|
|
* Note that setting allowJs false does not prevent the use
|
|
* of JS in `.svelte` files.
|
|
*/
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"moduleDetection": "force",
|
|
"paths": {
|
|
"@agor/types": ["./packages/types/index.ts"],
|
|
"@agor/types/*": ["./packages/types/*.ts"],
|
|
"@agor/stores": ["./packages/stores/index.ts"],
|
|
"@agor/stores/*": ["./packages/stores/*.ts"]
|
|
}
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.js", "src/**/*.svelte", "packages/types/**/*.ts", "packages/stores/**/*.ts"]
|
|
}
|