@wix/himalaya-cli 0.1817.0 → 0.1818.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/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{6b75cd09be1a632e3fe09f4c4b24f8faf6da7967bd737d0e834263fdeac9132f.bin → 07b2e5e38ef6723989a20a92ad6fb8739a065fb1c1efda5414180c4d819f93a0.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +43 -45
- package/dist/preview-assets.generated.bin +0 -0
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -4411,7 +4411,6 @@ var init_himi_package = __esm({
|
|
|
4411
4411
|
var ICON_VIEW_BOX, ICON_STROKE_WIDTH, ICON_FALLBACK, ICON_CATALOG, ICON_NORMALIZED_INDEX, ICON_NAMES;
|
|
4412
4412
|
var init_icon_catalog_generated = __esm({
|
|
4413
4413
|
"../../core/ts/src/icon-catalog.generated.ts"() {
|
|
4414
|
-
"use strict";
|
|
4415
4414
|
init_define_HHP_CATALOG();
|
|
4416
4415
|
ICON_VIEW_BOX = 24;
|
|
4417
4416
|
ICON_STROKE_WIDTH = 2;
|
|
@@ -42590,7 +42589,6 @@ function shouldRevealError(args) {
|
|
|
42590
42589
|
var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE, AUTHORED_PATTERN_LIMIT, authoredPatterns;
|
|
42591
42590
|
var init_validation = __esm({
|
|
42592
42591
|
"../../core/ts/src/validation.ts"() {
|
|
42593
|
-
"use strict";
|
|
42594
42592
|
init_define_HHP_CATALOG();
|
|
42595
42593
|
EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
|
|
42596
42594
|
URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
|
|
@@ -252936,52 +252934,52 @@ var init_preview_assets_generated = __esm({
|
|
|
252936
252934
|
init_define_HHP_CATALOG();
|
|
252937
252935
|
init_preview_assets_format();
|
|
252938
252936
|
PREVIEW_ASSET_MANIFEST = [
|
|
252939
|
-
{ key: "assets/DashboardHost-
|
|
252940
|
-
{ key: "assets/DevDrawer-
|
|
252941
|
-
{ key: "assets/IdiomCompare-
|
|
252942
|
-
{ key: "assets/LightboxViewer-
|
|
252943
|
-
{ key: "assets/OfflineReadingBar-
|
|
252944
|
-
{ key: "assets/PhonePreviewControl-
|
|
252945
|
-
{ key: "assets/SchemeCompare-
|
|
252946
|
-
{ key: "assets/WixFrogTelemetrySink-
|
|
252937
|
+
{ key: "assets/DashboardHost-BkgrUNcf.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "4c444cc26eb0d6872ffc49bd4e22d9d65c1c49f15cf4e516ca0fd09ef3a0afe0" },
|
|
252938
|
+
{ key: "assets/DevDrawer-0_bRi8d-.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "a524d2e635d0b329ec0a1ac523d2096c7f9d10d44728f418a37ef76e7a70ad63" },
|
|
252939
|
+
{ key: "assets/IdiomCompare-D7O33XgJ.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "26e3e9f109c774bc40a79b3c15e39d1b3ea56ea6591c8639634519eb7f3dfd8b" },
|
|
252940
|
+
{ key: "assets/LightboxViewer-BA7S1BUN.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 17382, sha256: "49cb070b2bac66b44a5b663694c73ec75171d462c35b2918204c4fb5f2f8a1c1" },
|
|
252941
|
+
{ key: "assets/OfflineReadingBar-D0jkzqaf.js", contentType: "application/javascript; charset=utf-8", offset: 39084, length: 1646, sha256: "c03ef51bbc68682a2c76e08dc41711db1a01282a0f26d21e919b8dc4faf5a77e" },
|
|
252942
|
+
{ key: "assets/PhonePreviewControl-V0_rSxTh.js", contentType: "application/javascript; charset=utf-8", offset: 40730, length: 37851, sha256: "eeb1eac2389aa6805f50f12e5426f02911bdc33d5d1edad9478a7513f1149c0f" },
|
|
252943
|
+
{ key: "assets/SchemeCompare-CzEKl0MP.js", contentType: "application/javascript; charset=utf-8", offset: 78581, length: 1858, sha256: "ba91213afe52bcf4a338f5854054163fc8f0271b4649d5093862b6c50285608d" },
|
|
252944
|
+
{ key: "assets/WixFrogTelemetrySink-DCAT7ixx.js", contentType: "application/javascript; charset=utf-8", offset: 80439, length: 3515, sha256: "ef2ac1e84ad8af224ea15e59227e1a86e67bd2060dae6c5cb1d069795df2e068" },
|
|
252947
252945
|
{ key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 83954, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
|
|
252948
252946
|
{ key: "assets/catalog-B4UJpy5D.js", contentType: "application/javascript; charset=utf-8", offset: 86146, length: 35626, sha256: "90111ffcf2d13eff399836acafd1f2b387859440a29dcd4a0afd8370915992cb" },
|
|
252949
|
-
{ key: "assets/catalogFontFaces-
|
|
252947
|
+
{ key: "assets/catalogFontFaces-EIY7Lk30.js", contentType: "application/javascript; charset=utf-8", offset: 121772, length: 1111, sha256: "d3270a56594d4022b73c961caa1cf0e078846257b5dbd3768d8e27ba71ed4ee4" },
|
|
252950
252948
|
{ key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 122883, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
|
|
252951
|
-
{ key: "assets/files-transfer-
|
|
252949
|
+
{ key: "assets/files-transfer-NSrjTed7.js", contentType: "application/javascript; charset=utf-8", offset: 125450, length: 6446, sha256: "2854a4f26f5dff3d60eea6615d2f28cfc0833c118277e3e822df36d6d5ad3c6d" },
|
|
252952
252950
|
{ key: "assets/frogActionMap-CTMe3Bz1.js", contentType: "application/javascript; charset=utf-8", offset: 131896, length: 1172, sha256: "9f1ce4c70a680dfb902949e1f482c7e47500b69c3350cd091b1b51d674032d53" },
|
|
252953
|
-
{ key: "assets/frogApiRules-
|
|
252951
|
+
{ key: "assets/frogApiRules-BGjt22iK.js", contentType: "application/javascript; charset=utf-8", offset: 133068, length: 2207, sha256: "9fa074e6601a1bfb6c9ec867afa2b25d536df05ebf476372b18816026e75b7fe" },
|
|
252954
252952
|
{ key: "assets/frogScreenMap-S_IRnz20.js", contentType: "application/javascript; charset=utf-8", offset: 135275, length: 1067, sha256: "22b2f71e1b06df8f1e79b890d47fe42e983d37865c2cc9be753e4121764c91e1" },
|
|
252955
252953
|
{ key: "assets/glassPreviewBrowser-DONaOehd.js", contentType: "application/javascript; charset=utf-8", offset: 136342, length: 6578, sha256: "4402c4cddd2a564e7466cdf1e12a0e0277c0400b288e1e5eda1d23e797599d31" },
|
|
252956
252954
|
{ key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 142920, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
|
|
252957
|
-
{ key: "assets/index-
|
|
252958
|
-
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
252959
|
-
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
252960
|
-
{ key: "assets/pdf-
|
|
252961
|
-
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
252962
|
-
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset:
|
|
252963
|
-
{ key: "assets/pdfDocument-
|
|
252964
|
-
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
252965
|
-
{ key: "assets/scrollLinkedRuntime-
|
|
252966
|
-
{ key: "assets/webviewBridgeHost-
|
|
252967
|
-
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset:
|
|
252968
|
-
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset:
|
|
252969
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
252970
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
252971
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
252972
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
252973
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
252974
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
252975
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
252976
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
252977
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
252978
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
252979
|
-
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
252980
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
252981
|
-
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset:
|
|
252982
|
-
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset:
|
|
252983
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
252984
|
-
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
252955
|
+
{ key: "assets/index-CIXK4jus.js", contentType: "application/javascript; charset=utf-8", offset: 145624, length: 1617496, sha256: "676d362b58f890c873fbfd127689f53023ed016d8a7a66b68c0ff659bccd0b45" },
|
|
252956
|
+
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1763120, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
|
|
252957
|
+
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset: 1770871, length: 10531, sha256: "914ea54d973624e7bc82d1847444f26084ac16d69be3051b4b5938b1e35beced" },
|
|
252958
|
+
{ key: "assets/pdf-BgvkxM5D.js", contentType: "application/javascript; charset=utf-8", offset: 1781402, length: 488215, sha256: "07b2e5e38ef6723989a20a92ad6fb8739a065fb1c1efda5414180c4d819f93a0" },
|
|
252959
|
+
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2269617, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
|
|
252960
|
+
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2269707, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
|
|
252961
|
+
{ key: "assets/pdfDocument-CZHUDmoC.js", contentType: "application/javascript; charset=utf-8", offset: 3586741, length: 3470, sha256: "68d2aaa1db1dc56c99ff5fbcf0506e26587332ce5409177e69891318d7738e76" },
|
|
252962
|
+
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3590211, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
|
|
252963
|
+
{ key: "assets/scrollLinkedRuntime-CZfSYm3v.js", contentType: "application/javascript; charset=utf-8", offset: 3592477, length: 2278, sha256: "c9c6aa33dde82380d2b2e708aa845f0e0a5be7f91dbe287dd7fc1a9199afaec1" },
|
|
252964
|
+
{ key: "assets/webviewBridgeHost-Bt1_kXhC.js", contentType: "application/javascript; charset=utf-8", offset: 3594755, length: 9889, sha256: "595d79f0d0c53caf1eb6285f4733dc2ca8d300a1ae7d4f6875ebdeca85d7d23d" },
|
|
252965
|
+
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3604644, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
|
|
252966
|
+
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3609254, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
|
|
252967
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4097838, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
252968
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4188762, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
252969
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4279746, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
252970
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4370726, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
252971
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4461598, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
252972
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4552578, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
252973
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4661214, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
252974
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4770298, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
252975
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4879346, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
252976
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4987046, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
252977
|
+
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5075154, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
|
|
252978
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 5081972, length: 4924, sha256: "dd0e1056b5e1f92d4331742a2ae8d8a6715108bfe3e58d52986b9a3901f7e295" },
|
|
252979
|
+
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5086896, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
|
|
252980
|
+
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5098353, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
|
|
252981
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5099524, length: 24303, sha256: "7ee3dbacf4e6da69c1c7085a2423e33e2adaec933cd897fb2ee2391e3277c3ae" },
|
|
252982
|
+
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5123827, length: 24320, sha256: "d24f399a1fcfa7f696a0d96aadbc983d2624b45712dae9a15545f6914dbb9506" }
|
|
252985
252983
|
];
|
|
252986
252984
|
}
|
|
252987
252985
|
});
|
|
@@ -291534,7 +291532,7 @@ MODES \u2014 pick by who is at the keyboard
|
|
|
291534
291532
|
but the sign-in still posts back to THIS machine, so the browser must run here
|
|
291535
291533
|
(otherwise use --device).
|
|
291536
291534
|
--provider <id> sign in WITHOUT a Wix account where the plane offers it
|
|
291537
|
-
(base44,
|
|
291535
|
+
(base44, github): the browser goes straight to that sign-in. Such a login is
|
|
291538
291536
|
stored with a refresh token and renews itself when it expires.
|
|
291539
291537
|
--wix HEADLESS \u2014 the mode a server, a CI job or an agent container can satisfy. It
|
|
291540
291538
|
presents, in order: the owner's Wix token piped on stdin (--wix-token-stdin),
|
|
@@ -291552,10 +291550,10 @@ MODES \u2014 pick by who is at the keyboard
|
|
|
291552
291550
|
waits (up to 10 minutes) and stores the same token --browser does. Show the
|
|
291553
291551
|
owner the URL and the code, and check they see the same code.
|
|
291554
291552
|
NO WIX ACCOUNT? Where the plane offers it, the page also lets the person sign
|
|
291555
|
-
in another way (
|
|
291553
|
+
in another way (GitHub); the token then names them as
|
|
291556
291554
|
<provider>:<id> and the JSON says "credential": "federated". Such an account
|
|
291557
291555
|
can push releases and read, not run \`himi dist\` or promote yet.
|
|
291558
|
-
--provider <id> put the sign-in choice in the link (wix,
|
|
291556
|
+
--provider <id> put the sign-in choice in the link (wix, github) so the
|
|
291559
291557
|
person is not asked; \`--provider wix\` skips the choice today.
|
|
291560
291558
|
--site <msid> also asks to connect that site's live data: the owner picks or
|
|
291561
291559
|
confirms the site on the approve page, and the plane finds or creates the
|
|
@@ -291997,7 +291995,7 @@ async function loginCommand(ctx) {
|
|
|
291997
291995
|
return 2;
|
|
291998
291996
|
}
|
|
291999
291997
|
if (flags.provider !== void 0 && !(providerFlag && LOGIN_PROVIDER_RE.test(providerFlag))) {
|
|
292000
|
-
io2.error(JSON.stringify({ error: `--provider needs a sign-in id such as wix or base44, got ${JSON.stringify(flags.provider)}` }));
|
|
291998
|
+
io2.error(JSON.stringify({ error: `--provider needs a sign-in id such as wix, github or base44, got ${JSON.stringify(flags.provider)}` }));
|
|
292001
291999
|
return 2;
|
|
292002
292000
|
}
|
|
292003
292001
|
if (providerFlag && providerFlag !== "wix" && flags.site !== void 0) {
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1818.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": [
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"artifactId": "himalaya-cli"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"falconPackageHash": "
|
|
85
|
+
"falconPackageHash": "e411481c991b98895fe74498fef1ead055b65b32f008528c9770950e"
|
|
86
86
|
}
|