@wix/himalaya-cli 0.1124.0 → 0.1126.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 +7 -3
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -24719,6 +24719,7 @@ function shouldRevealError(args) {
|
|
|
24719
24719
|
var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE;
|
|
24720
24720
|
var init_validation = __esm({
|
|
24721
24721
|
"../../core/ts/src/validation.ts"() {
|
|
24722
|
+
"use strict";
|
|
24722
24723
|
EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
|
|
24723
24724
|
URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
|
|
24724
24725
|
INTEGER_RE = /^[+-]?[0-9]+$/;
|
|
@@ -29119,6 +29120,7 @@ function validateWorkerSubtree(raw, slotId, policy, actionCatalog) {
|
|
|
29119
29120
|
var WORKER_SUBTREE_CEILINGS, ID_PART, ACTION_ID;
|
|
29120
29121
|
var init_worker_subtree = __esm({
|
|
29121
29122
|
"../../core/ts/src/worker-subtree.ts"() {
|
|
29123
|
+
"use strict";
|
|
29122
29124
|
init_worker_subtree_safe_types_generated();
|
|
29123
29125
|
WORKER_SUBTREE_CEILINGS = Object.freeze({
|
|
29124
29126
|
maxEncodedBytes: 65536,
|
|
@@ -49057,7 +49059,9 @@ async function renderHomeInChild(dir, home, opts) {
|
|
|
49057
49059
|
try {
|
|
49058
49060
|
child = spawn5(process.execPath, [...opts.loader ?? [], opts.entry, "render", home, "--png", "--device", "iphone", "--content", dir, "--skip-version-check"], {
|
|
49059
49061
|
cwd: dir,
|
|
49060
|
-
|
|
49062
|
+
// Which command ran it: validate's refresh is the one whose loading skeletons must not be
|
|
49063
|
+
// journaled; init's first look is the template's honest "Starting point" and always is.
|
|
49064
|
+
env: { ...opts.env ?? process.env, HIMI_AUTO_RENDER: opts.who === "validate" ? "validate" : "1" },
|
|
49061
49065
|
stdio: ["ignore", "pipe", "pipe"]
|
|
49062
49066
|
});
|
|
49063
49067
|
} catch (e) {
|
|
@@ -76553,9 +76557,9 @@ ${[...afterRun.next, ...testReminder ? [testReminder] : []].join("\n")}`);
|
|
|
76553
76557
|
landed = screenStateOf2(r.serviceState, r.html, { initial: !live2 });
|
|
76554
76558
|
recordShotState2(dir, screenId, pngFile, landed);
|
|
76555
76559
|
}
|
|
76556
|
-
const autoSkip = process.env.HIMI_AUTO_RENDER === "
|
|
76560
|
+
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;
|
|
76557
76561
|
const afterPng = pngFile && !autoSkip ? milestoneKit.afterRenderPng(dir, { screenId, homeScreenId: outcome.homeScreenId ?? null, pngFile, renderable: r.renderable, content: str9(flags.content) }) : null;
|
|
76558
|
-
const reminder = process.env.HIMI_AUTO_RENDER
|
|
76562
|
+
const reminder = process.env.HIMI_AUTO_RENDER ? void 0 : milestoneKit.watchReminder(dir, { content: str9(flags.content) });
|
|
76559
76563
|
const renderNext = [...reminder ? [reminder] : [], ...afterPng?.next ?? []];
|
|
76560
76564
|
print({
|
|
76561
76565
|
...foldLegacyReport(legacyRender, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1126.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": "
|
|
70
|
+
"falconPackageHash": "07d194b64ad7a7ed43aab3c35b86ed6fc0fa64158defdf6674ca362a"
|
|
71
71
|
}
|