fix: 修复 React 18 依赖兼容性并完善开发配置

调整 LobeHub、Ant Design 和 Vite 版本,移除未使用的 TypeScript 和语言检测直接依赖。

使用现有 Lucide 图标替代缺失的 FastGPT、Jimeng 导出,保留 React 18 和业务处理逻辑。

补充依赖、构建产物、日志、缓存及本地环境配置的 Git 忽略规则,并新增项目分析与开发上手指南及 README 入口。

验证:128 项测试通过,生产构建成功,修改文件 ESLint 检查通过;开发环境登录页可渲染,后端接口联调尚未验证。
This commit is contained in:
zhanjunhao
2026-10-17 12:51:07 +08:00
parent 9a22d7eeec
commit 3b195704bf
5 changed files with 585 additions and 12 deletions
+31 -2
View File
@@ -1,18 +1,47 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
node_modules/
/.pnp
.pnp.js
# testing
/coverage
/.nyc_output/
*.lcov
# production
/build
/dist/
/dist-ssr/
# tool caches and temporary files
.vite/
.cache/
.eslintcache
.stylelintcache
*.tsbuildinfo
*.tmp
*.temp
*.swp
*.swo
*~
# logs
logs/
*.log
*.log.*
pnpm-debug.log*
lerna-debug.log*
# misc
.DS_Store
Thumbs.db
Desktop.ini
.env
.env.*
!.env.example
!.env.*.example
.env.local
.env.development.local
.env.test.local
@@ -26,4 +55,4 @@ package-lock.json
yarn.lock
# i18n 批次中间产物(可由 scripts/i18n_kt_batches.cjs 重新生成,勿入库)
scripts/kt_batches/
scripts/kt_out/
scripts/kt_out/