Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
main
ohrn_fangL
/
packages
/
testerino
下载当前目录
J
jiaxuan_wong
fix(static): address remaining scan follow-up warnings
7f165e4f
创建于
11 天前
历史提交
文件
最后提交记录
最后更新时间
src
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 天前
.eslintrc
chore: setup linter and formatter for testerino and fix lint issues ## Summary This MR reuses linter and prettier configuration from tester in testerino so that developers format testerino code in the same way. ## Issue Links Related
https://gl.swmansion.com/rnoh/react-native-harmony/-/issues/1502
See merge request rnoh/react-native-harmony
!1836
Signed-off-by: huangyouhua <1356795413@qq.com>
1 年前
.gitignore
chore: add testerino to RNOH's monorepo ## Summary Testerino is a platform-independent package that was developed alongside RNOH. It is primarily used by RNOH. Initially, testerino was developed in a separate repository and tested on Android because it was easier to develop that way (RNOH didn't support hot reloading). The purpose of this MR is to reduce total maintenance cost. Currently, testerino has its own tester and tests that need to be maintained. Those tests however aren't exhaustive enough, because some issues were introduced recently in RNOH tester app. I think it would be better to test testerino directly on RNOH's tester. Also, currently everytime testerino is updated, it needs to be deployed to the local repo and that process generates extra friction. Moreover, RNOH version on gitee includes packaged testerino package anyway. As long as testerino package is mainly used by RNOH, it should be kept in this repo to make introducing changes in testerino easier. Copied this testerino revision:
https://gl.swmansion.com/rnoh/testerino/-/commit/80766a1e72b2c660ce834827f00572caa56e142a
## Test Plan Run
pnpm i
and open tester app. ## Issue Links Related
https://gl.swmansion.com/rnoh/react-native-harmony/-/issues/1502
See merge request rnoh/react-native-harmony
!1833
Signed-off-by: huangyouhua <1356795413@qq.com>
1 年前
.prettierrc.js
chore: setup linter and formatter for testerino and fix lint issues ## Summary This MR reuses linter and prettier configuration from tester in testerino so that developers format testerino code in the same way. ## Issue Links Related
https://gl.swmansion.com/rnoh/react-native-harmony/-/issues/1502
See merge request rnoh/react-native-harmony
!1836
Signed-off-by: huangyouhua <1356795413@qq.com>
1 年前
index.tsx
fix(oat): align copyright and license headers 问题描述: 最新一轮静态检查中,仓内部分脚本、模板、测试与 CLI 相关文件缺少统一的版权与许可证头注释,导致 OAT 头注释类告警未完全收敛,也增加了仓内文件头规范不一致的问题。 解决方案: - 为命中的 JS、TS、ETS、TSX 与配置文件补充统一的 MIT 版权头 - 对 Handlebars 模板文件补充等价的模板注释头,保持模板语法正确 - 统一文件头年份与版权格式,消除缺失头注释和格式不一致告警 影响范围: - 主要影响 CLI、tester、testerino、公共脚本与模板文件的头部注释规范 - 不改变文件原有实现逻辑、运行行为与构建结果 Signed-off-by: jiaxuan_wong <1801330925@qq.com>
12 天前
package.json
feat(Upgrade): 升级React Native版本为0.84.1 Co-authored-by: fangyygw<fang_zhen@hoperun.com>
1 个月前
tsconfig.json
chore: add testerino to RNOH's monorepo ## Summary Testerino is a platform-independent package that was developed alongside RNOH. It is primarily used by RNOH. Initially, testerino was developed in a separate repository and tested on Android because it was easier to develop that way (RNOH didn't support hot reloading). The purpose of this MR is to reduce total maintenance cost. Currently, testerino has its own tester and tests that need to be maintained. Those tests however aren't exhaustive enough, because some issues were introduced recently in RNOH tester app. I think it would be better to test testerino directly on RNOH's tester. Also, currently everytime testerino is updated, it needs to be deployed to the local repo and that process generates extra friction. Moreover, RNOH version on gitee includes packaged testerino package anyway. As long as testerino package is mainly used by RNOH, it should be kept in this repo to make introducing changes in testerino easier. Copied this testerino revision:
https://gl.swmansion.com/rnoh/testerino/-/commit/80766a1e72b2c660ce834827f00572caa56e142a
## Test Plan Run
pnpm i
and open tester app. ## Issue Links Related
https://gl.swmansion.com/rnoh/react-native-harmony/-/issues/1502
See merge request rnoh/react-native-harmony
!1833
Signed-off-by: huangyouhua <1356795413@qq.com>
1 年前