8000 chore: bump father version by zombieJ · Pull Request #368 · react-component/notification · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: bump father version #368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 21, 2025
Merged

chore: bump father version #368

merged 2 commits into from
Mar 21, 2025

Conversation

zombieJ
Copy link
Member
@zombieJ zombieJ commented Mar 21, 2025

Summary by CodeRabbit

  • Documentation
    • 更新了使用指南、示例和许可信息,将组件名称调整为 "@rc-component/notification"。
  • Chores
    • 实现了组件命名的重构,版本升级至 1.0.0,并调整了依赖管理和发布流程。
  • Refactor
    • 优化了内部模块引用路径,确保各模块的命名和导入方式与新版组件名称保持一致。

Copy link
vercel bot commented Mar 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
notification ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 21, 2025 3:31pm

Copy link
coderabbitai bot commented Mar 21, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

该 PR 主要调整了模块别名与依赖的引用方式,将通知组件从 rc-notification 重新命名为 @rc-component/notification。修改内容涵盖了配置文件(.dumirc.ts)、文档(README.md)、示例代码以及多个源码文件中的导入路径,同时在 package.json 中对包名、版本、依赖项和预发布脚本进行了相应更新。

Changes

文件 更改摘要
.dumirc.ts 修改 alias 配置,将 rc-notification$rc-notification/es 分别改为 @rc-component/notification$@rc-component/notification/es
README.md 更新组件名称、导入语句、徽章 URL 及许可声明,将 rc-notification 重新命名为 @rc-component/notification
package.json 修改包名(从 rc-notification 变更为 @rc-component/notification)、版本号调整(从 5.6.3 变为 1.0.0)、依赖项调整及预发布脚本更改。
docs/.../motion.ts, src/NoticeList.tsx, src/Notifications.tsx, src/hooks/useNotification.tsx 更新导入声明,将 CSSMotionProps(及 CSSMotionList)的来源从 rc-motion 改为 @rc-component/motion
src/Notice.tsx, src/hooks/useNotification.tsx 更新导入声明,将 KeyCodepickAttrs(及 useEvent)的来源从 rc-util 改为 @rc-component/util

Possibly related PRs

Poem

我是一只跳跃的代码兔,
在模块间翻滚,轻装上阵;
别名换新颜,依赖顺流转,
文档闪耀新光,版本奏起欢欣;
🐰 编程乐章里,我和代码共舞!


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e1b411d and 34ac7f3.

📒 Files selected for processing (1)
  • README.md (2 hunks)

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
codecov bot commented Mar 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.74%. Comparing base (bdc9763) to head (34ac7f3).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #368   +/-   ##
=======================================
  Coverage   99.74%   99.74%           
=======================================
  Files           7        7           
  Lines         772      772           
  Branches      124      124           
=======================================
  Hits          770      770           
  Misses          2        2           

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

Copy link
socket-security bot commented Mar 21, 2025

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@rc-component/father-plugin@1.1.02.0.4 None +4 121 kB afc163
npm/@rc-component/motion@1.1.4 None 0 88.8 kB zombiej
npm/@rc-component/np@1.0.3 Transitive: environment, eval, filesystem, shell, unsafe +152 14.2 MB zombiej
npm/@rc-component/util@1.2.1 environment +1 202 kB zombiej

View full report↗︎

@zombieJ zombieJ merged commit f8d829d into master Mar 21, 2025
9 of 10 checks passed
@zombieJ zombieJ deleted the bump-father-plugin branch March 21, 2025 15:34
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.

1 participant
0