Commit 0722be8
committed
fix: 解决依赖冲突并优化CI配置
## 问题修复
1. **依赖版本冲突**: 将vite从^7.2.4降级到^5.4.21,与@vitejs/plugin-react@5.1.1兼容
2. **CI优化**: 添加--legacy-peer-deps选项处理可能的依赖冲突
3. **错误处理**: 改进CI工作流的错误处理和回退机制
## 兼容性说明
- vite@5.4.21 与 @vitejs/plugin-react@5.1.1 完全兼容
- 使用--legacy-peer-deps避免peer依赖冲突
- 保持React 19.2.0的最新版本
- 确保TypeScript和其他依赖正常工作1 parent 9b40374 commit 0722be8
File tree
3 files changed
+12
-6
lines changed- .github/workflows
- frontend
3 files changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
| 34 | + | |
30 | 35 | | |
31 | 36 | | |
32 | | - | |
| 37 | + | |
| 38 | + | |
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
0 commit comments