feat(task4): update TypeScript configs to use shared presets

This commit is contained in:
2026-07-02 15:31:29 +08:00
parent 6f6d27d7ea
commit 5cf7fe05e9
6 changed files with 27 additions and 77 deletions

View File

@@ -1,5 +1,5 @@
{
"name": "backend",
"name": "@gongxue/server",
"version": "0.0.1",
"description": "",
"author": "",
@@ -67,8 +67,9 @@
"ts-loader": "^9.5.2",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.20.0"
"typescript": "~6.0.2",
"typescript-eslint": "^8.20.0",
"@gongxue/typescript-config": "*"
},
"jest": {
"moduleFileExtensions": [

View File

@@ -1,25 +1,7 @@
{
"extends": "@gongxue/typescript-config/nestjs.json",
"compilerOptions": {
"module": "nodenext",
"moduleResolution": "nodenext",
"resolvePackageJsonExports": true,
"esModuleInterop": true,
"isolatedModules": true,
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ES2023",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"noImplicitAny": false,
"strictBindCallApply": false,
"noFallthroughCasesInSwitch": false
"baseUrl": "./"
}
}