chore: standardize repository maintenance#9
Conversation
|
Warning Review limit reached
Next review available in: 23 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 (17)
✨ 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 #9 +/- ##
==========================================
+ Coverage 91.17% 91.25% +0.07%
==========================================
Files 5 5
Lines 238 240 +2
Branches 72 72
==========================================
+ Hits 217 219 +2
Misses 21 21 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
✅ Preview is ready!
↩️ Previous: ⚡️ 🤖 Powered by surge-preview |
|||||||||||||||
There was a problem hiding this comment.
Code Review
This pull request introduces several repository enhancements, including adding funding and dependabot configurations, restructuring the English README, adding a Chinese translation (README.zh-CN.md), updating package.json scripts and dependencies, and adding a vercel.json configuration. The review feedback suggests clarifying the API description for lessEquals in both README files and refactoring the package.json scripts to eliminate redundancy between the new tsc script and the existing lint:tsc command.
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.
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the 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. |
There was a problem hiding this comment.
Pull request overview
Standardizes repository maintenance and project metadata to align with the broader Ant Design / rc-component ecosystem: refreshed READMEs, modernized tooling (ESLint flat config, dependency bumps), and standardized CI/automation (tests, CodeQL, previews, dependabot, funding).
Changes:
- Refresh README/README.zh-CN branding and usage/development/release docs.
- Adopt ESLint v9 flat config + update TS/React/tooling dependencies and scripts.
- Add/align GitHub Actions workflows (test, CodeQL, React Doctor, Surge preview) plus Dependabot and Funding; remove legacy ESLint config and old CI workflow.
Reviewed changes
Copilot reviewed 15 out of 16 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| vercel.json | Adds Vercel build settings for docs deployment. |
| tsconfig.json | Updates TS module resolution and path mapping configuration. |
| src/MiniDecimal.ts | Adjusts export style for Decimal implementations. |
| src/index.ts | Adds ESLint directive and preserves export surface. |
| README.zh-CN.md | Adds a new Simplified Chinese README with standardized sections. |
| README.md | Refreshes README layout, badges, and standardized sections. |
| package.json | Updates scripts and modernizes dependencies/tooling versions. |
| eslint.config.mjs | Introduces ESLint flat config (v9) setup. |
| .github/workflows/test.yml | Adds reusable unit test workflow wiring. |
| .github/workflows/surge-preview.yml | Adds Surge-based PR preview workflow. |
| .github/workflows/react-doctor.yml | Adds React Doctor workflow for PRs/pushes. |
| .github/workflows/main.yml | Removes legacy CI workflow. |
| .github/workflows/codeql.yml | Adds CodeQL scanning workflow. |
| .github/FUNDING.yml | Adds funding metadata (GitHub/OpenCollective). |
| .github/dependabot.yml | Adds Dependabot config with grouped 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.

Summary
@rc-component/np; remove legacy Now configuration where present.Refs ant-design/ant-design#58514
Test
npm run lint\n-npm run tsc\n-npm run compile\n-npm test\n-npm run build\n-git diff --check