Pull Request已成功合入, 合并人@openharmony_ci
(感谢 fangzhen 的贡献)感谢提交 Pull Requests!
Thanks for submitting a pull request.


【AI-Review】【严重】【基础代码问题】【代码逻辑错误】安装命令中的 npm 包版本号在 npm 仓库不存在
● 问题:README.md 第 32-34 行(及第 41-44 行 yarn 命令)指定的三个包版本在 npm 仓库中均不存在:
@react-native-ohos/react-native-screens@4.8.3-rc.3:npm 仓库 4.8.3 系列仅有4.8.3-rc.2和4.8.3-beta.4,不存在4.8.3-rc.3@react-native-ohos/native-stack@7.3.13-rc.3:npm 仓库 7.3.13 系列仅有7.3.13-rc.2和7.3.13-beta.3,不存在7.3.13-rc.3@react-native-ohos/stack@7.2.12-rc.1:npm 仓库 7.2.12 系列仅有7.2.12-beta.2,不存在7.2.12-rc.1
● 影响:严重。用户按照 README 执行 npm install @react-native-ohos/react-native-screens@4.8.3-rc.3 等命令时,npm 会报错 "No matching version found",导致安装失败,无法使用本库。
● 建议:将版本号修改为 npm 仓库中实际存在的版本(如 4.8.3-rc.2、7.3.13-rc.2、7.2.12-beta.2),或在发布对应版本后再更新文档。


changed this line on fd8ac95f view diff detail
【AI-Review】【严重】【基础代码问题】【代码逻辑错误】npm package versions in install commands do not exist on npm registry
● 问题:Lines 32-34 (and lines 41-44 for yarn) specify three package versions that do not exist on the npm registry:
@react-native-ohos/react-native-screens@4.8.3-rc.3: only4.8.3-rc.2and4.8.3-beta.4exist in the 4.8.3 series,4.8.3-rc.3does not exist@react-native-ohos/native-stack@7.3.13-rc.3: only7.3.13-rc.2and7.3.13-beta.3exist in the 7.3.13 series,7.3.13-rc.3does not exist@react-native-ohos/stack@7.2.12-rc.1: only7.2.12-beta.2exists in the 7.2.12 series,7.2.12-rc.1does not exist
● 影响:严重。Users following the README will get a "No matching version found" error when running npm install @react-native-ohos/react-native-screens@4.8.3-rc.3 etc., causing installation failure and preventing use of this library.
● 建议:Update the version numbers to ones that actually exist on the npm registry (e.g., 4.8.3-rc.2, 7.3.13-rc.2, 7.2.12-beta.2), or update the docs after the corresponding versions are published.


changed this line on fd8ac95f view diff detail
代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6a9675dd64650f998b72180f/runlist
静态检查:
| # | check type | result | report |
|---|---|---|---|
| 1 | codeCheck | pass | >>> |


docs: 升级 README 文档至模板 v0.4.2