Skip to content
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

refact: okam > mako, @alipay > @umijs #1113

Merged
merged 3 commits into from
May 6, 2024
Merged

refact: okam > mako, @alipay > @umijs #1113

merged 3 commits into from
May 6, 2024

Conversation

sorrycc
Copy link
Member

@sorrycc sorrycc commented May 6, 2024

ref #1088

Changes:

  • @alipay/umi-bundler-okam 更名为 @umijs/bundler-mako
  • @okamjs/okam 更名为 @umijs/mako
  • @okamjs/rsc 更名为 @umijs/rsc

Summary by CodeRabbit

CodeRabbit的总结

  • 新功能
    • 更新了依赖项,将 "@okamjs/rsc" 更改为 "@umijs/rsc",并调整了 git 推送命令以排除标签。

Copy link
Contributor

coderabbitai bot commented May 6, 2024

Walkthrough

整体变更概述:项目中进行了一系列变更,涉及从 @okamjs@umijs 的命名空间转换。更新了依赖关系、包名、函数命名等多个方面的调整。

Changes

文件路径 变更概要
CONTRIBUTING.md 更新了 bundler-okambundler-mako 相关的命令和配置。
examples/config-externals/package.json 移除了 @alipay/umi-bundler-okam 的依赖。
examples/rsc/build.js 更新了 import 路径从 @okamjs/okam@umijs/mako,移除了 os 模块的引用。
examples/rsc/package.json 更新了依赖从 @okamjs/okam@umijs/mako@okamjs/rsc@umijs/rsc
examples/rsc/start.js 更新了 parseClientStats 的引入路径从 @okamjs/rsc@makojs/rsc
package.json 调整了构建脚本、发布脚本和脚本名称,从 @okamjs/okam@umijs/mako
packages/bundler-mako/index.js 更新了导出函数中的配置属性和命名空间,从 @okamjs/okam@umijs/mako
packages/bundler-mako/package.json 修改了包名和依赖,从 @alipay/umi-bundler-okam@umijs/bundler-mako@okamjs/okam@umijs/mako
packages/mako/binding.js 更新了多个模块的引入路径,从 @okamjs@umijs
packages/mako/package.json 更新了包名和相关依赖,从 @okamjs/okam@umijs/mako
packages/mako/scripts/quick-release.ts 重命名了函数调用,从 setNewVersionToBundlerOkamsetNewVersionToBundlerMako
packages/mako/scripts/release.ts 重命名了函数和调整了构建命令,从 setNewVersionToBundlerOkamsetNewVersionToBundlerMako
packages/mako/scripts/utils.ts 重命名了函数和更新了依赖关系,从 setNewVersionToBundlerOkamsetNewVersionToBundlerMako
packages/rsc/package.json 更新了包名,从 @okamjs/rsc@umijs/rsc
scripts/mako.js 更新了 import 路径,从 @okamjs/okam@umijs/mako
scripts/release-bundler-mako.ts 更新了多个命令和路径,从 bundler-okambundler-mako
scripts/release-rsc.ts 更新了多个命令,从 @okamjs/rsc@umijs/rsc

Poem

编辑代码如织网,@okamjs@umijs

函数改名路径调整,兔子欢快度春风。 🐇🌸

Note

Pull Request Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://coderabbit.ai


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>.
    • 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 generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @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.

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 as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration 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.

sorrycc added 2 commits May 6, 2024 15:37
# Conflicts:
#	packages/bundler-mako/package.json
#	packages/mako/package.json
@sorrycc sorrycc merged commit 8aaf5d6 into master May 6, 2024
8 checks passed
@delete-merged-branch delete-merged-branch bot deleted the sorrycc-k3rm branch May 6, 2024 07:43
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