文件最后提交记录最后更新时间
fix(Config): add missing copyright headers for warning files 问题描述: 当前 xin3.txt 清单中的 OAT.4 版权头告警文件存在缺失或无效版权头问题, 扫描结果为 Copyright Header Invalid: NULL,导致对应文件在合规检查中被判定为 致命未解决项。 解决方案: 在不改变原有业务逻辑、构建逻辑和文件内容结构的前提下,按文件类型补充统 一版权头;同时修正个别特殊文件的头部格式,使 TS/TSX/JS/ETS/脚本/模板/配 置等文件都符合仓库现有版权声明风格与注释语法要求。 影响范围: 仅影响 xin3.txt 对应告警文件的文件头注释,不改变正常功能、模块解析、构建 结果与运行时行为,对现有性能无直接影响,整体向后兼容。 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 13 天前
fix(Config): add missing copyright headers for warning files 问题描述: 当前 xin3.txt 清单中的 OAT.4 版权头告警文件存在缺失或无效版权头问题, 扫描结果为 Copyright Header Invalid: NULL,导致对应文件在合规检查中被判定为 致命未解决项。 解决方案: 在不改变原有业务逻辑、构建逻辑和文件内容结构的前提下,按文件类型补充统 一版权头;同时修正个别特殊文件的头部格式,使 TS/TSX/JS/ETS/脚本/模板/配 置等文件都符合仓库现有版权声明风格与注释语法要求。 影响范围: 仅影响 xin3.txt 对应告警文件的文件头注释,不改变正常功能、模块解析、构建 结果与运行时行为,对现有性能无直接影响,整体向后兼容。 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 13 天前
fix(Config): add missing copyright headers for warning files 问题描述: 当前 xin3.txt 清单中的 OAT.4 版权头告警文件存在缺失或无效版权头问题, 扫描结果为 Copyright Header Invalid: NULL,导致对应文件在合规检查中被判定为 致命未解决项。 解决方案: 在不改变原有业务逻辑、构建逻辑和文件内容结构的前提下,按文件类型补充统 一版权头;同时修正个别特殊文件的头部格式,使 TS/TSX/JS/ETS/脚本/模板/配 置等文件都符合仓库现有版权声明风格与注释语法要求。 影响范围: 仅影响 xin3.txt 对应告警文件的文件头注释,不改变正常功能、模块解析、构建 结果与运行时行为,对现有性能无直接影响,整体向后兼容。 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 13 天前
fix(Config): add missing copyright headers for warning files 问题描述: 当前 xin3.txt 清单中的 OAT.4 版权头告警文件存在缺失或无效版权头问题, 扫描结果为 Copyright Header Invalid: NULL,导致对应文件在合规检查中被判定为 致命未解决项。 解决方案: 在不改变原有业务逻辑、构建逻辑和文件内容结构的前提下,按文件类型补充统 一版权头;同时修正个别特殊文件的头部格式,使 TS/TSX/JS/ETS/脚本/模板/配 置等文件都符合仓库现有版权声明风格与注释语法要求。 影响范围: 仅影响 xin3.txt 对应告警文件的文件头注释,不改变正常功能、模块解析、构建 结果与运行时行为,对现有性能无直接影响,整体向后兼容。 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 13 天前
fix(static): address remaining scan follow-up warnings 问题描述: 最新一轮补充扫描后,仓内仍残留一批样例格式、Metro 结构复杂度以及 OAT 头注释类告警,涉及 Sample 工程入口、Tester 脚本、Harmony Metro resolver,以及多个 tester、CLI 模板与生态工程文件,影响静态检查结果收敛。 解决方案: - 修复 SampleProject 入口文件的缺失分号与格式问题,清理 tester 脚本中的冗余注释代码 - 继续拆分 metro.config.js 中 resolveRequestOnlyForHarmony 的内部判断逻辑,降低函数嵌套深度 - 为命中的 JS、TS、TSX、ETS 与 gitignore 模板文件补充统一版权与许可证头 - 调整 LICENSE-Meta 版权行格式,使其与仓内第三方许可证文本体例保持一致 影响范围: - 影响静态检查命中的样例入口文件、Metro 配置文件、Tester 脚本以及多处模板与工程入口文件 - 不引入新的业务功能,重点是清理剩余扫描告警并保持现有逻辑与行为不变 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 11 天前
fix(Config): add missing copyright headers for warning files 问题描述: 当前 xin3.txt 清单中的 OAT.4 版权头告警文件存在缺失或无效版权头问题, 扫描结果为 Copyright Header Invalid: NULL,导致对应文件在合规检查中被判定为 致命未解决项。 解决方案: 在不改变原有业务逻辑、构建逻辑和文件内容结构的前提下,按文件类型补充统 一版权头;同时修正个别特殊文件的头部格式,使 TS/TSX/JS/ETS/脚本/模板/配 置等文件都符合仓库现有版权声明风格与注释语法要求。 影响范围: 仅影响 xin3.txt 对应告警文件的文件头注释,不改变正常功能、模块解析、构建 结果与运行时行为,对现有性能无直接影响,整体向后兼容。 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 13 天前
feat: Create a new RNOH project through the command npx @react-native-oh/react-native-harmony-cli init ProjectName Co-authored-by: quguiren<quguiren1@huawei-partners.com> # message auto-generated for no-merge-commit merge: merge rnoh_cli_20250704 into 0.77.1-rc.1-ohos feat: Create a new RNOH project through the command npx @react-native-oh/react-native-harmony-cli init ProjectName Created-by: quguiren Commit-by: quguiren Merged-by: huangyouhua Description: ## Description This PR implements the ability to create a new RNOH project using npx @react-native-oh/react-native-harmony-cli init project. ## Changes - [added] Added initialization feature to @react-native-oh/react-native-harmony-cli - [added] Added --simulator parameter to the run-harmony command to specify the HarmonyOS simulator. ## 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 - [x] Does not involve incompatible changes; if involved, has been reviewed accordingly. - [x] Does not impact performance, or performance testing has been conducted without degradation. - [x] Complies with the relevant coding standards. - [x] Does not involve documentation updates, or the documentation has been updated. - [x] Meets testability requirements with necessary self-test cases, appropriate logging, or trace information added. - [x] No illegal file inclusions exist, such as images or code. See merge request: openharmony-sig/ohos_react_native!124710 个月前
fix(Config): add missing copyright headers for warning files 问题描述: 当前 xin3.txt 清单中的 OAT.4 版权头告警文件存在缺失或无效版权头问题, 扫描结果为 Copyright Header Invalid: NULL,导致对应文件在合规检查中被判定为 致命未解决项。 解决方案: 在不改变原有业务逻辑、构建逻辑和文件内容结构的前提下,按文件类型补充统 一版权头;同时修正个别特殊文件的头部格式,使 TS/TSX/JS/ETS/脚本/模板/配 置等文件都符合仓库现有版权声明风格与注释语法要求。 影响范围: 仅影响 xin3.txt 对应告警文件的文件头注释,不改变正常功能、模块解析、构建 结果与运行时行为,对现有性能无直接影响,整体向后兼容。 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 13 天前
Fix: Fix the bug where dependencies cannot be installed when running the run-harmony command. Co-authored-by: quguiren<quguiren1@huawei-partners.com> # message auto-generated for no-merge-commit merge: merge fix_ohpm_install_failed_20250928 into 0.77.1-rc.1-ohos Fix: Fix the bug where dependencies cannot be installed when running the run-harmony command. Created-by: quguiren Commit-by: quguiren Merged-by: huangyouhua Description: ## Description Resolved installation failures for some developers when running the run-harmony command. ## Changes - fixed Resolved installation failures for some developers when running the run-harmony command. ## Test Plan 1. Create an RNOH project. 2. Run npx react-native run-harmony. Expected result: Dependencies are installed successfully. ## Checklist - [x] Does not involve incompatible changes; if involved, has been reviewed accordingly. - [x] Does not impact performance, or performance testing has been conducted without degradation. - [x] Complies with the relevant coding standards. - [x] Does not involve documentation updates, or the documentation has been updated. - [x] Meets testability requirements with necessary self-test cases, appropriate logging, or trace information added. - [x] No illegal file inclusions exist, such as images or code. See merge request: openharmony-sig/ohos_react_native!16267 个月前
fix(static): address remaining scan follow-up warnings 问题描述: 最新一轮补充扫描后,仓内仍残留一批样例格式、Metro 结构复杂度以及 OAT 头注释类告警,涉及 Sample 工程入口、Tester 脚本、Harmony Metro resolver,以及多个 tester、CLI 模板与生态工程文件,影响静态检查结果收敛。 解决方案: - 修复 SampleProject 入口文件的缺失分号与格式问题,清理 tester 脚本中的冗余注释代码 - 继续拆分 metro.config.js 中 resolveRequestOnlyForHarmony 的内部判断逻辑,降低函数嵌套深度 - 为命中的 JS、TS、TSX、ETS 与 gitignore 模板文件补充统一版权与许可证头 - 调整 LICENSE-Meta 版权行格式,使其与仓内第三方许可证文本体例保持一致 影响范围: - 影响静态检查命中的样例入口文件、Metro 配置文件、Tester 脚本以及多处模板与工程入口文件 - 不引入新的业务功能,重点是清理剩余扫描告警并保持现有逻辑与行为不变 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 11 天前
fix(Config): add missing copyright headers for warning files 问题描述: 当前 xin3.txt 清单中的 OAT.4 版权头告警文件存在缺失或无效版权头问题, 扫描结果为 Copyright Header Invalid: NULL,导致对应文件在合规检查中被判定为 致命未解决项。 解决方案: 在不改变原有业务逻辑、构建逻辑和文件内容结构的前提下,按文件类型补充统 一版权头;同时修正个别特殊文件的头部格式,使 TS/TSX/JS/ETS/脚本/模板/配 置等文件都符合仓库现有版权声明风格与注释语法要求。 影响范围: 仅影响 xin3.txt 对应告警文件的文件头注释,不改变正常功能、模块解析、构建 结果与运行时行为,对现有性能无直接影响,整体向后兼容。 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 13 天前