chore: update maintenance dependencies#400
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 59 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (8)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
There was a problem hiding this comment.
Code Review
This pull request upgrades the project's dependencies to React 19, TypeScript 6, and ESLint 9, while introducing flat ESLint configuration and compatibility shims. Feedback on the changes highlights two main issues: first, manually declaring test globals as any in global.d.ts disables type-checking, and it is recommended to restore "vitest/globals" in tsconfig.json instead; second, shimming ReactText in react-compat.d.ts is risky because the file is not published, which could cause compilation errors for package consumers using React 19. It is recommended to refactor the source code to use standard types directly.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
❌ Deploy failed
📋 Build log (last lines)🤖 Powered by surge-preview |
|||||||||
|
React Doctor skipped this pull request — it changed no React files. Reviewed by React Doctor for commit |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #400 +/- ##
=======================================
Coverage 99.20% 99.20%
=======================================
Files 12 12
Lines 377 377
Branches 102 102
=======================================
Hits 374 374
Misses 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Deployment failed with the following error: Learn More: https://vercel.com/afc163s-projects?upgradeToPro=build-rate-limit |
|
Deployment failed with the following error: Learn More: https://vercel.com/react-component?upgradeToPro=build-rate-limit |
|
Related to ant-design/ant-design#58514. |
There was a problem hiding this comment.
Pull request overview
This PR modernizes the repository’s maintenance/tooling setup by upgrading key frontend/dev dependencies, migrating ESLint to the flat-config format for ESLint 9 / TypeScript ESLint 8 compatibility, and making small housekeeping improvements (README branding link and grouped Dependabot updates).
Changes:
- Upgrade React/TypeScript/ESLint/testing and related linting dependencies.
- Migrate from legacy
.eslintrc.jstoeslint.config.mjs(ESLint flat config). - Add consolidated global TypeScript declarations and update TS project settings (plus README + Dependabot tweaks).
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tsconfig.json | Updates TS compiler settings (module resolution/module) and adjusts include/exclude + path aliases. |
| README.zh-CN.md | Wraps the Ant Design ecosystem logo with a link to ant.design. |
| README.md | Wraps the Ant Design ecosystem logo with a link to ant.design. |
| package.json | Updates core dev tooling dependencies (React/TS/ESLint/testing/lint-staged/etc.). |
| global.d.ts | Adds global type references and module declarations for style/assets and a few imports. |
| eslint.config.mjs | Introduces ESLint flat config compatible with ESLint 9 / TS ESLint 8. |
| .github/dependabot.yml | Enables grouped Dependabot updates for npm and GitHub Actions. |
| .eslintrc.js | Removes legacy ESLint config in favor of flat config. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Summary
Test Plan