chore: update maintenance dependencies#208
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: 48 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 ignored due to path filters (1)
📒 Files selected for processing (9)
✨ 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 to React 19, TypeScript 6, and ESLint 9, introducing flat configuration and updating dependabot groups. However, several workarounds were introduced that reduce type safety. Specifically, strict type-checking options were disabled in tsconfig.json, test runner globals were typed as any in global.d.ts (overriding @types/jest), and a fragile compatibility layer was added in react-compat.d.ts to monkey-patch React types. It is highly recommended to keep strict mode enabled, properly reference test runner types, and refactor components to be natively compatible with React 19 instead of using these workarounds.
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 |
|||||||||
|
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 #208 +/- ##
=======================================
Coverage 96.95% 96.95%
=======================================
Files 4 4
Lines 164 164
Branches 54 54
=======================================
Hits 159 159
Misses 5 5 ☔ 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 |
|
Related to ant-design/ant-design#58514. |
There was a problem hiding this comment.
Pull request overview
Updates the repo’s maintenance/tooling stack (React/TypeScript/ESLint/testing libs), modernizes ESLint to flat config, and applies a few housekeeping updates to docs and automation.
Changes:
- Upgrade React/TypeScript/ESLint and related lint/test dependencies, and migrate ESLint config to
eslint.config.mjs(flat config). - Adjust TypeScript configuration and add global ambient typings for test/tooling and asset imports.
- Tweak repo automation/docs: Dependabot grouped updates, README logo links, and CodeQL workflow behavior.
Reviewed changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tsconfig.json | Updates TS module resolution/options and reshapes paths/includes. |
| global.d.ts | Adds global type references and ambient module declarations (css/less/etc). |
| eslint.config.mjs | Introduces ESLint 9 flat config with React/TS/Jest integration. |
| package.json | Upgrades React/TS/ESLint/testing deps to newer major versions. |
| .eslintrc.js | Removes legacy ESLint config (replaced by flat config). |
| .github/workflows/codeql.yml | Changes when the CodeQL job runs. |
| .github/dependabot.yml | Enables grouped Dependabot updates for npm and actions. |
| README.md | Wraps Ant Design logo with a link and minor formatting cleanup. |
| README.zh-CN.md | Wraps Ant Design logo with a link and minor formatting cleanup. |
| tests/snapshots/simple.spec.js.snap | Updates snapshot header URL. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Summary
Test Plan