chore: standardize repository maintenance#55
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 (15)
✨ 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #55 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 4 4
Lines 90 92 +2
Branches 24 26 +2
=========================================
+ Hits 90 92 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Code Review
This pull request introduces several configuration and documentation updates. It adds a funding configuration, updates Dependabot to run weekly with grouped dependencies, significantly improves the English README, and adds a Chinese translation. Additionally, it updates package dependencies, removes an unused build script, refines the TypeScript configuration, and adds a Vercel deployment configuration. There are no review comments, and I have no feedback to provide.
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 |
|||||||||
|
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. |
|
React Doctor found no new issues. 🎉 Reviewed by React Doctor for commit |
There was a problem hiding this comment.
Pull request overview
This PR standardizes repository maintenance across docs, tooling, and CI/CD by refreshing READMEs/branding, migrating ESLint to flat config, aligning GitHub workflows (tests, previews, doctor), and updating related automation/configuration (Dependabot, Funding, Vercel).
Changes:
- Refresh README/README.zh-CN with consistent Ant Design ecosystem branding and updated sections (install/usage/dev/release/license).
- Replace legacy ESLint config with ESLint v9 flat config and modernized devDependencies.
- Align GitHub maintenance automation: reusable test workflow, Surge preview, React Doctor, Dependabot grouping, and Vercel preview config.
Reviewed changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| vercel.json | Adds Vercel build configuration for generating/publishing the docs output. |
| tsconfig.json | Updates TS resolution/types and path aliases to match the standardized toolchain. |
| src/Immutable.tsx | Refactors memoization wrapping to improve typing around forwardRef vs non-ref components. |
| src/context.tsx | Adjusts useRef initialization to be explicit under newer React/TS typings. |
| README.md | Rewrites the English README structure with centered header, badges, and updated guidance. |
| README.zh-CN.md | Adds a Simplified Chinese README aligned with the English version’s structure/content. |
| package.json | Updates metadata/scripts and modernizes devDependencies for the new lint/test/build setup. |
| eslint.config.mjs | Introduces ESLint flat config to replace legacy .eslintrc-based configuration. |
| .github/workflows/test.yml | Adds reusable CI test workflow invocation aligned with rc-test. |
| .github/workflows/surge-preview.yml | Adds optional Surge PR preview workflow gated by SURGE_TOKEN. |
| .github/workflows/react-doctor.yml | Adds React Doctor workflow for PR and master push checks. |
| .github/workflows/main.yml | Removes legacy CI workflow in favor of the standardized reusable workflow. |
| .github/FUNDING.yml | Adds GitHub/OpenCollective funding links for the organization. |
| .github/dependabot.yml | Switches to grouped weekly updates for npm and GitHub Actions ecosystems. |
| .eslintrc.js | Removes legacy ESLint config superseded by eslint.config.mjs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Summary
@rc-component/np; remove legacy duplicated CI or Now configuration where present.Refs ant-design/ant-design#58514
Test
npm run lintnpm run tscnpm run compilenpm testnpm run buildgit diff --check