@wix/himalaya-cli 0.1704.0 → 0.1706.0
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/dist/authoring-runtime/node_modules/@wix/himalaya/dist/godot.mjs +2 -1
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{f72b868102c2ba960b7736896ee03d831fbf5218e59cc153b4bb2af3cc21dbbb.bin → 82ac5473f6edad4c4d0e5c0cfd460722e7e145b9f097cf708cdc97621f386d6a.bin} +1 -1
- package/dist/browser-plane/sw.js +5 -5
- package/dist/cli.mjs +38 -38
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/tier-5-add-a-screen.md +12 -0
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -234960,51 +234960,51 @@ var init_preview_assets_generated = __esm({
|
|
|
234960
234960
|
init_define_HHP_CATALOG();
|
|
234961
234961
|
init_preview_assets_format();
|
|
234962
234962
|
PREVIEW_ASSET_MANIFEST = [
|
|
234963
|
-
{ key: "assets/DashboardHost-
|
|
234964
|
-
{ key: "assets/DevDrawer-
|
|
234965
|
-
{ key: "assets/IdiomCompare-
|
|
234966
|
-
{ key: "assets/LightboxViewer-
|
|
234967
|
-
{ key: "assets/OfflineReadingBar-
|
|
234968
|
-
{ key: "assets/PhonePreviewControl-
|
|
234969
|
-
{ key: "assets/SchemeCompare-
|
|
234970
|
-
{ key: "assets/WixFrogTelemetrySink-
|
|
234963
|
+
{ key: "assets/DashboardHost-Jc0hH0I6.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "b0a71e270689a0f6ed6956541941cf7222f03b4a4652f871d5fbbce0a0072c5b" },
|
|
234964
|
+
{ key: "assets/DevDrawer-BKZP67vB.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "a7952615d045d8f5911b421f9338f2c69643e61c6359ea51785f14182740729f" },
|
|
234965
|
+
{ key: "assets/IdiomCompare-BhFuwV0R.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "81a51ef27603b7f8c987a7e90ef167c90285f7c1b15e6aef3f9a49e83790c895" },
|
|
234966
|
+
{ key: "assets/LightboxViewer-C_6W4E6R.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 17382, sha256: "081c5f088ace14e6f733945be7b10e865416b8bbf74e4dbdc414d15309a12dd5" },
|
|
234967
|
+
{ key: "assets/OfflineReadingBar-11XZDCQt.js", contentType: "application/javascript; charset=utf-8", offset: 39084, length: 1646, sha256: "8ecaa34f622fcb817b2139c52be902ca10a9c06d65a8c148560a7b150a4b67a1" },
|
|
234968
|
+
{ key: "assets/PhonePreviewControl-B0ekcyx_.js", contentType: "application/javascript; charset=utf-8", offset: 40730, length: 37851, sha256: "52b24e1ebccaba6be861f2b11e54e4054e49a9d00ba786966f20c13e6b1cbba6" },
|
|
234969
|
+
{ key: "assets/SchemeCompare-BVOZ2b1a.js", contentType: "application/javascript; charset=utf-8", offset: 78581, length: 1858, sha256: "ef658383ccec8cc46e33e7b590e7d37bbf7d49fbe49158a9a3c5e0c7d56d6f62" },
|
|
234970
|
+
{ key: "assets/WixFrogTelemetrySink-F_ev9OSl.js", contentType: "application/javascript; charset=utf-8", offset: 80439, length: 3515, sha256: "b8a333cf223d3b3e73fba864c3f653a37cbc040643a44bac6b4b5560b42b693f" },
|
|
234971
234971
|
{ key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 83954, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
|
|
234972
234972
|
{ key: "assets/catalog-CAoUWITw.js", contentType: "application/javascript; charset=utf-8", offset: 86146, length: 26046, sha256: "4c270ca3051f77d761aef1297125e02339d48493dd2b84a0cacf0faf41aa8cb3" },
|
|
234973
|
-
{ key: "assets/catalogFontFaces-
|
|
234973
|
+
{ key: "assets/catalogFontFaces-BLMT6fpu.js", contentType: "application/javascript; charset=utf-8", offset: 112192, length: 1111, sha256: "f225c0ef2df9e018e9e242992dc52d33578dafbc88994cb4f80206707cf5e089" },
|
|
234974
234974
|
{ key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 113303, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
|
|
234975
|
-
{ key: "assets/files-transfer-
|
|
234975
|
+
{ key: "assets/files-transfer-BG2B8oLG.js", contentType: "application/javascript; charset=utf-8", offset: 115870, length: 6446, sha256: "91dc99584463d3f81a93732332edb90b050753db955619b722002e859b204d09" },
|
|
234976
234976
|
{ key: "assets/frogActionMap-CTMe3Bz1.js", contentType: "application/javascript; charset=utf-8", offset: 122316, length: 1172, sha256: "9f1ce4c70a680dfb902949e1f482c7e47500b69c3350cd091b1b51d674032d53" },
|
|
234977
|
-
{ key: "assets/frogApiRules-
|
|
234977
|
+
{ key: "assets/frogApiRules-C7F98aqM.js", contentType: "application/javascript; charset=utf-8", offset: 123488, length: 2207, sha256: "3a407322982886f093456d7f758d75729ca2d6694cb6fb0b6a5e57b379695515" },
|
|
234978
234978
|
{ key: "assets/frogScreenMap-S_IRnz20.js", contentType: "application/javascript; charset=utf-8", offset: 125695, length: 1067, sha256: "22b2f71e1b06df8f1e79b890d47fe42e983d37865c2cc9be753e4121764c91e1" },
|
|
234979
234979
|
{ key: "assets/glassPreviewBrowser-DONaOehd.js", contentType: "application/javascript; charset=utf-8", offset: 126762, length: 6578, sha256: "4402c4cddd2a564e7466cdf1e12a0e0277c0400b288e1e5eda1d23e797599d31" },
|
|
234980
234980
|
{ key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 133340, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
|
|
234981
|
-
{ key: "assets/index-
|
|
234982
|
-
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
234983
|
-
{ key: "assets/pdf-
|
|
234984
|
-
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
234985
|
-
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset:
|
|
234986
|
-
{ key: "assets/pdfDocument-
|
|
234987
|
-
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
234988
|
-
{ key: "assets/scrollLinkedRuntime-
|
|
234989
|
-
{ key: "assets/webviewBridgeHost-
|
|
234990
|
-
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset:
|
|
234991
|
-
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset:
|
|
234992
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
234993
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
234994
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
234995
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
234996
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
234997
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
234998
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
234999
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
235000
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
235001
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
235002
|
-
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
235003
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
235004
|
-
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset:
|
|
235005
|
-
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset:
|
|
235006
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
235007
|
-
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
234981
|
+
{ key: "assets/index-DgQpSZjn.js", contentType: "application/javascript; charset=utf-8", offset: 136044, length: 1581082, sha256: "b14cd0ceef59fd168135b6bc1c81ee284d4b8923a6a400e151f3ff3e03fdbbc9" },
|
|
234982
|
+
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1717126, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
|
|
234983
|
+
{ key: "assets/pdf-Cz5R3omz.js", contentType: "application/javascript; charset=utf-8", offset: 1724877, length: 488215, sha256: "82ac5473f6edad4c4d0e5c0cfd460722e7e145b9f097cf708cdc97621f386d6a" },
|
|
234984
|
+
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2213092, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
|
|
234985
|
+
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2213182, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
|
|
234986
|
+
{ key: "assets/pdfDocument-oUdIalqf.js", contentType: "application/javascript; charset=utf-8", offset: 3530216, length: 3470, sha256: "9227043afff982fb39d663665b1775afed52fb5e2be4bb8df12a1aff2a59f52c" },
|
|
234987
|
+
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3533686, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
|
|
234988
|
+
{ key: "assets/scrollLinkedRuntime-DhkcBx66.js", contentType: "application/javascript; charset=utf-8", offset: 3535952, length: 2278, sha256: "31132c8c4cac1bdb5f9366173d92955d745420dca185348e8c81ee5875472ee5" },
|
|
234989
|
+
{ key: "assets/webviewBridgeHost-BsBeTwKc.js", contentType: "application/javascript; charset=utf-8", offset: 3538230, length: 9889, sha256: "d685defae4c1188b967dbb2bfc9abca49eb7e0a2c55cb27fe705bb6d169b2694" },
|
|
234990
|
+
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3548119, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
|
|
234991
|
+
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3552729, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
|
|
234992
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4041313, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
234993
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4132237, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
234994
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4223221, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
234995
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4314201, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
234996
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4405073, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
234997
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4496053, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
234998
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4604689, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
234999
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4713773, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
235000
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4822821, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
235001
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4930521, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
235002
|
+
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5018629, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
|
|
235003
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 5025447, length: 4924, sha256: "75a894537f231385bf2e90999acc651185ec31348cd5c09e39aeb2f70e2d5932" },
|
|
235004
|
+
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5030371, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
|
|
235005
|
+
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5041828, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
|
|
235006
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5042999, length: 23047, sha256: "20d1459e3f896f344e478e613d0c979a0de02e81a929a45d3a0ef6a53af36441" },
|
|
235007
|
+
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5066046, length: 23064, sha256: "8655cfe9c74212ec5dafecb49d2fdeb48b19f1bd8a710091e3e55631f9b4ab06" }
|
|
235008
235008
|
];
|
|
235009
235009
|
}
|
|
235010
235010
|
});
|
|
Binary file
|
|
@@ -447,6 +447,18 @@ only for genuinely live data.
|
|
|
447
447
|
> detail mounted, so a tab return or a Back does not re-fire it. Android fires it each time the
|
|
448
448
|
> node enters composition. On web it fires when the screen host mounts the screen.
|
|
449
449
|
>
|
|
450
|
+
> **Push or return: `appearReason`.** The screen's ROOT `onAppear` carries one more param,
|
|
451
|
+
> `appearReason`: `"push"` the first time its stack entry appears, `"return"` when the user comes
|
|
452
|
+
> back to the same entry (on Android and web a pop re-mounts the uncovered screen; on iOS it stays
|
|
453
|
+
> mounted, so a Back sends nothing and the screen keeps what it showed). A worker reclaimed from the
|
|
454
|
+
> pool, or one restoring its saved snapshot, arrives with the last visit's state either way, so
|
|
455
|
+
> keep that state on `return` and start fresh on `push`. A `return` can still reach a worker
|
|
456
|
+
> with nothing to keep (Android restores the entry's flag after the process was killed, while
|
|
457
|
+
> the worker boots new), so fall back to fresh then
|
|
458
|
+
> (`appear: (s, a) => a?.appearReason === "return" && hasState(s) ? keep(s) : fresh()`). Never add a per-tap
|
|
459
|
+
> nav param to tell them apart: push coalescing and the worker-pool key both read the full params.
|
|
460
|
+
> Descendant `onAppear`s stay mount-only and carry no reason.
|
|
461
|
+
>
|
|
450
462
|
> So for state another screen may have changed — a cart, a signed-in flag, a record saved
|
|
451
463
|
> elsewhere — re-read it in the action that loads the screen (`load`) or in an explicit
|
|
452
464
|
> `refresh`, not in `onAppear` (and see
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1706.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
|
|
6
6
|
"keywords": [
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"artifactId": "himalaya-cli"
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
|
-
"falconPackageHash": "
|
|
84
|
+
"falconPackageHash": "a8ff6c23b87a7adee87de8a45f32de1ce322c86e19b36149115bbad3"
|
|
85
85
|
}
|