docs: 完成所有文档的中文翻译并应用到项目

This commit is contained in:
xuxiang
2026-01-28 00:12:54 +08:00
parent 0ced59a26b
commit e133f58e1c
76 changed files with 6808 additions and 6170 deletions

View File

@@ -1,29 +1,29 @@
# Build and Fix
# 构建与修复 (Build and Fix)
Incrementally fix TypeScript and build errors:
增量式修复 TypeScript 与构建错误:
1. Run build: npm run build or pnpm build
1. 运行构建:npm run build pnpm build
2. Parse error output:
- Group by file
- Sort by severity
2. 解析错误输出:
- 按文件分组
- 按严重程度排序
3. For each error:
- Show error context (5 lines before/after)
- Explain the issue
- Propose fix
- Apply fix
- Re-run build
- Verify error resolved
3. 针对每个错误:
- 显示错误上下文(前后 5 行)
- 解释问题所在
- 提出修复方案
- 执行修复
- 重新运行构建
- 验证错误是否已解决
4. Stop if:
- Fix introduces new errors
- Same error persists after 3 attempts
- User requests pause
4. 停止条件:
- 修复引入了新错误
- 同一错误在 3 次尝试后依然存在
- 用户请求暂停
5. Show summary:
- Errors fixed
- Errors remaining
- New errors introduced
5. 显示摘要:
- 已修复的错误
- 剩余的错误
- 新引入的错误
Fix one error at a time for safety!
为了安全起见,一次只修复一个错误!