@wix/himalaya-cli 0.1125.0 → 0.1127.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.
Files changed (2) hide show
  1. package/dist/cli.mjs +6 -3
  2. package/package.json +2 -2
package/dist/cli.mjs CHANGED
@@ -6789,6 +6789,7 @@ function resolveTranslation(value, catalog, sourceCatalog) {
6789
6789
  var BINDING_SIGILS, BINDING_SIGIL_RE, TRANSLATION_PREFIX, TRANSLATION_KEY_RE;
6790
6790
  var init_bindings = __esm({
6791
6791
  "../../core/ts/src/bindings.ts"() {
6792
+ "use strict";
6792
6793
  BINDING_SIGILS = ["service", "flag", "item", "t"];
6793
6794
  BINDING_SIGIL_RE = new RegExp(
6794
6795
  `^\\$(?:${BINDING_SIGILS.filter((s) => s !== "t").join("|")})\\b|^\\$t:`
@@ -49056,7 +49057,9 @@ async function renderHomeInChild(dir, home, opts) {
49056
49057
  try {
49057
49058
  child = spawn5(process.execPath, [...opts.loader ?? [], opts.entry, "render", home, "--png", "--device", "iphone", "--content", dir, "--skip-version-check"], {
49058
49059
  cwd: dir,
49059
- env: { ...opts.env ?? process.env, HIMI_AUTO_RENDER: "1" },
49060
+ // Which command ran it: validate's refresh is the one whose loading skeletons must not be
49061
+ // journaled; init's first look is the template's honest "Starting point" and always is.
49062
+ env: { ...opts.env ?? process.env, HIMI_AUTO_RENDER: opts.who === "validate" ? "validate" : "1" },
49060
49063
  stdio: ["ignore", "pipe", "pipe"]
49061
49064
  });
49062
49065
  } catch (e) {
@@ -76552,9 +76555,9 @@ ${[...afterRun.next, ...testReminder ? [testReminder] : []].join("\n")}`);
76552
76555
  landed = screenStateOf2(r.serviceState, r.html, { initial: !live2 });
76553
76556
  recordShotState2(dir, screenId, pngFile, landed);
76554
76557
  }
76555
- const autoSkip = process.env.HIMI_AUTO_RENDER === "1" && landed !== null && (landed.state === "loading" || landed.state === "empty") ? `the picture shows the home screen's ${landed.state} state${landed.initial ? " (an offline render paints a data-driven screen before any data loads)" : ""}, so no postcard was journaled from it` : void 0;
76558
+ const autoSkip = process.env.HIMI_AUTO_RENDER === "validate" && landed !== null && (landed.state === "loading" || landed.state === "empty") ? `the picture shows the home screen's ${landed.state} state${landed.initial ? " (an offline render paints a data-driven screen before any data loads)" : ""}, so no postcard was journaled from it` : void 0;
76556
76559
  const afterPng = pngFile && !autoSkip ? milestoneKit.afterRenderPng(dir, { screenId, homeScreenId: outcome.homeScreenId ?? null, pngFile, renderable: r.renderable, content: str9(flags.content) }) : null;
76557
- const reminder = process.env.HIMI_AUTO_RENDER === "1" ? void 0 : milestoneKit.watchReminder(dir, { content: str9(flags.content) });
76560
+ const reminder = process.env.HIMI_AUTO_RENDER ? void 0 : milestoneKit.watchReminder(dir, { content: str9(flags.content) });
76558
76561
  const renderNext = [...reminder ? [reminder] : [], ...afterPng?.next ?? []];
76559
76562
  print({
76560
76563
  ...foldLegacyReport(legacyRender, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1125.0",
3
+ "version": "0.1127.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": [
@@ -67,5 +67,5 @@
67
67
  "artifactId": "himalaya-cli"
68
68
  }
69
69
  },
70
- "falconPackageHash": "c3b3a5bf210d0f158623a297ddc8489309392a8c99ffa1af298ecb28"
70
+ "falconPackageHash": "7368f335eda1daaa0459677a072a43eacd68893f3a6e31eab4826b4b"
71
71
  }