| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
chore: make pnpm version checker more forigving ## Why are these changes being made? Newer pnpm versions are checked by declaring the package manager version in package.json and automatically downgrading themselves for a specific project. Using a newer pnpm version should be fine, as there is no need to require an exact version. Currently, the script still targets the actual version of pnpm (before it's adapted to the project). ## Test Plan Run npx ts-node ./scripts/check-pnpm-version.ts in the root. ## Checklist - [x] pnpm verify passes - [ ] no test fails on CONCURRENT TESTER page in tester app - [ ] no test fails on SEQUENTIAL TESTER page in tester app See merge request rnoh/react-native-harmony!1844 Signed-off-by: huangyouhua <1356795413@qq.com> | 1 年前 | |
refactor: remove the codegen-harmony configuration from sample-package. Co-authored-by: 谢代荣<xiedairong@huawei.com> # message auto-generated for no-merge-commit merge: merge sample into 0.77.1-rc.1-ohos refactor: remove the codegen-harmony configuration from sample-package. Created-by: xiedrsz Commit-by: 谢代荣 Merged-by: huangyouhua Description: ## Why are these changes being made? This version will release a bytecode-format release HAR package. This format of HAR package does not allow ets code to be generated under the rnoh module. Therefore, it is necessary for the sample-package to manage its own codegen-generated code. ## Changelog - removed the codegen-harmony configuration from sample-package. ## Test Plan 1. Open the tester. 1. Check the CustomeNativeComponent test case. ## Checklist - [x] pnpm verify command has passed successfully. - [x] No failures occurred in automatic tests on the CONCURRENT TESTER page in the tester app. - [x] No failures occurred in automatic tests on the SEQUENTIAL TESTER page in the tester app. - [x] MR does not include a breaking change or a review has been requested from a Huawei reviewer. See merge request: openharmony-sig/ohos_react_native!1561 | 1 年前 | |
chore: internal release 0.77.10 6.0.0.400 Co-authored-by: linhandev<hanlin21@huawei.com> # message auto-generated for no-merge-commit merge: merge 7710 into 0.77.1-rc.1-ohos chore: internal release 0.77.10 6.0.0.400 Created-by: linhandev Commit-by: linhandev Merged-by: huangyouhua Description: chore: release 0.77.10 6.0.0.400 See merge request: openharmony-sig/ohos_react_native!1191 | 1 年前 | |
refactor: use react-native submodule + patch instead of private react-native-core submodule Co-authored-by: zheng-jun-feng<949815885@qq.com> Co-authored-by: linhandev<hanlin21@huawei.com> # message auto-generated for no-merge-commit merge: merge 0.77.1-rc.1-ohos into 0.77.1-rc.1-ohos refactor: use react-native submodule + patch instead of private react-native-core submodule Created-by: zheng-jun-feng Commit-by: zheng-jun-feng;linhandev Merged-by: huangyouhua Description: ## Description https://gitcode.com/openharmony-sig/ohos_react_native/pull/1220 Relying on this code, the conflict was resolved, and the patch was updated. Currently, private React Native Core is used as a submodule as a temporary measure (RNC can't be public due to internal policy). This MR uses RN submodule + patch generated from RNC - approach. ## Test Plan 1. Clone this branch . 1. Run pnpm init-ws. 1. Run tester. ## 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. - [?] 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. - [ ] TODO: make react-native-core/v0.77.1-2 default in RNC repo once this MR is merged See merge request: openharmony-sig/ohos_react_native!1373 | 1 年前 | |
chore: add patch:rn script and update react-native patching instructions Co-authored-by: Arkadiusz Kasprzyk<arkadiusz.kasprzyk@swmansion.com> # message auto-generated for no-merge-commit merge: merge kas/patch-react-native into 0.77.1-rc.1-ohos chore: add patch:rn script and update react-native patching instructions Created-by: arkadiuszkasprzyk Commit-by: Arkadiusz Kasprzyk Merged-by: huangyouhua Description: ## Description pnpm patch:rn simplifies the process of patching react-native for RNOH_MAINTAINERS. I expect it to happen more often in the nearest future due to active development of interop 61 package. This MR also updates react-native patching and upgrading instructions because they are outdated. ## Changes - [chore] added pnpm patch:rn script - [chore] updated react-native patching and upgrading instructions ## Test Plan Play around with pnpm patch:rn. Try adding custom style in View.js. ## 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!1458 | 1 年前 | |
chore: use pnpm and workspaces; fix: workspaces support ## Summary Initial setup was fine when there were 2-3 packages in the repo. However, over time more packages were added, and also I am planning to add react-native-core to this repo as a submodule in the near future. react-native-core, react-native-harmony, hvigor-plugin, and cli need to be deployed together so that the version is the same for them in order to let users know which packages are compatible with each other. The current setup has also many flaws, e.g., the tester's verify scripts verify the entire repository but they should verify only itself, packages need to be uninstalled, packed and installed after any change, react-native-core must be deployed every time it is changed because it isn't installed locally. This MR solves those issues. Initially, I tried using NPM workspaces, however, the node_modules structure seems to be incompatible with react-native. Also, NPM doesn't provide an option to change that. Yarn node_modules structure should be compatible, however, I had issues with yarn (3.6.4) when installing packages again after the first installation (the resolution step was super slow). I decided to try pnpm, and it feels fast and reliable. I've managed to set up monorepo with it. In this repo, pnpm is configured to use the yarn node_modules hoisting approach so potential switching to yarn should be easy. This MR also speeds up the verify script. pnpm dev runs multiple servers concurrently. This will be more useful when the test-kit library is used here because it depends on the hdc server running in the background. The deployment script needs to be recreated after adding react-native-core as a submodule. ## Changes - added support for symlinks and monorepos - added --hermersc-dir argument to bundle-harmony ## Test Plan Run this project according to project-setup.md instructions. ## Checklist - [x] ... - [x] hoist commands - [x] update verify - [x] update git hooks setup - [x] update instructions - [x] update tester-ecosystem - [x] require verify script - [x] ~update deployment script~ - create issue for that, depends on adding rn core to monorepo - [x] clean up after yarn/npm - [x] fix bundle-harmony - [x] check production mode - [x] test setup on fresh repo - [x] ~use workspace protocol?~ it will be needed after adding react native core to monorepo - [x] add react-native-core - create issue for that - [x] clean up - [x] self review ## Issue Links Closes https://gl.swmansion.com/rnoh/react-native-harmony/-/issues/1487 See merge request rnoh/react-native-harmony!1804 Signed-off-by: huangyouhua <1356795413@qq.com> | 1 年前 | |
fix: skip *.md in nested node_modules in verify-docs script Co-authored-by: Patryk Fryda<patryk.fryda@swmansion.com> # message auto-generated for no-merge-commit merge: merge fix/verify-focs-script into 0.77.1-rc.1-ohos fix: skip *.md in nested node_modules in verify-docs script Created-by: pafry Commit-by: Patryk Fryda Merged-by: huangyouhua Description: ## Why are these changes being made? Currently, there are many example projects with node_modules and oh_modules inside docs folder. Because of that, glob returns *.md files from all dependencies inside node_modules and oh_modules., what results in very long running time and huge CPU usage. ## Changelog - fixed verify_docs script ## Test Plan - run pnpm _verify:docs ## Checklist - [x] pnpm verify command has passed successfully. - [x] No failures occurred in automatic tests on the CONCURRENT TESTER page in the tester app. - [x] No failures occurred in automatic tests on the SEQUENTIAL TESTER page in the tester app. - [x] MR does not include a breaking change or a review has been requested from a Huawei reviewer. See merge request: openharmony-sig/ohos_react_native!1410 | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 |