chore: standardize repository config#523
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Walkthrough将仓库统一切换到 Changes包重命名与工程基础设施更新
预估代码审查工作量🎯 3 (Moderate) | ⏱️ ~25 minutes Suggested Reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ 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 |
✅ Preview is ready!
↩️ Previous: ⚡️ 🤖 Powered by surge-preview |
|||||||||||||||
|
React Doctor found no new issues. 🎉 Reviewed by React Doctor for commit |
|
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. |
There was a problem hiding this comment.
Code Review
This pull request updates the project configuration, documentation, and examples to migrate from the legacy rc-tooltip package name to the scoped @rc-component/tooltip package. Key changes include updating aliases in .dumirc.ts and tsconfig.json, revising the README.md and examples, adding new build and deployment scripts in package.json, and configuring Vercel deployment. Feedback on these changes suggests removing redundant wildcard alias keys in .dumirc.ts and simplifying the gh-pages script in package.json to avoid duplicating build steps.
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.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #523 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 3
Lines 36 36
Branches 14 14
=========================================
Hits 36 36 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Deployment failed with the following error: Learn More: https://vercel.com/react-component?upgradeToPro=build-rate-limit |
|
Deployment failed with the following error: Learn More: https://vercel.com/afc163s-projects?upgradeToPro=build-rate-limit |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Actionable comments posted: 5
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/react-component-ci.yml:
- Around line 11-12: Update the reusable workflow call in the CI configuration
to stop using the mutable `@main` reference and replace it with a pinned commit
SHA, and narrow secret propagation by removing secrets: inherit. In the workflow
invocation for react-component/rc-test/.github/workflows/test-utoo.yml,
explicitly pass only the CODECOV_TOKEN secret so the called workflow receives
just the required credential.
In @.github/workflows/surge-preview.yml:
- Around line 26-41: The Surge preview workflow is reading secrets directly in
step-level if conditions, which GitHub Actions rejects. Update the job setup so
SURGE_TOKEN is exposed once via job-level env, then change the affected step
conditions in surge-preview.yml to use env.SURGE_TOKEN instead of
secrets.SURGE_TOKEN; keep the afc163/surge-preview step and the Skip Surge
preview step aligned with that env-based check.
In `@README.md`:
- Line 67: Update the documentation text for TriggerProps['builtinPlacements']
so the description uses the hyphenated form “built-in placements” instead of
“built in placements”; adjust the README table entry in the builtinPlacements
row to keep the terminology grammatically correct and consistent.
In `@README.zh-CN.md`:
- Line 73: The Chinese README has several mistranslations in the prop table that
should be corrected for accuracy and consistency. Update the descriptions for
getTooltipContainer, mouseEnterDelay, mouseLeaveDelay, placement, and
prefixClassName in README.zh-CN.md to use the intended meanings (“获取/指定弹层容器”,
“鼠标移入”, “鼠标移出后隐藏的延迟(秒)”, “弹层放置”, and “前缀 className/类名”); use the prop names
themselves to locate the affected entries.
- Line 67: The English phrase in the README table is missing the hyphen in
“built in.” Update the description text for builtinPlacements to use “built-in
placements” so it matches the English README and keeps terminology consistent.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 7eecf2b2-3967-4bcd-81d2-5a27fd2856ca
📒 Files selected for processing (23)
.dumirc.ts.github/FUNDING.yml.github/dependabot.yml.github/workflows/codeql.yml.github/workflows/react-component-ci.yml.github/workflows/react-doctor.yml.github/workflows/site-deploy.yml.github/workflows/surge-preview.yml.gitignoreREADME.mdREADME.zh-CN.mddocs/examples/arrowContent.tsxdocs/examples/formError.tsxdocs/examples/onVisibleChange.tsxdocs/examples/placement.tsxdocs/examples/point.tsxdocs/examples/showArrow.tsxdocs/examples/simple.tsxdocs/examples/twoButtons.tsxdocs/index.mdpackage.jsontsconfig.jsonvercel.json
💤 Files with no reviewable changes (1)
- .github/workflows/site-deploy.yml

Summary
Test plan
npm run tscnpm test -- --runInBandnpm run lintnpm run buildnpx vercel build --yesRefs ant-design/ant-design#58514
Summary by CodeRabbit
@rc-component/tooltip,更新包入口与发布清单。