重构后台管理服务并推进渐进式类型化
This commit is contained in:
@@ -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` 单一路径做环境配置:
|
||||
|
||||
Reference in New Issue
Block a user