@react-native-oh/react-native-harmony-cli 0.77.74 → 0.77.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/commands/bundle-harmony.js +6 -1
- package/dist/init/templates/harmony/build-profile.json5 +1 -0
- package/harmony/rnoh-hvigor-plugin-0.77.76.tgz +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/00295336 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/008b46d2 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/00cd4dda +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/04cea04c +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/05456871 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/0ae32abb +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/0b48ad8e +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/0cae97fc +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/1480fa97 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/1605ee89 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/1e6ae961 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/240d2667 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/27934436 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/308da66a +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/3442f3cf +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/349f72a0 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/37767edf +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/37ce5add +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/385deae1 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/3cd62667 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/4387cd63 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/444b6d47 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/45ece0fb +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/47ccd396 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/496f7444 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/4d82696e +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/4eb25953 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/50c3e9bb +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/5926231b +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/59c354c2 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/5c74cb2d +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/5dcb9ab8 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/5e5aa298 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/5ebb4e14 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/608a0945 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/62001dcc +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/63177a89 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/690790d2 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/6948fdf0 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/6debf626 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/708bb39b +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/76f64b03 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/78ea606f +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/7b8ac24d +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/7d186843 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/7f12dc56 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/8313724a +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/84492c6c +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/8449f6fc +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/86506236 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/8b8ad1ff +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/8f473a16 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/8f91e6a2 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/9ef6c589 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/a06f5312 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/a25c6436 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/a376585e +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/a4e0b7a8 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/a53962e8 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/a576458a +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/a8bbebf8 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/af8536f0 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/b00cb392 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/b26b36fb +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/b3783e31 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/b41523d2 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/b45a94bb +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/bb2a0b08 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/bb563230 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/bd3da552 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/c3025482 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/c75a650e +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/c7dc8283 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/cbf6c034 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/cf9197ca +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/cffe922b +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/d49ea56c +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/d533a666 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/d948e745 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/d9f2d22b +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/dc1052ee +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/dde88fbf +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/dfa0a41b +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/edce8119 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/ee4cf060 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/f079d49d +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/f2452d07 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/fb134c38 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/fd1210c0 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/fe159876 +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/ff657ffe +0 -0
- package/node-compile-cache/v24.14.1-x64-cf738c9d-0/ff687756 +0 -0
- package/package.json +5 -5
- package/src/commands/bundle-harmony.ts +5 -0
- package/src/init/templates/harmony/build-profile.json5 +1 -0
- package/harmony/rnoh-hvigor-plugin-0.77.74.tgz +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/00a68392 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/0544a6cc +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/0f36b2db +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/12f23f1e +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/13d95d98 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/1629e86b +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/180c8379 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/1a697147 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/1a8271b1 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/1b7fa689 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/255a9f13 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/268d155b +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/27db9aa4 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/28db79ed +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/2dc2bbcb +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/2df5f8c5 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/2f88aedb +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/31b3a7ea +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/36335b1c +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/38fca641 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/397722eb +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/397b6432 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/3b17421f +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/454f5e18 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/45ec6cce +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/482d51b1 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/4ac5cd67 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/4d40499a +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/4dcad919 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/4fc31929 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/54edc8f5 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/558a5405 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/58d2b670 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/5ec7feca +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/62180f3e +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/63981360 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/64096c89 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/64af560b +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/6585e783 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/6954304f +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/69fd6235 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/6d3a0478 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/6e131db7 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/778cd8f1 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/788206b6 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/7882dc26 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/7b3c14f7 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/7cdfe667 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/8048c487 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/8332d9a3 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/84e5b603 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/854d8127 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/88c97376 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/90d5f644 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/967e25ac +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/969896c2 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/9790193e +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/97ae40c5 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/9a5bf482 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/a07adeb9 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/a427f355 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/a9dd7eb7 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/a9e9d79e +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/ab920855 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/ab9e3038 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/af054988 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/afe03e51 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/b3b83913 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/b4db7b4d +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/b5225355 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/b8c00f06 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/b917a081 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/b9e2f3bd +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/bd70db0e +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/bdbda648 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/be1e5469 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/c9462295 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/ca6e5efa +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/caf52beb +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/cb268960 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/cca16b15 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/cfc1c937 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/d10e6e05 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/d172fc04 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/d4e94e50 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/d59f8d2c +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/da964053 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/e0bb712a +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/e3e6ca34 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/e50f7385 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/f1a1d282 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/f2514c3c +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/f66207cf +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/f8d129ce +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/fb1e9558 +0 -0
- package/node-compile-cache/v22.14.0-x64-efe9a9df-0/ff7e3608 +0 -0
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@ Please refer to: [RNOH repo](https://gitcode.com/CPF-RN/ohos_react_native) for m
|
|
|
4
4
|
|
|
5
5
|
# Documentation
|
|
6
6
|
|
|
7
|
-
- [中文](https://gitcode.com/CPF-RN/ohos_react_native/
|
|
8
|
-
- [English](https://gitcode.com/CPF-RN/ohos_react_native/
|
|
7
|
+
- [中文](https://gitcode.com/CPF-RN/ohos_react_native/tree/main/docs/zh-cn)
|
|
8
|
+
- [English](https://gitcode.com/CPF-RN/ohos_react_native/tree/main/docs/en)
|
|
9
9
|
|
|
10
10
|
# License
|
|
11
11
|
|
|
@@ -116,9 +116,10 @@ exports.commandBundleHarmony = {
|
|
|
116
116
|
},
|
|
117
117
|
],
|
|
118
118
|
func: (argv, config, args) => __awaiter(void 0, void 0, void 0, function* () {
|
|
119
|
-
var _a;
|
|
119
|
+
var _a, _b, _c;
|
|
120
120
|
const logger = new io_1.Logger();
|
|
121
121
|
try {
|
|
122
|
+
debugLog(`bundle-harmony entry: entry=${args.entryFile} dev=${args.dev} minify=${args.minify} jsEngine=${args.jsEngine} sourcemap=${args.sourcemapOutput} bundleOutput=${args.bundleOutput}`);
|
|
122
123
|
const defaultBundleName = args.jsEngine === 'hermes' ? 'hermes_bundle.hbc' : 'bundle.harmony.js';
|
|
123
124
|
const bundleOutput = (_a = args.bundleOutput) !== null && _a !== void 0 ? _a : `${HARMONY_RESOURCE_PATH}${path_1.default.sep}${defaultBundleName}`;
|
|
124
125
|
const shouldGenerateHbcBundle = bundleOutput
|
|
@@ -135,11 +136,15 @@ exports.commandBundleHarmony = {
|
|
|
135
136
|
sourceMap: args.sourcemapOutput,
|
|
136
137
|
sourceMapUrl: args.sourcemapOutput,
|
|
137
138
|
};
|
|
139
|
+
const configLoadStart = Date.now();
|
|
138
140
|
const metroConfig = yield loadMetroConfig({
|
|
139
141
|
config: args.config,
|
|
140
142
|
resetCache: args.resetCache,
|
|
141
143
|
});
|
|
144
|
+
debugLog(`Metro config loaded in ${Date.now() - configLoadStart}ms`);
|
|
145
|
+
const bundleStart = Date.now();
|
|
142
146
|
const bundle = yield createBundle(metroConfig, buildOptions);
|
|
147
|
+
debugLog(`Bundle built in ${Date.now() - bundleStart}ms, codeSize=${(_c = (_b = bundle.code) === null || _b === void 0 ? void 0 : _b.length) !== null && _c !== void 0 ? _c : 0}`);
|
|
143
148
|
const assets = yield retrieveAssetsData(metroConfig, buildOptions);
|
|
144
149
|
if (shouldGenerateHbcBundle) {
|
|
145
150
|
debugLog('Starting Hermes bytecode compilation...');
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-oh/react-native-harmony-cli",
|
|
3
|
-
"version": "0.77.
|
|
3
|
+
"version": "0.77.76",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc --outDir dist -p tsconfig.build.json && node ./scripts/copy-template.js",
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
"keywords": [],
|
|
21
21
|
"author": "",
|
|
22
22
|
"license": "MIT",
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"registry": "https://registry.npmjs.org/",
|
|
25
|
+
"access": "public"
|
|
26
|
+
},
|
|
23
27
|
"peerDependencies": {
|
|
24
28
|
"metro": "^0.81.0"
|
|
25
29
|
},
|
|
@@ -55,9 +59,5 @@
|
|
|
55
59
|
"mustache": "^4.2.0",
|
|
56
60
|
"tar": "^6.1.15",
|
|
57
61
|
"tmp": "^0.2.1"
|
|
58
|
-
},
|
|
59
|
-
"publishConfig": {
|
|
60
|
-
"registry": "https://registry.npmjs.org/",
|
|
61
|
-
"access": "public"
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -132,6 +132,7 @@ export const commandBundleHarmony: Command = {
|
|
|
132
132
|
func: async (argv, config, args: any) => {
|
|
133
133
|
const logger = new Logger();
|
|
134
134
|
try {
|
|
135
|
+
debugLog(`bundle-harmony entry: entry=${args.entryFile} dev=${args.dev} minify=${args.minify} jsEngine=${args.jsEngine} sourcemap=${args.sourcemapOutput} bundleOutput=${args.bundleOutput}`);
|
|
135
136
|
const defaultBundleName =
|
|
136
137
|
args.jsEngine === 'hermes' ? 'hermes_bundle.hbc' : 'bundle.harmony.js';
|
|
137
138
|
const bundleOutput: string =
|
|
@@ -151,12 +152,16 @@ export const commandBundleHarmony: Command = {
|
|
|
151
152
|
sourceMap: args.sourcemapOutput,
|
|
152
153
|
sourceMapUrl: args.sourcemapOutput,
|
|
153
154
|
};
|
|
155
|
+
const configLoadStart = Date.now();
|
|
154
156
|
const metroConfig = await loadMetroConfig({
|
|
155
157
|
config: args.config,
|
|
156
158
|
resetCache: args.resetCache,
|
|
157
159
|
});
|
|
160
|
+
debugLog(`Metro config loaded in ${Date.now() - configLoadStart}ms`);
|
|
158
161
|
|
|
162
|
+
const bundleStart = Date.now();
|
|
159
163
|
const bundle = await createBundle(metroConfig, buildOptions);
|
|
164
|
+
debugLog(`Bundle built in ${Date.now() - bundleStart}ms, codeSize=${bundle.code?.length ?? 0}`);
|
|
160
165
|
const assets = await retrieveAssetsData(metroConfig, buildOptions);
|
|
161
166
|
|
|
162
167
|
if (shouldGenerateHbcBundle) {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|