chore: update maintenance dependencies#150
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 ignored due to path filters (1)
📒 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 to React 19, ESLint 9, and updates various dependencies, along with adding a new ESLint flat configuration and compatibility type definitions. Feedback on these changes highlights several type safety and configuration concerns: disabling strict mode and adding explicit false overrides in tsconfig.json degrades type safety; declaring Jest globals as any in global.d.ts overrides strongly-typed definitions; monkey-patching React types in react-compat.d.ts is fragile compared to updating the codebase for React 19 compatibility; and the runtime configuration normalization in eslint.config.mjs should be replaced with a direct migration to the flat config format.
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.
✅ Preview is ready!
↩️ Previous: ⚡️ 🤖 Powered by surge-preview |
|||||||||||||||
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #150 +/- ##
=======================================
Coverage 97.77% 97.77%
=======================================
Files 2 2
Lines 45 45
Branches 25 25
=======================================
Hits 44 44
Partials 1 1 ☔ 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
This PR modernizes the repo’s maintenance setup by updating core front-end/tooling dependencies (React/TS/ESLint/Jest/Testing Library), migrating ESLint to flat config for ESLint 9 compatibility, and making small documentation/automation improvements.
Changes:
- Update React/React DOM, TypeScript, Jest, ESLint, Testing Library, and related lint/tooling dependencies.
- Replace legacy
.eslintrc.jswitheslint.config.mjs(ESLint flat config) and addglobal.d.tsfor centralized type references. - Link the Ant Design ecosystem logo to https://ant.design and group Dependabot updates.
Reviewed changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tsconfig.json | Updates TS module resolution and refactors path mappings / include-exclude formatting. |
| tests/snapshots/index.test.tsx.snap | Updates Jest snapshot header URL. |
| README.zh-CN.md | Wraps Ant Design logo with a link to ant.design. |
| README.md | Wraps Ant Design logo with a link to ant.design. |
| package.json | Bumps runtime/dev dependencies and introduces ESLint 9 + related plugins/config packages. |
| global.d.ts | Adds global type references and ambient module declarations used by TS compilation. |
| eslint.config.mjs | Adds ESLint 9 flat configuration with TS/React/Jest integration. |
| .github/dependabot.yml | Groups npm and GitHub Actions Dependabot updates. |
| .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.
| linterOptions: { | ||
| reportUnusedDisableDirectives: 'off', | ||
| }, |

Summary
Test Plan