mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:41:09 +02:00
- Create shared TypeScript config package with: - base.json: Common options (ES2021, skipLibCheck, etc.) - nestjs.json: NestJS backend config (decorators, commonjs) - sveltekit.json: SvelteKit web config - expo.json: Expo mobile config - astro.json: Astro landing config - Migrate 13 NestJS backends to use shared config: calendar, chat, clock, contacts, nutriphi, picture, planta, presi, questions, skilltree, storage, todo, zitare - Skip manadeck (uses nodenext module system) Savings: ~280 LOC (13 backends × ~22 LOC each)
23 lines
590 B
JSON
23 lines
590 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
"extends": "./base.json",
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"declaration": true,
|
|
"removeComments": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"outDir": "./dist",
|
|
"baseUrl": "./",
|
|
"rootDir": "./src",
|
|
"incremental": true,
|
|
"strictNullChecks": true,
|
|
"noImplicitAny": true,
|
|
"strictBindCallApply": true,
|
|
"noFallthroughCasesInSwitch": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|