Skip to content

chore: standardize repository maintenance#52

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

chore: standardize repository maintenance#52
afc163 merged 12 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- npx tsc --noEmit\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

@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
listy Error Error Jul 3, 2026 3:36am

@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: 0bfe7fc5-ccc8-4128-b2df-e751ead4f70b

📥 Commits

Reviewing files that changed from the base of the PR and between d022405 and 897e3e7.

⛔ Files ignored due to path filters (1)
  • tests/__snapshots__/listy.test.tsx.snap is excluded by !**/*.snap
📒 Files selected for processing (14)
  • .eslintrc.js
  • .github/FUNDING.yml
  • .github/dependabot.yml
  • .github/workflows/codeql.yml
  • .github/workflows/main.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
  • 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.

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

Copy link
Copy Markdown
Contributor

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 updates the repository configuration, CI/CD settings, and documentation for @rc-component/listy. Key changes include updating Dependabot schedules and grouping, simplifying funding options, adding a Chinese translation of the README, updating Vercel build settings, and adding wildcard include patterns to tsconfig.json. Feedback on these changes highlights that the simplified API tables in both the English and Chinese READMEs are missing critical details (such as types, defaults, and programmatic APIs) and should be restored. Additionally, it is recommended to add an exclude array to tsconfig.json to prevent TypeScript from scanning build output directories, which can cause duplicate identifier errors and slow down compilation.

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 tsconfig.json Outdated
@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 100.00%. Comparing base (d022405) to head (897e3e7).

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #52   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          211       211           
  Branches        62        63    +1     
=========================================
  Hits           211       211           

☔ 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-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.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

❌ Deploy failed

PR preview ❌ Failed ❌ Failed
🔗 Preview https://react-component-listy-preview-pr-52.surge.sh (may be unavailable)
📝 Commit897e3e7
🪵 LogsView logs
📋 Build log (last lines)
npm warn exec The following package was not found and will be installed: surge@0.28.0

   Running as afc163@gmail.com (Student)

   Aborted - No such file or directory: ./docs-dist

🤖 Powered by surge-preview

@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/react-component?upgradeToPro=build-rate-limit

@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 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

This PR standardizes repository maintenance by refreshing documentation and aligning CI/release/automation configurations with the current @rc-component/* ecosystem patterns.

Changes:

  • Refreshes README.md and adds README.zh-CN.md with consistent branding, badges, install/usage/dev/release/license sections.
  • Updates tooling and automation: adds flat ESLint config, updates TypeScript config include/exclude, and modernizes GitHub workflows (test, preview, CodeQL, react-doctor, dependabot, funding).
  • Cleans up legacy configuration by removing the old .eslintrc.js and legacy workflow.

Reviewed changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
vercel.json Sets explicit Vercel install/build/output settings for docs deployment.
tsconfig.json Adds explicit include/exclude to standardize TS project boundaries.
tests/snapshots/listy.test.tsx.snap Updates snapshot header URL.
README.zh-CN.md Adds a new Simplified Chinese README with standardized sections and example.
README.md Rewrites README to match standardized rc-component README structure and content.
package.json Updates package description, removes legacy script, and refreshes dev tooling deps.
eslint.config.mjs Introduces ESLint flat config and replaces legacy .eslintrc.js.
.github/workflows/test.yml Adds reusable test workflow integration.
.github/workflows/surge-preview.yml Adds Surge preview workflow for PR builds.
.github/workflows/react-doctor.yml Adds React Doctor workflow for PR/push checks.
.github/workflows/main.yml Removes legacy workflow entrypoint.
.github/workflows/codeql.yml Updates CodeQL schedule, language matrix, and action pinning.
.github/FUNDING.yml Simplifies funding configuration to the intended platforms.
.github/dependabot.yml Groups updates and standardizes schedules/timezone for npm/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.

Comment thread eslint.config.mjs
@afc163 afc163 force-pushed the codex/standardize-rc-infra branch from 8dd2ac3 to 897e3e7 Compare July 3, 2026 03:35
@afc163 afc163 merged commit 3f6542a into master Jul 3, 2026
12 of 13 checks passed
@afc163 afc163 deleted the codex/standardize-rc-infra branch July 3, 2026 12:31
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