- 将基础镜像版本从Node.js 18 Alpine更新至Node.js 22 Alpine - 修改生产阶段镜像为Node.js 22 Alpine - 在tsconfig.json中添加对Node.js类型的支持 - 在wechat.adapter.ts中优化crypto模块的导入方式
27 lines
700 B
JSON
27 lines
700 B
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,
|
|
"types": ["node"]
|
|
}
|
|
}
|