@wix/himalaya-cli 0.1125.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 +8 -3
- 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:`
|
|
@@ -24718,6 +24719,7 @@ function shouldRevealError(args) {
|
|
|
24718
24719
|
var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE;
|
|
24719
24720
|
var init_validation = __esm({
|
|
24720
24721
|
"../../core/ts/src/validation.ts"() {
|
|
24722
|
+
"use strict";
|
|
24721
24723
|
EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
|
|
24722
24724
|
URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
|
|
24723
24725
|
INTEGER_RE = /^[+-]?[0-9]+$/;
|
|
@@ -29118,6 +29120,7 @@ function validateWorkerSubtree(raw, slotId, policy, actionCatalog) {
|
|
|
29118
29120
|
var WORKER_SUBTREE_CEILINGS, ID_PART, ACTION_ID;
|
|
29119
29121
|
var init_worker_subtree = __esm({
|
|
29120
29122
|
"../../core/ts/src/worker-subtree.ts"() {
|
|
29123
|
+
"use strict";
|
|
29121
29124
|
init_worker_subtree_safe_types_generated();
|
|
29122
29125
|
WORKER_SUBTREE_CEILINGS = Object.freeze({
|
|
29123
29126
|
maxEncodedBytes: 65536,
|
|
@@ -49056,7 +49059,9 @@ async function renderHomeInChild(dir, home, opts) {
|
|
|
49056
49059
|
try {
|
|
49057
49060
|
child = spawn5(process.execPath, [...opts.loader ?? [], opts.entry, "render", home, "--png", "--device", "iphone", "--content", dir, "--skip-version-check"], {
|
|
49058
49061
|
cwd: dir,
|
|
49059
|
-
|
|
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" },
|
|
49060
49065
|
stdio: ["ignore", "pipe", "pipe"]
|
|
49061
49066
|
});
|
|
49062
49067
|
} catch (e) {
|
|
@@ -76552,9 +76557,9 @@ ${[...afterRun.next, ...testReminder ? [testReminder] : []].join("\n")}`);
|
|
|
76552
76557
|
landed = screenStateOf2(r.serviceState, r.html, { initial: !live2 });
|
|
76553
76558
|
recordShotState2(dir, screenId, pngFile, landed);
|
|
76554
76559
|
}
|
|
76555
|
-
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;
|
|
76556
76561
|
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
|
|
76562
|
+
const reminder = process.env.HIMI_AUTO_RENDER ? void 0 : milestoneKit.watchReminder(dir, { content: str9(flags.content) });
|
|
76558
76563
|
const renderNext = [...reminder ? [reminder] : [], ...afterPng?.next ?? []];
|
|
76559
76564
|
print({
|
|
76560
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
|
}
|