Skip to content

Conversation

@tuzixiangs
Copy link
Contributor

@tuzixiangs tuzixiangs commented Nov 25, 2025

update package name from rc-cascader to @rc-component/cascader in README and docs.

Summary by CodeRabbit

  • 文档
    • 更新了项目名称引用,将npm包名称从"rc-cascader"更新为"@rc-component/cascader"
    • 更新了相关的npm徽章、安装命令和链接

✏️ Tip: You can customize this high-level summary in your review settings.

@vercel
Copy link

vercel bot commented Nov 25, 2025

@tuzixiangs is attempting to deploy a commit to the React Component Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link

coderabbitai bot commented Nov 25, 2025

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Walkthrough

将包名从 rc-cascader 重新命名为 @rc-component/cascader,涉及 README 和文档文件中的版本标记、npm 徽章链接、安装命令和许可证行。仅包含文档和命名变更,无功能代码逻辑修改。

Changes

内聚组 / 文件 变更摘要
包名重新品牌化
README.md
将所有对 rc-cascader 的引用更新为 @rc-component/cascader,包括 npm 徽章、GitHub Actions 链接、安装命令、BundlePhobia 资源链接和许可证声明
文档标题更新
docs/index.md
更新 hero.title 从 "rc-cascader" 改为 "@rc-component/cascader"

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 分钟

  • 所有变更均为一致的命名替换,无需逻辑验证
  • 仅涉及文档文件,零风险

Poem

🐰 一个名字的蜕变,
从 rc-cascader 到新家乡,
@rc-component 的怀抱温暖,
文档轻声述说这个故事,
品牌升级,代码如昨。 ✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed 标题清晰准确地总结了主要变更,即将包名从 rc-cascader 更新为 @rc-component/cascader,与 README.md 和 docs/index.md 中的实际更改完全一致。
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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 and usage tips.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @tuzixiangs, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on a refactor to update the package name for the React Cascader component. The change involves renaming the package from rc-cascader to @rc-component/cascader within the project's documentation. This ensures that all references, including installation instructions and badges, are aligned with the new naming convention, providing clarity and consistency for users and developers.

Highlights

  • Package Name Update: The package name has been updated from rc-cascader to @rc-component/cascader across all relevant documentation.
  • Documentation Alignment: The README.md and docs/index.md files have been modified to reflect the new package name, ensuring consistency in installation instructions, badges, and general references.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

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

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 package name from rc-cascader to @rc-component/cascader in the documentation files. The changes are straightforward and correctly reflect the package name change. I've noticed a small inconsistency in the URL protocols for npmjs.org and have suggested a correction to use https for better security and consistency.

[npm-image]: http://img.shields.io/npm/v/rc-cascader.svg?style=flat-square
[npm-url]: http://npmjs.org/package/rc-cascader
[npm-image]: http://img.shields.io/npm/v/@rc-component/cascader.svg?style=flat-square
[npm-url]: http://npmjs.org/package/@rc-component/cascader
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

For consistency and to adhere to security best practices, it's better to use https for all npmjs.org URLs. Other links to npmjs in this file are already using https.

Suggested change
[npm-url]: http://npmjs.org/package/@rc-component/cascader
[npm-url]: https://npmjs.org/package/@rc-component/cascader

@afc163 afc163 changed the title refactor: update package name from rc-cascader to `@rc-component/ca… docs: update package name from rc-cascader to `@rc-component/ca… Nov 25, 2025
@afc163 afc163 changed the title docs: update package name from rc-cascader to `@rc-component/ca… docs: update package name from rc-cascader to `@rc-component/cascader Nov 25, 2025
@afc163 afc163 changed the title docs: update package name from rc-cascader to `@rc-component/cascader docs: update package name from rc-cascader to @rc-component/cascader Nov 25, 2025
@codecov
Copy link

codecov bot commented Nov 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.52%. Comparing base (02a9a28) to head (d7dfd74).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #634   +/-   ##
=======================================
  Coverage   99.52%   99.52%           
=======================================
  Files          24       24           
  Lines         635      635           
  Branches      194      183   -11     
=======================================
  Hits          632      632           
  Misses          3        3           

☔ View full report in Codecov by Sentry.
📢 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.

@afc163 afc163 closed this Nov 25, 2025
@afc163 afc163 reopened this Nov 25, 2025
@afc163 afc163 merged commit 7744130 into react-component:master Nov 25, 2025
9 of 10 checks passed
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.

2 participants