后端迁移基础工具层
This commit is contained in:
@@ -536,6 +536,15 @@
|
||||
- `npm run typecheck`
|
||||
- `npm run build`
|
||||
- `npm test` 共 139 个用例通过
|
||||
120. 后端 HTTP / 日志工具迁移到 `.ts`:
|
||||
- `src/utils/http.ts`
|
||||
- `src/utils/logger.ts`
|
||||
121. 路由响应 payload、HTTP 错误分类 / 扩展字段、日志级别 / 文件名 / 过期清理 / 错误序列化已进入 TS 编译链路;`HttpErrorLike` 改为显式导出类型,logger 使用 type-only import 避免运行时循环依赖
|
||||
122. Docker 内验证通过:
|
||||
- `src/utils/logger.test.js` 共 7 个用例通过
|
||||
- `npm run typecheck`
|
||||
- `npm run build`
|
||||
- `npm test` 共 139 个用例通过
|
||||
|
||||
## 下一步建议
|
||||
|
||||
|
||||
Reference in New Issue
Block a user