@wix/himalaya-cli 0.1334.0 → 0.1336.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/cli.mjs CHANGED
@@ -7591,7 +7591,6 @@ function resolveTranslation(value, catalog3, sourceCatalog) {
7591
7591
  var BINDING_SIGILS, BINDING_SIGIL_RE, TRANSLATION_PREFIX, TRANSLATION_KEY_RE;
7592
7592
  var init_bindings = __esm({
7593
7593
  "../../core/ts/src/bindings.ts"() {
7594
- "use strict";
7595
7594
  BINDING_SIGILS = ["service", "flag", "item", "t"];
7596
7595
  BINDING_SIGIL_RE = new RegExp(
7597
7596
  `^\\$(?:${BINDING_SIGILS.filter((s2) => s2 !== "t").join("|")})\\b|^\\$t:`
@@ -16630,6 +16629,7 @@ function resolveIdiom(tokens2, ctx = {}) {
16630
16629
  var IDIOM_CONTEXTS, UNSAFE_KEYS;
16631
16630
  var init_idiom = __esm({
16632
16631
  "../../core/ts/src/idiom.ts"() {
16632
+ "use strict";
16633
16633
  IDIOM_CONTEXTS = {
16634
16634
  ios: { native: ["ios"] },
16635
16635
  android: { native: ["material"] },
@@ -156143,25 +156143,25 @@ var init_preview_assets_generated = __esm({
156143
156143
  "../../packages/serve/src/preview-assets.generated.ts"() {
156144
156144
  init_preview_assets_format();
156145
156145
  PREVIEW_ASSET_MANIFEST = [
156146
- { key: "assets/index-BQ3nqiGb.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 1272132, sha256: "24f6576252c7c2510a63415cbe654c22b97d25fc520d9f970d68c5aa8957528c" },
156147
- { key: "assets/pdf-B_p_gRjY.js", contentType: "application/javascript; charset=utf-8", offset: 1272140, length: 488199, sha256: "f2edced2e2c13dfa26a88c43bdc1d419190a1d8a0fe475292962d32513d5f535" },
156148
- { key: "assets/pdf.worker.min-BQa_JDET.js", contentType: "application/javascript; charset=utf-8", offset: 1760339, length: 73, sha256: "41bcfda4f3c8c0a81c785ea87c69afc8e7d0ed8c333324aee94c273d881bb6aa" },
156149
- { key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 1760412, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
156150
- { key: "assets/pdfDocument-BPuywcMx.js", contentType: "application/javascript; charset=utf-8", offset: 3077446, length: 2858, sha256: "02e631341c9bd4f873c81441da695d3ec94739212ba1ce8aac5a2c9ca3ff7405" },
156151
- { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3080304, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
156152
- { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3084914, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
156153
- { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 3573498, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
156154
- { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 3664422, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
156155
- { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 3755406, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
156156
- { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 3846386, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
156157
- { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 3937258, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
156158
- { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4028238, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
156159
- { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4136874, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
156160
- { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4245958, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
156161
- { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4355006, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
156162
- { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4462706, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
156163
- { key: "index.html", contentType: "text/html; charset=utf-8", offset: 4550814, length: 4947, sha256: "9d73c81991bf8fee1d13db0d24ecd9a764bc7eac0b094fc4aed8226ae9f2ebf9" },
156164
- { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 4555761, length: 17512, sha256: "c5c8612a8b3f5a1828d0c6593106036a180eea11da80232f5181548a50679137" }
156146
+ { key: "assets/index-BmpWuPhZ.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 1270817, sha256: "3ef4af58f1e3b86d3a8712ce68e03f73ec9d200a85f23300a3f6cd920f443507" },
156147
+ { key: "assets/pdf-CDJfF54o.js", contentType: "application/javascript; charset=utf-8", offset: 1270825, length: 488199, sha256: "63cf6133a117e95f0f103e42232b047adb6f815ecd798384d3a3f0b661e85c5b" },
156148
+ { key: "assets/pdf.worker.min-BQa_JDET.js", contentType: "application/javascript; charset=utf-8", offset: 1759024, length: 73, sha256: "41bcfda4f3c8c0a81c785ea87c69afc8e7d0ed8c333324aee94c273d881bb6aa" },
156149
+ { key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 1759097, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
156150
+ { key: "assets/pdfDocument-C0hn4nfi.js", contentType: "application/javascript; charset=utf-8", offset: 3076131, length: 2858, sha256: "39f9aba76fb1ca198b7c8798e03e63b8fffe446df7137ad24aae826c1d555451" },
156151
+ { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3078989, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
156152
+ { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3083599, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
156153
+ { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 3572183, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
156154
+ { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 3663107, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
156155
+ { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 3754091, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
156156
+ { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 3845071, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
156157
+ { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 3935943, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
156158
+ { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4026923, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
156159
+ { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4135559, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
156160
+ { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4244643, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
156161
+ { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4353691, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
156162
+ { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4461391, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
156163
+ { key: "index.html", contentType: "text/html; charset=utf-8", offset: 4549499, length: 4947, sha256: "aa3b471c96ad24da6c8351a46fd2a740ab85e52a250597e14a01398705596363" },
156164
+ { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 4554446, length: 17512, sha256: "c5c8612a8b3f5a1828d0c6593106036a180eea11da80232f5181548a50679137" }
156165
156165
  ];
156166
156166
  }
156167
156167
  });
@@ -174917,6 +174917,10 @@ function auditUx(content, strict = false) {
174917
174917
  init_guides();
174918
174918
  init_wix_placeholders();
174919
174919
  var defaultIO = { log: (l2) => console.log(l2), error: (l2) => console.error(l2), isTTY: process.stdout.isTTY === true };
174920
+ function isCiEnvironment(env = process.env) {
174921
+ const ci2 = env.CI?.trim().toLowerCase();
174922
+ return env.GITHUB_ACTIONS === "true" || Boolean(env.BUILDKITE) || Boolean(ci2 && ci2 !== "0" && ci2 !== "false");
174923
+ }
174920
174924
  var REPEATABLE_FLAGS = /* @__PURE__ */ new Set(["data", "image", "set"]);
174921
174925
  var BOOLEAN_FLAGS = /* @__PURE__ */ new Set([
174922
174926
  "no-network",
@@ -182683,6 +182687,8 @@ ${label2}`);
182683
182687
  io2.error(JSON.stringify({ error: "dist needs --app (or a content dir whose himalaya.content.json names one)" }));
182684
182688
  return 2;
182685
182689
  }
182690
+ const isCiBuild = isCiEnvironment();
182691
+ const buildOrigin = isCiBuild ? "system" : "user";
182686
182692
  const distShell = str9(flags.shell) ?? (await appId(contentDir(flags)) === app ? (await Promise.resolve().then(() => (init_capabilities(), capabilities_exports))).contentShell(contentDir(flags)) : null);
182687
182693
  if (Object.hasOwn(flags, "plan")) {
182688
182694
  const swallowed = Reflect.get(flags, "plan");
@@ -182760,6 +182766,7 @@ ${label2}`);
182760
182766
  try {
182761
182767
  r2 = await c2.distCreate({
182762
182768
  app,
182769
+ buildOrigin,
182763
182770
  ...platform?.length ? { platform } : customerTestflight ? { platform: ["ios"] } : {},
182764
182771
  ...str9(flags.release) ? { release: str9(flags.release) } : {},
182765
182772
  ...flags["allow-draft"] === true ? { allowDraft: true } : {},
@@ -183975,6 +183982,7 @@ export {
183975
183982
  handoverUxEvidence,
183976
183983
  humanDuration,
183977
183984
  inspectControlToken,
183985
+ isCiEnvironment,
183978
183986
  isHimalayaMonorepoCheckout,
183979
183987
  isLoopbackBase,
183980
183988
  isPublicTarget,
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1334.0",
3
+ "version": "0.1336.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": [
@@ -71,5 +71,5 @@
71
71
  "artifactId": "himalaya-cli"
72
72
  }
73
73
  },
74
- "falconPackageHash": "17bbabcfc1756388ae01c5ef698014cafaeaeff28061d123fa920efd"
74
+ "falconPackageHash": "3cf2f4c52822407602cd131ff8721b4ef1663dcf3c68866cf86fb182"
75
75
  }