已合并
feat: The project template of version 0.72.x #1293
feat: The project template of version 0.72.x #1293
已合并
quguiren创建于 2025年7月17日
quguiren
2025年7月17日

Description

Create a new npm module to serve as the default template when creating an RNOH project using the npx @react-native-oh/react-native-harmony-cli init command.

Changes

  • [added] Added a new default template for RNOH

Test Plan

  1. Create a new project using npx @react-native-oh/react-native-harmony-cli init project1
  2. Start the HarmonyOS simulator or connect a Harmony phone
  3. Open the created project with DevEco Studio, synchronize, and sign it
  4. Run npx react-native run-harmony to build and run the project
  5. Run npx react-native start to start Metro and check if hot reloading works properly
  • Test results:
    The project can be created successfully
    The app runs normally

Checklist

likedislike
Pull Request已成功合入, 合并人@huangyouhua
(感谢 quguiren 的贡献)
Qquguiren
2025年7月17日 关联了issue:[新需求]: 创建72工程的模版
openharmony_ci
openharmony_ci成员
2025年7月17日 评论:

感谢提交 Pull Requests!
Thanks for submitting a pull request.

likedislike
openharmony_ciopenharmony_ci成员
2025年7月17日 添加了label:dco检查成功
quguiren
2025年7月17日 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
2025年7月17日 评论:

首次触发
门禁构建开始,包含静态检查、代码编译【ohos_react_native_master编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6878beba64650f998bf0e51d/runlist

likedislike
Qquguiren
2025年7月17日 强制推送  1 个提交:233a1d50-feat: add rnoh 72 template
openharmony_ci
openharmony_ci成员
2025年7月17日 评论:

监测到PR: https://gitcode.com/openharmony-sig/ohos_react_native/merge_requests/1293 代码有更新,当前正在执行的门禁任务已自动中止,如有需要,可重新触发

likedislike
openharmony_ci
openharmony_ci成员
2025年7月17日 评论:

感谢提交 Pull Requests!
Thanks for submitting a pull request.

likedislike
quguiren
2025年7月17日 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
2025年7月17日 评论:

本地或库上代码有更新,全量重新构建,重置所有关联PR的验证状态
门禁构建开始,包含静态检查、代码编译【ohos_react_native_master编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6878c1ef64650f998b1f05ec/runlist

likedislike
openharmony_ciopenharmony_ci成员
2025年7月17日 添加了label:编译成功
openharmony_ciopenharmony_ci成员
2025年7月17日 添加了label:静态检查成功
openharmony_ciopenharmony_ci成员
2025年7月17日 通过测试
openharmony_ci
openharmony_ci成员
2025年7月17日 评论:

代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6878c1ef64650f998b1f05ec/runlist

静态检查:

# check type result report
1 codeCheck pass >>>

编译测试:
# Device build result package
1 ohos_react_native_master success >>>

likedislike
Xxiedairong
2025年7月18日 将xiedrsz设为评审人
Xxiedairong
2025年7月18日 通过了评审
huangyouhuahuangyouhua
2025年7月19日 通过审查
huangyouhuahuangyouhua
2025年7月19日 添加了 squash commit 备注:feat: The project template of version 0.72.x
huangyouhuahuangyouhua
2025年7月19日 关闭了关联的issue
huangyouhuahuangyouhua
2025年7月19日 合入了pull request