Skip to content

chore: standardize repository maintenance#9

Merged
afc163 merged 14 commits into
masterfrom
codex/standardize-rc-infra
Jul 3, 2026
Merged

chore: standardize repository maintenance#9
afc163 merged 14 commits into
masterfrom
codex/standardize-rc-infra

Conversation

@afc163

@afc163 afc163 commented Jul 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Refresh README and README.zh-CN with centered heading, badges, Ant Design ecosystem branding, install, usage, development, release, and license sections.
  • Align Funding, grouped Dependabot updates, CodeQL, React Doctor, reusable test workflow, Surge preview, and Vercel preview configuration.
  • Align release documentation and scripts with @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
  • JSON parse check for package/config files
  • README consistency scan

@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@afc163, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 23 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: c82c59f9-2ded-43fd-9256-7b5349814635

📥 Commits

Reviewing files that changed from the base of the PR and between 53fc81e and fd173ff.

📒 Files selected for processing (17)
  • .eslintrc.js
  • .github/FUNDING.yml
  • .github/dependabot.yml
  • .github/workflows/codeql.yml
  • .github/workflows/main.yml
  • .github/workflows/preview.yml
  • .github/workflows/react-doctor.yml
  • .github/workflows/surge-preview.yml
  • .github/workflows/test.yml
  • README.md
  • README.zh-CN.md
  • eslint.config.mjs
  • package.json
  • src/MiniDecimal.ts
  • src/index.ts
  • tsconfig.json
  • vercel.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/standardize-rc-infra

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.25%. Comparing base (53fc81e) to head (fd173ff).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

✅ Preview is ready!

PR preview ✅ Ready ✅ Ready
🔗 Preview https://react-component-mini-decimal-preview-pr-9.surge.sh
📝 Commitfd173ff
⏱️ Build time19.11s
📦 Size1.4 MB (no change) · 19 files
🪵 LogsView logs
📱 MobileScan to open preview on mobile

↩️ Previous: ⚡️ fd173ff · react-component-mini-decimal-preview-pr-9.surge.sh (open ↗) · 2026-07-03 03:35:31 UTC

🤖 Powered by surge-preview

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread README.md Outdated
Comment thread README.zh-CN.md Outdated
Comment thread package.json Outdated
@github-advanced-security

Copy link
Copy Markdown

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:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@socket-security

socket-security Bot commented Jul 1, 2026

Copy link
Copy Markdown

@socket-security

socket-security Bot commented Jul 1, 2026

Copy link
Copy Markdown

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.

View full report

Copilot AI review requested due to automatic review settings July 2, 2026 03:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread vercel.json Outdated
Comment thread .github/workflows/surge-preview.yml Outdated
@afc163 afc163 merged commit 69db0d3 into master Jul 3, 2026
12 checks passed
@afc163 afc163 deleted the codex/standardize-rc-infra branch July 3, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants