chore: update maintenance dependencies#101
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: 58 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 |
There was a problem hiding this comment.
Code Review
This pull request updates the project's dependencies (including React 19, TypeScript 6, and ESLint 9), configures flat ESLint settings, groups Dependabot updates, and adds type declaration files. Feedback on these changes highlights several issues: disabling strict type-checking flags in tsconfig.json reduces type safety, referencing the removed @typescript-eslint/ban-types rule in eslint.config.mjs will cause ESLint to error, and declaring Jest globals as any in global.d.ts overrides strongly-typed definitions.
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.
|
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. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
❌ Deploy failed
📋 Build log (last lines)🤖 Powered by surge-preview |
|||||||||
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #101 +/- ##
=======================================
Coverage 99.16% 99.16%
=======================================
Files 10 10
Lines 239 239
Branches 104 104
=======================================
Hits 237 237
Misses 2 2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
React Doctor found no new issues. 🎉 Reviewed by React Doctor for commit |
|
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
Updates the repo’s maintenance/developer tooling to newer React/TypeScript/ESLint ecosystems, modernizes lint configuration for ESLint 9+, and applies small documentation/link and snapshot housekeeping changes.
Changes:
- Upgrade React/ReactDOM, TypeScript, ESLint, Testing Library, and related lint/type dependencies.
- Migrate from legacy
.eslintrc.jsto ESLint flat config (eslint.config.mjs) and addglobal.d.tsto centralize type references/module shims. - Update tsconfig module resolution settings, Dependabot grouping, and README logo links.
Reviewed changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
tsconfig.json |
Updates TS module resolution and include/exclude entries (adds global.d.ts). |
tests/__snapshots__/index.test.tsx.snap |
Updates snapshot header URL. |
src/Tour.tsx |
Adjusts useRef initialization for triggerRef. |
README.md |
Wraps Ant Design logo with a link and removes an extra blank line. |
README.zh-CN.md |
Same logo link/formatting adjustments as English README. |
package.json |
Major dev-toolchain dependency upgrades (React/TS/ESLint/testing/lint tools). |
global.d.ts |
Adds global type references and ambient module declarations. |
eslint.config.mjs |
Adds ESLint 9 flat config with React, TS ESLint, and Jest integration. |
.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