fix: 修复 React 18 依赖兼容性并完善开发配置
调整 LobeHub、Ant Design 和 Vite 版本,移除未使用的 TypeScript 和语言检测直接依赖。 使用现有 Lucide 图标替代缺失的 FastGPT、Jimeng 导出,保留 React 18 和业务处理逻辑。 补充依赖、构建产物、日志、缓存及本地环境配置的 Git 忽略规则,并新增项目分析与开发上手指南及 README 入口。 验证:128 项测试通过,生产构建成功,修改文件 ESLint 检查通过;开发环境登录页可渲染,后端接口联调尚未验证。
This commit is contained in:
+3
-5
@@ -7,12 +7,12 @@
|
||||
"@dagrejs/dagre": "^1.1.4",
|
||||
"@douyinfe/semi-icons": "^2.63.1",
|
||||
"@douyinfe/semi-ui": "^2.69.1",
|
||||
"@lobehub/icons": "^2.0.0",
|
||||
"@lobehub/icons": "1.97.2",
|
||||
"@visactor/react-vchart": "~1.8.8",
|
||||
"@visactor/vchart": "~1.8.8",
|
||||
"@visactor/vchart-semi-theme": "~1.8.8",
|
||||
"@xyflow/react": "^12.6.0",
|
||||
"antd": "^6.3.0",
|
||||
"antd": "^5.23.0",
|
||||
"axios": "^1.19.0",
|
||||
"clsx": "^2.1.1",
|
||||
"colord": "^2.9.3",
|
||||
@@ -22,7 +22,6 @@
|
||||
"highlight.js": "^11.11.1",
|
||||
"history": "^5.3.0",
|
||||
"i18next": "^23.16.8",
|
||||
"i18next-browser-languagedetector": "^7.2.0",
|
||||
"katex": "^0.16.22",
|
||||
"lucide-react": "^0.511.0",
|
||||
"marked": "^4.1.1",
|
||||
@@ -90,8 +89,7 @@
|
||||
"postcss": "^8.5.3",
|
||||
"prettier": "^3.0.0",
|
||||
"tailwindcss": "^3",
|
||||
"typescript": "4.4.2",
|
||||
"vite": "^5.2.0"
|
||||
"vite": "5.1.0"
|
||||
},
|
||||
"prettier": {
|
||||
"singleQuote": true,
|
||||
|
||||
Reference in New Issue
Block a user