feat: add shared download registry, type safety, and test infra Add DownloadRegistry to prevent duplicate downloads between DownloadManager and GameZipServer. Consolidate PreferencesService (delete game/services copy, add compatibility aliases). Replace `any` defaults with `unknown` in DatabaseService/UserDatabaseService and add explicit type parameters to ~40 query call sites. Add vitest config, test setup, test helpers, and unit tests for auth middleware, RBAC, pagination, and time range utils. Enable strictPropertyInitialization in backend tsconfig. Add SHA-256 checksum verification to RuffleService updates. Harden Docker Compose with log rotation, resource limits, and bridge network. Fix NODE_ENV default in dev compose, exclude guest userId from activity logs, add activity logging to password change, guard nullable permission descriptions, and align frontend Game/Permission types with actual API shape.
28 lines
655 B
JSON
28 lines
655 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "commonjs",
|
|
"lib": ["ES2022"],
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"moduleResolution": "node",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"strictPropertyInitialization": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"]
|
|
}
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|