chore: update maintenance dependencies#717
Conversation
|
Deployment failed with the following error: Learn More: https://vercel.com/react-component?upgradeToPro=build-rate-limit |
|
Warning Review limit reached
Next review available in: 7 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 updates the project's dependencies to React 19, TypeScript 6, and ESLint 9, introduces a flat ESLint configuration, and adds global type definitions. Feedback on these changes highlights several areas for improvement: disabling strict type-checking in tsconfig.json reduces type safety and should be avoided; declaring testing globals as any in global.d.ts overrides type-safe Jest declarations; polyfilling the deprecated hydrate function in react-compat.d.ts should be replaced with a migration to hydrateRoot; and disabling the removed @typescript-eslint/ban-types rule in eslint.config.mjs will cause ESLint errors and should be removed.
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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #717 +/- ##
=======================================
Coverage 89.58% 89.58%
=======================================
Files 6 6
Lines 317 317
Branches 90 90
=======================================
Hits 284 284
Misses 33 33 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
✅ Preview is ready!
↩️ Previous: ⚡️ 🤖 Powered by surge-preview |
|||||||||||||||
|
React Doctor skipped this pull request — it changed no React files. Reviewed by React Doctor for commit |
|
Deployment failed with the following error: Learn More: https://vercel.com/afc163s-projects?upgradeToPro=build-rate-limit |
|
Related to ant-design/ant-design#58514. |
There was a problem hiding this comment.
Pull request overview
Note
Copilot couldn't run its full agentic review because no GitHub Actions runner was available. Make sure your repository has a runner available to run Copilot's review, or add a copilot-setup-steps.yml file specifying one with the runs-on attribute. See the docs for more details.
Updates project maintenance dependencies and tooling, modernizing TypeScript + ESLint configuration while making small README branding tweaks.
Changes:
- Bumps React/TypeScript/testing + lint dependencies and adds ESLint 9 flat-config setup
- Adjusts TS config for bundler-style module resolution and adds a new global typings file
- Configures Dependabot to group npm and GitHub Actions updates; links Ant Design logo to https://ant.design in READMEs
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tsconfig.json | Switches TS module resolution strategy and expands included typings |
| package.json | Updates core dev dependencies (React, TS, ESLint, Testing Library, etc.) |
| global.d.ts | Adds global type references and module declarations |
| eslint.config.mjs | Introduces ESLint 9 flat config with React/Jest/TS support |
| README.md | Wraps Ant Design logo with ant.design link |
| README.zh-CN.md | Wraps Ant Design logo with ant.design link |
| .github/dependabot.yml | Groups 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.
| projectService: true, | ||
| tsconfigRootDir: import.meta.dirname, | ||
| }, |

Summary
Test Plan