Update package dependencies, refactor TypeScript configuration, and enhance API server code with improved type definitions. Modify GitHub Actions workflow to verify API build success and streamline build scripts for better maintainability.
Some checks failed
Build and Test / test (push) Has been cancelled
Build and Test / docker-build (push) Has been cancelled

This commit is contained in:
2025-08-20 04:03:11 +01:00
parent d0c165eba4
commit 1759bd623a
7 changed files with 804 additions and 52 deletions

37
tsconfig.api.json Normal file
View File

@ -0,0 +1,37 @@
{
"compilerOptions": {
"target": "ES2020",
"lib": ["ES2020"],
"module": "CommonJS",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": false,
"noImplicitAny": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"outDir": "dist",
"rootDir": "src",
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
"include": [
"src/server.ts",
"src/lib/api/**/*",
"src/lib/db/**/*"
],
"exclude": [
"src/components/**/*",
"src/pages/**/*",
"src/contexts/**/*",
"src/hooks/**/*",
"src/utils/**/*",
"src/lib/utils.ts",
"src/main.tsx",
"src/App.tsx"
]
}