Skip to content

Conversation

Copy link

coderabbitai bot commented Aug 30, 2025

Walkthrough

本次提交统一将版本号从 4.1.5-alpha.2 提升到 4.1.6,涵盖根仓与多包 package.json,以及 npm 平台分发包。除版本字段外无其他字段、代码、配置或导出变更。

Changes

Cohort / File(s) Summary
根与原生绑定
package.json, crates/native_binding/package.json
版本从 4.1.5-alpha.2 升至 4.1.6;无其他改动。
npm 平台二进制分发
npm/darwin-arm64/package.json, npm/darwin-x64/package.json, npm/linux-x64-gnu/package.json, npm/linux-x64-musl/package.json, npm/win32-x64-msvc/package.json
版本从 4.1.5-alpha.2 升至 4.1.6;无其他改动。
Babel 与相关转换插件
packages/babel-plugin-transform-react-jsx-to-rn-stylesheet/package.json, packages/babel-plugin-transform-solid-jsx/package.json, packages/babel-plugin-transform-taroapi/package.json
版本从 4.1.5-alpha.2 升至 4.1.6;无其他改动。
PostCSS 与样式工具
packages/postcss-*/package.json, packages/css-to-react-native/package.json
版本从 4.1.5-alpha.2 升至 4.1.6;无其他改动。
Lint/格式化配置
packages/eslint-*/package.json, packages/stylelint-*/package.json
版本从 4.1.5-alpha.2 升至 4.1.6;无其他改动。
核心与运行时
packages/taro/package.json, packages/taro-api/package.json, packages/taro-runtime*/package.json, packages/taro-service/package.json, packages/shared/package.json, packages/taro-helper/package.json, packages/taro-extend/package.json, packages/taro-router*/package.json
版本从 4.1.5-alpha.2 升至 4.1.6;无其他改动。
组件与框架
packages/taro-components*/package.json, packages/taro-components-advanced/package.json, packages/taro-components-library-*/package.json, packages/taro-framework-*/package.json, packages/taro-react/package.json
版本从 4.1.5-alpha.2 升至 4.1.6;无其他改动。
平台适配(各端)
packages/taro-platform-*/package.json, packages/taro-h5/package.json
版本从 4.1.5-alpha.2 升至 4.1.6;无其他改动。
RN 相关
packages/taro-rn*/package.json, packages/taro-components-rn/package.json, packages/taro-router-rn/package.json, packages/taro-runtime-rn/package.json
版本从 4.1.5-alpha.2 升至 4.1.6;无其他改动。
构建与打包工具链
packages/taro-cli*/package.json, packages/taro-vite-runner/package.json, packages/taro-webpack5-*/package.json, packages/rollup-plugin-copy/package.json, packages/taro-loader/package.json, packages/taro-runner-utils/package.json, packages/create-app/package.json, packages/taro-plugin-*/package.json, packages/taro-with-weapp/package.json, packages/taroize/package.json, packages/taro-transformer-wx/package.json
版本从 4.1.5-alpha.2 升至 4.1.6;无其他改动。

Sequence Diagram(s)

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested reviewers

  • luckyadam
  • ZakaryCode
  • tutuxxx

Poem

小兔挥笔 bump 一行,版本跃上四点一六。
包包齐声同步唱,代码静默不喧哗。
构建轮转如常礼,平台齐步向前跑。
(\_/) release 轻轻跳,=^.^= 发布稳到好!

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/release-4.1.6

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.
    • 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.
  • 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 the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit 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

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • 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.

@Single-Dancer Single-Dancer requested a review from tutuxxx August 30, 2025 06:54
@coderabbitai coderabbitai bot requested review from luckyadam and ZakaryCode August 30, 2025 06:56
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 5

🧹 Nitpick comments (8)
packages/taro-with-weapp/package.json (1)

3-3: 版本号更新无误。

顺带一个小建议:该文件 repository.url 指向了 master 分支路径,而本仓库默认分支为 main,建议更正以免跳转 404。

可在后续 PR 中调整:

-    "url": "https://github.com/NervJS/taro/tree/master/packages/taro-with-weapp"
+    "url": "https://github.com/NervJS/taro/tree/main/packages/taro-with-weapp"
packages/taro-vite-runner/package.json (1)

3-3: 可选:在后续小版本中放宽 Vite peerDependencies 范围至 "^4 || ^5"
当前工作区所有包均仅声明了 "vite": "^4",尚无 Vite 5 先例(taro-vite-runner、taro-platform-harmony-cpp、taro-framework-vue3、taro-framework-solid、taro-framework-react 均为 ^4)。“H5 with Vite 可配置全部 Vite server 选项”功能若已在内部验证与 Vite 5 兼容,可考虑在后续小版本中将 peerDependencies 更新为 "^4 || ^5"

packages/eslint-config-taro/package.json (1)

3-3: 版本号更新到 4.1.6,LGTM。
建议在发布说明中标注该配置包无规则变更,仅版本对齐,避免使用方误解为规则更新。

packages/postcss-plugin-constparse/package.json (1)

3-3: 版本号提升至 4.1.6,LGTM。
无功能变更时,无需变更 peerDependencies;保持与 PostCSS 8 的兼容声明即可。

packages/stylelint-taro-rn/package.json (1)

3-3: 版本号更新无误。

devDependencies 中对 stylelint 的范围是 ">=16.4.0 <=16.10.0",peer 为 "^16"。若后续需要兼容 16 的更高小版本,可考虑将 dev 范围放宽到与 peer 一致,保持内外一致性;当前不阻塞发布。

packages/taro-platform-alipay/package.json (1)

8-16: 确认类型产物与 files 列表一致。

types 字段指向 dist/types/index.d.ts,files 同时包含 "dist" 与 "types"。若仓库根目录不存在独立的 types 目录,可考虑移除 "types" 以避免多余发布内容;否则请确保 CI 产物包含对应目录结构。

packages/taro-transformer-wx/package.json (1)

4-4: 英文描述存在拼写与专有名词大小写问题。

“Transfrom” 应为 “Transform”;“Wechat” 建议改为 “WeChat”。

应用如下 diff(仅文案,不影响功能):

-  "description": "Transfrom Nerv Component to Wechat mini program.",
+  "description": "Transform Nerv Component to WeChat mini program.",
packages/taro-framework-vue3/package.json (1)

6-6: homepage 域名大小写与仓库其它处不一致。

为统一可读性,建议与 repository/url 等保持 “NervJS” 的大小写一致。

可选修改:

-  "homepage": "https://github.com/nervjs/taro",
+  "homepage": "https://github.com/NervJS/taro",
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 58b83f4 and a0b2161.

📒 Files selected for processing (79)
  • crates/native_binding/package.json (1 hunks)
  • npm/darwin-arm64/package.json (1 hunks)
  • npm/darwin-x64/package.json (1 hunks)
  • npm/linux-x64-gnu/package.json (1 hunks)
  • npm/linux-x64-musl/package.json (1 hunks)
  • npm/win32-x64-msvc/package.json (1 hunks)
  • package.json (1 hunks)
  • packages/babel-plugin-transform-react-jsx-to-rn-stylesheet/package.json (1 hunks)
  • packages/babel-plugin-transform-solid-jsx/package.json (1 hunks)
  • packages/babel-plugin-transform-taroapi/package.json (1 hunks)
  • packages/babel-preset-taro/package.json (1 hunks)
  • packages/create-app/package.json (1 hunks)
  • packages/css-to-react-native/package.json (1 hunks)
  • packages/eslint-config-taro/package.json (1 hunks)
  • packages/eslint-plugin-taro/package.json (1 hunks)
  • packages/jest-helper/package.json (1 hunks)
  • packages/postcss-html-transform/package.json (1 hunks)
  • packages/postcss-plugin-constparse/package.json (1 hunks)
  • packages/postcss-pxtransform/package.json (1 hunks)
  • packages/postcss-unit-transform/package.json (1 hunks)
  • packages/rollup-plugin-copy/package.json (1 hunks)
  • packages/shared/package.json (1 hunks)
  • packages/stylelint-config-taro-rn/package.json (1 hunks)
  • packages/stylelint-taro-rn/package.json (1 hunks)
  • packages/stylelint-taro/package.json (1 hunks)
  • packages/taro-api/package.json (1 hunks)
  • packages/taro-cli-convertor/package.json (1 hunks)
  • packages/taro-cli/package.json (1 hunks)
  • packages/taro-components-advanced/package.json (1 hunks)
  • packages/taro-components-library-react/package.json (1 hunks)
  • packages/taro-components-library-solid/package.json (1 hunks)
  • packages/taro-components-library-vue3/package.json (1 hunks)
  • packages/taro-components-react/package.json (1 hunks)
  • packages/taro-components-rn/package.json (1 hunks)
  • packages/taro-components/package.json (1 hunks)
  • packages/taro-extend/package.json (1 hunks)
  • packages/taro-framework-react/package.json (1 hunks)
  • packages/taro-framework-solid/package.json (1 hunks)
  • packages/taro-framework-vue3/package.json (1 hunks)
  • packages/taro-h5/package.json (1 hunks)
  • packages/taro-helper/package.json (1 hunks)
  • packages/taro-loader/package.json (1 hunks)
  • packages/taro-platform-alipay/package.json (1 hunks)
  • packages/taro-platform-ascf/package.json (1 hunks)
  • packages/taro-platform-h5/package.json (1 hunks)
  • packages/taro-platform-harmony-cpp/package.json (1 hunks)
  • packages/taro-platform-harmony-hybrid/package.json (1 hunks)
  • packages/taro-platform-harmony/package.json (1 hunks)
  • packages/taro-platform-jd/package.json (1 hunks)
  • packages/taro-platform-qq/package.json (1 hunks)
  • packages/taro-platform-swan/package.json (1 hunks)
  • packages/taro-platform-tt/package.json (1 hunks)
  • packages/taro-platform-weapp/package.json (1 hunks)
  • packages/taro-plugin-generator/package.json (1 hunks)
  • packages/taro-plugin-html/package.json (1 hunks)
  • packages/taro-plugin-http/package.json (1 hunks)
  • packages/taro-plugin-inject/package.json (1 hunks)
  • packages/taro-plugin-mini-ci/package.json (1 hunks)
  • packages/taro-plugin-react-devtools/package.json (1 hunks)
  • packages/taro-plugin-vue-devtools/package.json (1 hunks)
  • packages/taro-react/package.json (1 hunks)
  • packages/taro-rn-runner/package.json (1 hunks)
  • packages/taro-rn-style-transformer/package.json (1 hunks)
  • packages/taro-rn-supporter/package.json (1 hunks)
  • packages/taro-rn-transformer/package.json (1 hunks)
  • packages/taro-rn/package.json (1 hunks)
  • packages/taro-router-rn/package.json (1 hunks)
  • packages/taro-router/package.json (1 hunks)
  • packages/taro-runner-utils/package.json (1 hunks)
  • packages/taro-runtime-rn/package.json (1 hunks)
  • packages/taro-runtime/package.json (1 hunks)
  • packages/taro-service/package.json (1 hunks)
  • packages/taro-transformer-wx/package.json (1 hunks)
  • packages/taro-vite-runner/package.json (1 hunks)
  • packages/taro-webpack5-prebundle/package.json (1 hunks)
  • packages/taro-webpack5-runner/package.json (1 hunks)
  • packages/taro-with-weapp/package.json (1 hunks)
  • packages/taro/package.json (1 hunks)
  • packages/taroize/package.json (1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2025-08-25T22:16:50.118Z
Learnt from: ianzone
PR: NervJS/taro#18150
File: packages/babel-plugin-transform-taroapi/tests/__mocks__/h5-definition.json:2356-2356
Timestamp: 2025-08-25T22:16:50.118Z
Learning: The file `packages/babel-plugin-transform-taroapi/tests/__mocks__/h5-definition.json` is auto-generated by the post-build script `packages/taro-platform-h5/scripts/post-build.mjs`, which copies content from `taro-platform-h5/dist/definition.json`. This file should not be manually edited.

Applied to files:

  • packages/taro-platform-harmony/package.json
  • packages/babel-preset-taro/package.json
  • packages/taro-platform-h5/package.json
  • packages/taro-platform-harmony-hybrid/package.json
  • packages/jest-helper/package.json
  • packages/taro-platform-harmony-cpp/package.json
  • packages/taro-plugin-generator/package.json
  • packages/taro-plugin-html/package.json
  • packages/taro-framework-react/package.json
  • packages/taro-h5/package.json
  • packages/babel-plugin-transform-taroapi/package.json
📚 Learning: 2025-05-25T18:02:31.387Z
Learnt from: ianzone
PR: NervJS/taro#17746
File: packages/taro-runtime/tsdown.config.ts:10-16
Timestamp: 2025-05-25T18:02:31.387Z
Learning: 在 taro-runtime 包的 tsdown 配置中,必须禁用 treeshake 来保留 dom-external/index.js 文件。

Applied to files:

  • packages/taro-components/package.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
  • GitHub Check: Build Rust Binding / stable - x86_64-pc-windows-msvc
  • GitHub Check: Build Rust Binding / stable - x86_64-apple-darwin
  • GitHub Check: Build Rust Binding / stable - x86_64-unknown-linux-gnu
  • GitHub Check: Build Rust Binding / stable - aarch64-apple-darwin
  • GitHub Check: Build Rust WASM / stable - wasm32-wasi
  • GitHub Check: Build Rust Binding / stable - x86_64-pc-windows-msvc
  • GitHub Check: Build Rust Binding / stable - aarch64-apple-darwin
  • GitHub Check: Build Rust Binding / stable - x86_64-apple-darwin
🔇 Additional comments (71)
packages/eslint-plugin-taro/package.json (1)

3-3: 版本号提升至 4.1.6 —— LGTM

仅元数据变更,无功能影响。

packages/taro-router-rn/package.json (1)

3-3: 版本号同步到 4.1.6 —— 通过

与 monorepo 其他包保持一致即可。

packages/taro-runtime-rn/package.json (1)

3-3: 版本号更新正确,但请确认 RN 相关工作区依赖一并发布

本包依赖的 @tarojs/components-rn@tarojs/router-rn@tarojs/sharedworkspace:*。请确保这些包也已随 4.1.6 发布,避免发布后解析到旧版本。

npm/darwin-x64/package.json (1)

4-4: 二进制绑定版本号同步 —— 通过

请一并确认所有平台矩阵(darwin-arm64、linux-gnu/musl、win32 等)包的版本号也已提升至 4.1.6,确保发布一致性。

packages/taro-cli-convertor/package.json (1)

3-3: 版本号已统一更新为 4.1.6,未发现残留旧版本字面量,LGTM。

packages/taro-components-library-react/package.json (1)

3-3: 版本号已更新且该包保持 private:true,符合预期。LGTM。

packages/taro-platform-swan/package.json (1)

3-3: 版本号提升到 4.1.6,无其他改动,LGTM。

packages/babel-plugin-transform-react-jsx-to-rn-stylesheet/package.json (1)

3-3: 纯版本号更新至 4.1.6,LGTM。

packages/taro-plugin-generator/package.json (1)

3-3: 版本号更新至 4.1.6,发布配置保持 public,LGTM。

packages/babel-preset-taro/package.json (1)

3-3: 所有 package.json 的 version 字段已统一为 4.1.6,可直接合并。

packages/taro-platform-ascf/package.json (1)

3-3: 版本号提升——通过。

无其他字段变化,符合发布节奏。

packages/taro-cli/package.json (1)

3-3: 版本号已对齐至 4.1.6,符合本次发布目标。LGTM。

packages/taro-framework-solid/package.json (1)

3-3: 版本号提升至 4.1.6,无其他变更,符合发布要求。

packages/taro/package.json (1)

3-3: 核心包 @tarojs/taro 版本对齐到 4.1.6,符合发布节奏。

packages/taro-platform-harmony/package.json (1)

3-3: Harmony 平台插件版本号对齐至 4.1.6,变更合理。

package.json (1)

3-3: 请对齐所有 package.json 的版本至 4.1.6 或确认排除
脚本检查发现 examples/blended-apart/taro-project/package.json 的 version 仍为 1.0.0,请确认该示例项目是否也需同步至 4.1.6 或显式将其排除于版本校验之外。

packages/taro-rn-supporter/package.json (1)

3-3: 版本号提升至 4.1.6 — LGTM

仅版本号更新,无代码/配置行为变更,符合发布流程预期。

packages/create-app/package.json (2)

3-3: 版本号提升至 4.1.6 — LGTM

与仓库一致的纯版本号更新。


3-3: 执行全库版本自检并完善异常文件

  • 已确认无 “4.1.5-alpha.2” 残留,所有非 private 包均对齐至 4.1.6(脚本输出)。
  • 发现 packages/taro-cli/templates/global-config/package.jsonpackages/taro-cli/src/__tests__/fixtures/default/package.json 均缺失 version 字段,需确认是否补充或在检查脚本中排除这 two 文件。
crates/native_binding/package.json (1)

3-3: 版本号提升至 4.1.6 — LGTM

与绑定产物脚本保持一致;不涉及 N-API 配置改动。

packages/taro-plugin-mini-ci/package.json (1)

3-3: 版本号提升至 4.1.6 — LGTM

纯版本号更新,无插件行为变化。

packages/taro-plugin-http/package.json (1)

3-3: 版本号提升至 4.1.6 — LGTM

仅版本更新;dev/peer 依赖继续使用 workspace:*,无需额外改动。

npm/darwin-arm64/package.json (1)

4-4: 版本号已升级至 4.1.6 且无残留 4.1.5-alpha.*,LGTM
root package.json 版本:4.1.6;仓库内未发现旧版号残留。

packages/taro-framework-react/package.json (1)

3-3: 版本号统一到 4.1.6:通过

仅元数据更新,无其他风险点。

packages/stylelint-taro/package.json (1)

3-3: 版本号更新到 4.1.6:通过

与 monorepo 其余包对齐,无功能变更。

packages/stylelint-config-taro-rn/package.json (1)

3-3: 版本号更新到 4.1.6:通过

纯版本提升,保持与依赖包一致。

packages/taro-webpack5-runner/package.json (1)

3-3: 版本号更新到 4.1.6:通过

无代码与依赖改动;与 workspace 其它包版本一致。

packages/jest-helper/package.json (1)

3-3: 确认已将版本号更新为 4.1.6,仓库中无 4.1.5-alpha.2 残留,LGTM

packages/taro-runtime/package.json (1)

3-3: 版本号同步到 4.1.6,LGTM。
发布前请确认依赖它的包(workspace:* 方式)无需额外同步动作,构建产物未引入意外改动。

packages/taro-platform-weapp/package.json (1)

3-3: 版本号对齐至 4.1.6,LGTM。
请确认本包未开启 private,发布流程会正确产出并打上 v4.1.6 tag。

packages/taroize/package.json (1)

3-3: 版本号更新到 4.1.6——LGTM

纯版本提升;scripts/jest 配置未变更,风险低。保持与根包与相关依赖的版本一致即可。

packages/taro-plugin-html/package.json (1)

3-3: 插件包版本号同步——LGTM

仅元数据更新;peer/devDependencies 仍为 workspace:*,与 monorepo 策略一致。

packages/postcss-unit-transform/package.json (1)

3-3: PostCSS 插件版本号同步——LGTM

仅版本位移;peerDependencies 继续要求 PostCSS ^8,合理且无破坏性。

packages/taro-rn/package.json (1)

3-3: 验证通过,版本号更新无误

  • 全仓库未发现残留旧版本号 4.1.5-alpha.2
  • examples/ 和 tests/ 下的 package.json 版本为示例/测试配置,非核心包,保持原有版本号符合预期。
packages/taro-plugin-react-devtools/package.json (1)

3-3: 版本号更新至 4.1.6,变更合理。
无额外字段改动,发布对齐即可。

npm/win32-x64-msvc/package.json (1)

4-4: 二进制发布包版本号同步到 4.1.6,OK。
建议与其它平台二进制包一并核对产物与 CI 发布顺序。

packages/babel-plugin-transform-taroapi/package.json (1)

3-3: 插件包版本号提升至 4.1.6,LGTM。
保持与工作区其余包一致即可。

packages/taro-api/package.json (1)

3-3: 核心 API 包版本号同步至 4.1.6,良好。
不涉及构建入口或对外接口变更。

packages/taro-platform-harmony-cpp/package.json (1)

3-3: 版本号提升到 4.1.6:变更合理,保持与工作区一致。

建议发布前做一次一致性校验:该包的 peerDependencies(均为 workspace:*)是否都会解析到 4.1.6;并确认 ohpm 发布脚本与版本号同步(scripts.ohpm-publish)。

如需,我可以提供一段脚本在仓库内批量校验所有 package.json 的 version 与 workspace 解析结果。

packages/taro-h5/package.json (1)

3-3: 版本号同步到 4.1.6:通过。

小提醒:发布 h5 相关包后,请确认 CI 流程已运行生成/同步定义文件与下游模拟文件(例如 platform-h5 构建后的 definition 产物),避免测试用例使用到旧定义。

packages/taro-service/package.json (1)

3-3: 服务层版本号提升已对齐 4.1.6。

建议在发布说明中再次强调 engines.node ">= 18" 的最低版本要求,避免升级后用户在旧 Node 环境下踩坑;同时确认根锁文件已更新并提交。

packages/taro-plugin-inject/package.json (1)

3-3: 版本号更新正确。

请确认该插件的 peerDependencies(@tarojs/shared/@tarojs/helper)在本次发版中均已发布为 4.1.6,避免安装时产生 peer 冲突。

packages/taro-components-rn/package.json (1)

3-3: 版本号对齐 4.1.6,LGTM

仅版本提升,无其它变更;与本次发版目标一致。

npm/linux-x64-gnu/package.json (1)

4-4: 确认 npm/ 平台包版本一致*
已通过脚本验证:npm 目录下所有二进制平台包版本均为 4.1.6,无需额外更新。

packages/taro-helper/package.json (1)

3-3: 版本号提升一致,变更安全

无依赖/脚本调整风险,保持 Node >=18 要求不变。

packages/taro-rn-runner/package.json (1)

3-3: RN Runner 版本号同步到 4.1.6,OK

工作区依赖仍为 workspace:*,不受本次 bump 影响。

packages/taro-extend/package.json (1)

3-3: extend 包版本对齐完成

仅元数据变更,符合发版流程。

packages/postcss-html-transform/package.json (1)

3-3: 脚本验证中断,需修复并复核版本一致性
版本号已对齐至 4.1.6,LGTM。由于环境缺少 tee,验证脚本未完成全部检查,请修正脚本或手动确认:

  • 仓库范围内不存在 4.1.5-alpha.2 的残留
  • 所有 private != true 的包版本均为 4.1.6
packages/taro-platform-harmony-hybrid/package.json (1)

3-3: 版本号已提升至 4.1.6,变更仅限元数据,OK

无额外字段调整,符合发布节奏。

packages/shared/package.json (1)

3-3: 版本号同步至 4.1.6,LGTM

仅版本更新,无行为变更。

packages/taro-platform-jd/package.json (1)

3-3: 版本号 bump 到 4.1.6,OK

发布插件元数据一致性良好。

packages/taro-components-library-vue3/package.json (1)

3-3: 版本号更新至 4.1.6,LGTM

该包为 private,不参与发布,保持与仓库版本对齐即可。

packages/taro-webpack5-prebundle/package.json (1)

3-3: 版本号已更新至 4.1.6,无 4.1.5-alpha.2 残留,LGTM

packages/taro-router/package.json (1)

3-3: Router 包版本号同步到 4.1.6,符合发布要求

仅元数据变更,无 API/导出调整,安全发布。

packages/taro-rn-transformer/package.json (1)

3-3: RN Transformer 版本号已对齐 4.1.6

仅版本提升,未改动依赖与入口,变更可接受。

packages/taro-plugin-vue-devtools/package.json (1)

3-3: Vue DevTools 插件版本号对齐 4.1.6

纯版本号更新,发布面最小化,LGTM。

packages/taro-runner-utils/package.json (1)

3-3: Runner Utils 版本号更新到 4.1.6

无功能或依赖调整,符合此次发版基调。

packages/taro-rn-style-transformer/package.json (2)

3-3: 版本号对齐 4.1.6,LGTM。

与本次发布一致,未见额外变更。


1-57: 发布一致性自检完成,无版本或 Node 引擎不一致
所有核心包的 version 均已更新至 4.1.6,未发现残留旧版本号或 engines.node 配置不一致。

packages/taro-components-library-solid/package.json (1)

3-3: 版本号提升到 4.1.6,且包保持 private,OK。

仅元数据更新,符合发布流程。

packages/taro-platform-alipay/package.json (1)

3-3: 版本号对齐 4.1.6,LGTM。

packages/taro-transformer-wx/package.json (1)

3-3: 版本号对齐 4.1.6,LGTM。

packages/taro-framework-vue3/package.json (1)

3-3: 版本号对齐 4.1.6,LGTM。

packages/taro-components/package.json (1)

3-3: 版本号提升确认

版本字段从 4.1.5-alpha.2 → 4.1.6,构建与依赖未变更。与 PR 的“components exports 修复”目标一致性看齐,发布侧可继续。

packages/postcss-pxtransform/package.json (1)

3-3: 版本对齐良好

仅版本号变更,peerDependencies 仍为 postcss ^8,无破坏性变化迹象。

packages/taro-platform-tt/package.json (1)

3-3: 平台插件版本同步通过

仅版本号更新;与 workspace:* 的 peer/dev 依赖保持锁步,发布安全。

packages/css-to-react-native/package.json (1)

4-4: 版本号 bump 符合预期

纯元数据更新;构建脚本、依赖与入口未变更。

packages/taro-loader/package.json (1)

3-3: 版本号自检完成,请确认 tests 目录中 fixture 是否需要同步

  • 已无旧版本号 4.1.5-alpha.2 残留;examples/* 下示例项目各自保留 1.0.0(或其他初始版本),仅 tests/package.json (4.0.0-alpha.4)未同步至 4.1.6,请确认该 fixture 是否也需更新。
packages/taro-components-advanced/package.json (1)

3-3: 版本号已对齐至 4.1.6,LGTM。

纯版本提升,无功能或依赖改动。请确保发布流程包含该包。

packages/rollup-plugin-copy/package.json (1)

3-3: 版本号同步 4.1.6,LGTM。

该包标记为 private:true,不会发布到 npm;确认这是预期行为。

packages/babel-plugin-transform-solid-jsx/package.json (1)

4-4: 版本号提升至 4.1.6,LGTM。

作为外部可用的 Babel 插件,请在发版时同步更新变更日志并跑一遍测试矩阵以规避回归。

{
"name": "@tarojs/binding-linux-x64-musl",
"version": "4.1.5-alpha.2",
"version": "4.1.6",
Copy link

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

原生绑定(musl)包版本号同步——LGTM

仅版本位移;os/cpu/libc/main/files 字段保持合理。建议在发布前确认二进制存在并会被打包。

快速存在性检查脚本:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

path="npm/linux-x64-musl/taro.linux-x64-musl.node"
if [[ -f "${path}" ]]; then
  echo "OK: 存在 ${path}"
else
  echo "WARN: 缺少 ${path}(应为预编译产物或发布前生成)"
fi

Length of output: 270


添加并验证 musl 平台预编译二进制文件存在
运行脚本检测到缺少 npm/linux-x64-musl/taro.linux-x64-musl.node,请在发布流程中生成并将该文件包含至包内,确保安装时能够正确加载本地绑定。

🤖 Prompt for AI Agents
In npm/linux-x64-musl/package.json around line 3, the package is missing the
prebuilt native binary taro.linux-x64-musl.node required for musl-platform
installs; during the release build produce the musl-targeted native addon (e.g.,
cross-compile or run the prebuild step for linux-x64-musl), ensure the resulting
taro.linux-x64-musl.node is copied into the npm/linux-x64-musl directory and
included in the published package (add the file/path to the "files" array or
packaging step), and add a CI/postpack validation that checks
npm/linux-x64-musl/taro.linux-x64-musl.node exists and fails the publish if it
is missing.

{
"name": "@tarojs/components-react",
"version": "4.1.5-alpha.2",
"version": "4.1.6",
Copy link

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

同步版本到 4.1.6:LGTM

仅元数据版本号更新,未触及 exports/依赖/脚本。

为确保整仓版本一致性,建议在仓库根目录运行下述脚本检查是否还有未升级到 4.1.6 的 package.json:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# 1) 查找所有非 4.1.6 的 package.json
rg -nP --glob '!**/node_modules/**' -g '*/package.json' '"version"\s*:\s*"(?!4\.1\.6\b)' || echo "OK: 所有 package.json 均为 4.1.6"

# 2) 兜底检查是否仍残留 4.1.5-alpha 前缀
rg -nP --glob '!**/node_modules/**' -g '*/package.json' '4\.1\.5-alpha' || echo "OK: 未发现 4.1.5-alpha 残留"

Length of output: 290


将 tests/package.json 中 version 字段从 4.0.0-alpha.4 更新为 4.1.6
发现 tests/package.json(第4行)仍保留旧版本,需同步升级以保持整仓一致性。

🤖 Prompt for AI Agents
In packages/taro-components-react/package.json around line 3, the package
version is set to "4.1.6" but tests/package.json still has the old version
"4.0.0-alpha.4"; update the version field in tests/package.json (line 4) to
"4.1.6" so both files are in sync and commit the change.

{
"name": "@tarojs/plugin-platform-h5",
"version": "4.1.5-alpha.2",
"version": "4.1.6",
Copy link

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

H5 平台包版本号更新 —— 通过;构建产物校验建议

该包包含 postbuild 自动生成定义文件的脚本。请确保发布前完成构建流程,避免手动改动生成文件。

运行以下脚本快速自检整仓版本一致性与变更记录:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "1) 查找遗留的 4.1.5-alpha.2(应为0条):"
rg -nP '"version"\s*:\s*"4\.1\.5-alpha\.2"' -S || true

echo -e "\n2) 统计 4.1.6 版本字段数量:"
rg -nP '"version"\s*:\s*"4\.1\.6"' -S | wc -l

echo -e "\n3) 校验二进制平台包是否全部提升(展示名称与版本):"
rg -nP '"name"\s*:\s*"@tarojs/binding-[^"]+"' npm -n
rg -nP '"version"\s*:\s*"4\.1\.6"' npm -n

echo -e "\n4) 检查 CHANGELOG 是否含 4.1.6:"
rg -n '4\.1\.6' CHANGELOG.md || true

Length of output: 1229


确认 H5 平台包版本更新 —— 通过;构建产物校验建议

  • 包含 postbuild 自动生成定义文件脚本,请务必发布前执行完整构建流程,避免手动改动生成产物。
  • 脚本验证结果:
    1. 无遗留 4.1.5-alpha.2
    2. 全仓共 79 处 "version": "4.1.6"
    3. 各平台二进制包版本均已同步为 4.1.6
    4. 未在仓库中找到 CHANGELOG 文件,若仓库维护变更日志,请在对应位置添加 4.1.6 版本记录
🤖 Prompt for AI Agents
In packages/taro-platform-h5/package.json around line 3, the version was updated
to 4.1.6 but the reviewer requests you run the full build (including the
postbuild step that generates definition files) before publishing rather than
manually editing generated artifacts; ensure there are no leftover references to
4.1.5-alpha.2, verify all repo package.json entries (79 occurrences) and
platform binary packages are synchronized to 4.1.6, and add a CHANGELOG entry
for version 4.1.6 in the repository’s changelog location.

{
"name": "@tarojs/plugin-platform-qq",
"version": "4.1.5-alpha.2",
"version": "4.1.6",
Copy link

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

版本号提升到 4.1.6——LGTM

仅元数据变更,无功能/API 风险。发布前建议确认 types 路径存在(dist/types/index.d.ts)以避免发包类型缺失。

可用下述脚本做一次仓库级校验(版本一致性与关键产物存在性):


🏁 Script executed:

#!/bin/bash
set -euo pipefail

expected="4.1.6"

echo "== 检查所有 package.json 版本字段 =="
fd -a -t f "package.json" -E node_modules -E dist | while read -r f; do
  ver=$(jq -r '.version // empty' "$f" 2>/dev/null || true)
  if [[ -n "${ver}" && "${ver}" != "${expected}" ]]; then
    echo "版本不一致: $f -> ${ver}"
    exit 2
  fi
done
echo "版本一致性校验通过: ${expected}"

echo "== 校验类型声明是否存在 =="
if [[ -f packages/taro-platform-qq/dist/types/index.d.ts ]]; then
  echo "OK: types 存在"
else
  echo "WARN: 缺少 packages/taro-platform-qq/dist/types/index.d.ts(构建后应生成)"
fi

Length of output: 657


限制版本一致性校验范围至 packages 目录
当前脚本会扫描到 examples/blended-apart/taro-project/package.json(version 1.0.0),导致误报。请将版本一致性校验限制为 packages/**/package.json,例如:

fd -a -t f package.json packages -E node_modules -E dist | while read -r f; do
  # …同原脚本逻辑…
done

并在版本校验完成后,单独确认 packages/taro-platform-qq/dist/types/index.d.ts 已生成。

🤖 Prompt for AI Agents
In packages/taro-platform-qq/package.json around line 3, the repo-level
version-consistency script is scanning unintended package.json files (e.g.,
examples/blended-apart) causing false positives; change the scan to only target
package.json files under packages/** (for example use fd -a -t f package.json
packages -E node_modules -E dist or equivalent) so only packages/* package.json
are validated, keep existing exclude patterns, and after completing the version
checks add a step to explicitly verify that
packages/taro-platform-qq/dist/types/index.d.ts exists (fail the check if the
file is missing).

{
"name": "@tarojs/react",
"version": "4.1.5-alpha.2",
"version": "4.1.6",
Copy link

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

版本号更新正确。

发布前请确保该包的产物已构建(dist/react.esm.js、types 更新无漂移)。


🏁 Script executed:

#!/bin/bash
# 简单检查 dist 与类型文件是否存在
fd -a 'react.esm.js' packages/taro-react/dist && fd -a 'index.d.ts' packages/taro-react/dist || echo "dist 或 d.ts 缺失"

Length of output: 196


确认并生成构建产物
版本号更新正确,但在 packages/taro-react/dist 中未找到 react.esm.js 或类型文件 index.d.ts,请先执行构建(如 npm run build)生成产物并确保类型声明无漂移后再发布。

🤖 Prompt for AI Agents
packages/taro-react/package.json lines 3-3: 版本号已更新但未生成构建产物,导致
packages/taro-react/dist 中缺少 react.esm.js 和类型声明 index.d.ts;请在发布前在该包目录运行构建命令(例如
npm run build 或等效脚本),确认 dist 下生成 react.esm.js 与 index.d.ts,验证类型声明无漂移(npm run
build && npm pack 或 tsc --emitDeclarationOnly 校验),将构建产物或必要的发布输出包含在发布流程/CI
中并提交或更新发布步骤以确保未来发布时自动生成这些文件。

Copy link

codecov bot commented Aug 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.06%. Comparing base (58b83f4) to head (a0b2161).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##             main   #18268    +/-   ##
========================================
  Coverage   55.06%   55.06%            
========================================
  Files         416      416            
  Lines       21563    21563            
  Branches     5287     5287            
========================================
  Hits        11873    11873            
- Misses       8047     8163   +116     
+ Partials     1643     1527   -116     
Flag Coverage Δ
taro-cli 72.85% <ø> (ø)
taro-runtime 59.87% <ø> (ø)
taro-web 53.13% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 47 files with indirect coverage changes

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

@Single-Dancer Single-Dancer merged commit 4a44051 into main Aug 30, 2025
39 checks passed
@Single-Dancer Single-Dancer deleted the chore/release-4.1.6 branch August 30, 2025 07:42
Copy link
Contributor

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