chore: update maintenance dependencies#293
Conversation
|
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 (10)
✨ 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. |
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
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 ESLint flat configuration and global type definitions. Feedback focuses on maintaining code quality and type safety: it is highly recommended to keep strict type-checking enabled in tsconfig.json rather than disabling it, avoid fragile global type overrides for React in react-compat.d.ts, fully migrate to ESLint's flat config format to eliminate complex runtime normalization workarounds, and leverage Vitest's official global types instead of declaring test globals as any.
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 |
|||||||||||||||
|
React Doctor found no new issues. 🎉 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 #293 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 13 13
Lines 238 238
Branches 50 50
=========================================
Hits 238 238 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Related to ant-design/ant-design#58514. |
There was a problem hiding this comment.
Pull request overview
Maintenance-focused update that refreshes core frontend/tooling dependencies and modernizes lint/type configuration to stay compatible with newer ESLint/TypeScript ecosystems.
Changes:
- Updated React/TypeScript/ESLint/Testing Library and related tooling dependencies.
- Migrated ESLint from legacy
.eslintrcto ESLint 9 flat config (eslint.config.mjs). - Adjusted TS project setup (
moduleResolution: bundler, centralized global type refs) and updated README branding links.
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 and includes new global type declarations file. |
| src/index.tsx | Switches re-export to export type * to ensure only types are re-exported from interface. |
| src/components/Picker.tsx | Adds explicit generic types to DOM refs for improved TS inference. |
| README.md | Wraps Ant Design ecosystem logo with a link to https://ant.design. |
| README.zh-CN.md | Wraps Ant Design ecosystem logo with a link to https://ant.design. |
| package.json | Bumps maintenance dependencies and adds new lint-related packages. |
| global.d.ts | Introduces centralized triple-slash type references and module declarations. |
| eslint.config.mjs | Adds ESLint 9 flat config with TS/React/Jest plugin setup. |
| .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.
| "@testing-library/dom": "^10.4.1", | ||
| "@testing-library/jest-dom": "^6.9.1", | ||
| "@testing-library/react": "^15.0.7", | ||
| "@testing-library/react": "^16.3.2", | ||
| "@types/jest": "^30.0.0", | ||
| "@types/node": "^26.0.1", |
| languageOptions: { | ||
| parserOptions: { | ||
| projectService: true, | ||
| tsconfigRootDir: import.meta.dirname, | ||
| }, | ||
| }, |
| const pickerRef = useRef<HTMLDivElement>(null!); | ||
| const transformRef = useRef<HTMLDivElement>(null!); |

Summary
Test Plan