Skip to content

feat(deps): antd 6 + pro-components 3, icons 6 with it - #41

Merged
Jerry-CodeHub merged 1 commit into
masterfrom
chore/antd6
Oct 7, 2026
Merged

Jerry-CodeHub merged 1 commit into
masterfrom
chore/antd6

Conversation

@Jerry-CodeHub

Copy link
Copy Markdown
Owner

antd 5.29 → 6.6.5、@ant-design/pro-components 2 → 3.1.14-7、@ant-design/icons 5 → 6.3.4,并完成 v6 适配。

适配点

  • 移除 @ant-design/v5-patch-for-react-19(v6 原生支持 React 19),改手动注入 antd/dist/reset.css(umi antd 插件对 v6 不再自动注入,且项目关闭了 Tailwind preflight)
  • ProLayout v3:rightContentRender → actionsRender;config.ts 显式 layout.locale(v3 菜单国际化默认关闭)
  • antd 6 默认注入 CSS 变量,移除 cssVar: true
  • 迁移已弃用 props:12 处 Alert message→title、2 处 Spin tip→description
  • dependabot ignore 注释更新(icons 主版本跟随 antd)

验证

@Jerry-CodeHub
Jerry-CodeHub merged commit e392e1f into master Oct 7, 2026
1 of 2 checks passed
@coderabbitai

coderabbitai Bot commented Oct 7, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c09a1bc7-a8f1-4482-b05f-88f95f93e4e4
📥 Commits

Reviewing files that changed from the base of the PR and between 82e9f1c and e507538.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (16)
  • .github/dependabot.yml
  • config/config.ts
  • package.json
  • src/app.tsx
  • src/pages/Document/Excel/index.tsx
  • src/pages/Document/Pdf/index.tsx
  • src/pages/Map/Amap/index.tsx
  • src/pages/Map/Cesium/BoxSelect.tsx
  • src/pages/Map/Cesium/Direction.tsx
  • src/pages/Map/Cesium/GeoHash.tsx
  • src/pages/Map/Cesium/Heatmap.tsx
  • src/pages/Map/Cesium/Situation.tsx
  • src/pages/Map/Cesium/Trajectory.tsx
  • src/pages/Ops/Tickets/index.tsx
  • src/pages/System/Access/index.tsx
  • src/pages/System/Roles/index.tsx
 ___________________________________________________
< Codicem Purgo, Ergo Sum. I debug, therefore I am. >
 ---------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant