First working prototype

This commit is contained in:
2026-09-06 13:50:58 +02:00
parent ecf08f8307
commit f61b9025eb
44 changed files with 5118 additions and 905 deletions

View File

@@ -3,31 +3,26 @@
"moduleResolution": "bundler",
"target": "ESNext",
"module": "ESNext",
/**
* svelte-preprocess cannot figure out whether you have
* a value or a type, so tell TypeScript to enforce using
* `import type` instead of `import` for Types.
*/
"verbatimModuleSyntax": true,
"isolatedModules": true,
"resolveJsonModule": true,
/**
* To have warnings / errors of the Svelte compiler at the
* correct position, enable source maps by default.
*/
"sourceMap": true,
"esModuleInterop": true,
"types": ["vite/client"],
"skipLibCheck": true,
"noEmit": true,
/**
* Typecheck JS in `.svelte` and `.js` files by default.
* Disable this if you'd like to use dynamic types.
* Typecheck JS in `.svelte` and `.js` files. The data layer carries JSDoc
* typedefs (see src/lib/db.js), so schema mistakes are caught here.
*
* `strict` stays off deliberately: the app code is plain untyped JS, and
* turning it on demands ~200 annotations on component props and callbacks
* for very little bug-catching return. Revisit if this grows.
*/
"checkJs": true
"checkJs": true,
"strict": false
},
/**
* Use global.d.ts instead of compilerOptions.types
* to avoid limiting type declarations.
*/
/** Tests use vitest globals and fixtures; they are covered by `npm test`. */
"exclude": ["src/**/*.test.js"],
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
}