重构后台管理服务并推进渐进式类型化

This commit is contained in:
yml2213
2026-04-14 09:21:20 +08:00
parent fa36be6539
commit 335eb44104
35 changed files with 4143 additions and 2738 deletions
+13
View File
@@ -40,6 +40,19 @@ npm run browser:install:linux
npm run start
```
后端渐进 TypeScript 迁移已经开始,当前可执行:
```bash
npm run typecheck
```
第一阶段目前先检查:
- `src/config/runtime.js`
- `src/types/**/*.js`
后续会逐步扩大到更多 routes / services / repositories,而不会先改成需要编译产物的运行模式。
## 配置
当前后端采用 `.env` 单一路径做环境配置: