@wix/himalaya-cli 0.946.0 → 0.948.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 +59 -28
- package/dist/preview-assets.generated.bin +0 -0
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -18546,6 +18546,7 @@ function shouldRevealError(args) {
|
|
|
18546
18546
|
var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE;
|
|
18547
18547
|
var init_validation = __esm({
|
|
18548
18548
|
"../../core/ts/src/validation.ts"() {
|
|
18549
|
+
"use strict";
|
|
18549
18550
|
EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
|
|
18550
18551
|
URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
|
|
18551
18552
|
INTEGER_RE = /^[+-]?[0-9]+$/;
|
|
@@ -21493,12 +21494,13 @@ var init_listGestures = __esm({
|
|
|
21493
21494
|
} else setOffset(Math.abs(offset) >= SWIPE_OPEN * 0.5 ? Math.sign(offset) * SWIPE_OPEN : 0);
|
|
21494
21495
|
startX.current = null;
|
|
21495
21496
|
};
|
|
21496
|
-
const actionBtn = (a, i, edge) => /* @__PURE__ */ jsx5(
|
|
21497
|
+
const actionBtn = (a, i, edge, hidden) => /* @__PURE__ */ jsx5(
|
|
21497
21498
|
"button",
|
|
21498
21499
|
{
|
|
21499
21500
|
type: "button",
|
|
21500
21501
|
"data-himalaya-swipe-action": true,
|
|
21501
21502
|
"data-himalaya-swipe-edge": edge,
|
|
21503
|
+
tabIndex: hidden ? -1 : void 0,
|
|
21502
21504
|
onClick: () => fireAndClose(a.action),
|
|
21503
21505
|
style: {
|
|
21504
21506
|
border: "none",
|
|
@@ -21516,8 +21518,8 @@ var init_listGestures = __esm({
|
|
|
21516
21518
|
`${edge}-${i}`
|
|
21517
21519
|
);
|
|
21518
21520
|
return /* @__PURE__ */ jsxs2("div", { style: { position: "relative", overflow: "hidden" }, children: [
|
|
21519
|
-
leading.length > 0 && /* @__PURE__ */ jsx5("div", { "aria-hidden": offset <= 0, style: { position: "absolute", inset: 0, display: "flex", justifyContent: "flex-start" }, children: leading.map((a, i) => actionBtn(a, i, "leading")) }),
|
|
21520
|
-
trailing.length > 0 && /* @__PURE__ */ jsx5("div", { "aria-hidden": offset >= 0, style: { position: "absolute", inset: 0, display: "flex", justifyContent: "flex-end" }, children: trailing.map((a, i) => actionBtn(a, i, "trailing")) }),
|
|
21521
|
+
leading.length > 0 && /* @__PURE__ */ jsx5("div", { "aria-hidden": offset <= 0, style: { position: "absolute", inset: 0, display: "flex", justifyContent: "flex-start" }, children: leading.map((a, i) => actionBtn(a, i, "leading", offset <= 0)) }),
|
|
21522
|
+
trailing.length > 0 && /* @__PURE__ */ jsx5("div", { "aria-hidden": offset >= 0, style: { position: "absolute", inset: 0, display: "flex", justifyContent: "flex-end" }, children: trailing.map((a, i) => actionBtn(a, i, "trailing", offset >= 0)) }),
|
|
21521
21523
|
/* @__PURE__ */ jsx5(
|
|
21522
21524
|
"div",
|
|
21523
21525
|
{
|
|
@@ -21969,6 +21971,7 @@ function validateWorkerSubtree(raw, slotId, policy, actionCatalog) {
|
|
|
21969
21971
|
var WORKER_SUBTREE_CEILINGS, ID_PART, ACTION_ID;
|
|
21970
21972
|
var init_worker_subtree = __esm({
|
|
21971
21973
|
"../../core/ts/src/worker-subtree.ts"() {
|
|
21974
|
+
"use strict";
|
|
21972
21975
|
init_worker_subtree_safe_types_generated();
|
|
21973
21976
|
WORKER_SUBTREE_CEILINGS = Object.freeze({
|
|
21974
21977
|
maxEncodedBytes: 65536,
|
|
@@ -22074,6 +22077,14 @@ function ensurePressStyles() {
|
|
|
22074
22077
|
'[data-himalaya-press]{transition:transform var(--hm-press-dur,160ms) var(--hm-press-ease,cubic-bezier(0.2,0,0,1)),filter var(--hm-press-dur,160ms) var(--hm-press-ease,cubic-bezier(0.2,0,0,1))}[data-himalaya-press="scale"]:active,[data-himalaya-press="auto"]:active,[data-himalaya-press="scaleHighlight"]:active{transform:scale(0.96)}[data-himalaya-press="scaleHighlight"]:active,[data-himalaya-press="highlight"]:active{filter:brightness(1.08)}[data-himalaya-press="lift"]:active{transform:translateY(-4px) scale(1.02)}@media (hover:hover){[data-himalaya-tap]{transition:filter 120ms ease}[data-himalaya-tap]:hover{filter:brightness(0.97)}[data-himalaya-press="scale"]:hover,[data-himalaya-press="auto"]:hover,[data-himalaya-press="scaleHighlight"]:hover{transform:scale(0.985)}[data-himalaya-press="lift"]:hover{transform:translateY(-2px) scale(1.01)}}';
|
|
22075
22078
|
document.head.appendChild(el);
|
|
22076
22079
|
}
|
|
22080
|
+
function ensureFocusStyles() {
|
|
22081
|
+
if (focusStylesInjected || typeof document === "undefined") return;
|
|
22082
|
+
focusStylesInjected = true;
|
|
22083
|
+
const el = document.createElement("style");
|
|
22084
|
+
el.setAttribute("data-himalaya-focus-ring", "");
|
|
22085
|
+
el.textContent = FOCUS_RING_CSS;
|
|
22086
|
+
document.head.appendChild(el);
|
|
22087
|
+
}
|
|
22077
22088
|
function ensureHListStyles() {
|
|
22078
22089
|
if (hListStylesInjected || typeof document === "undefined") return;
|
|
22079
22090
|
hListStylesInjected = true;
|
|
@@ -23217,6 +23228,13 @@ function renderNodeInner(node, ctx) {
|
|
|
23217
23228
|
extra["data-hm-measure-bind"] = JSON.stringify(bind);
|
|
23218
23229
|
}
|
|
23219
23230
|
}
|
|
23231
|
+
{
|
|
23232
|
+
const accessibilityLabel = node?.modifiers?.accessibilityLabel ?? node?.modifiers?.accessibility_label;
|
|
23233
|
+
if (accessibilityLabel != null) {
|
|
23234
|
+
const resolved2 = resolveScalarStatic(accessibilityLabel, ctx);
|
|
23235
|
+
if (resolved2 != null && String(resolved2).trim()) extra["aria-label"] = String(resolved2);
|
|
23236
|
+
}
|
|
23237
|
+
}
|
|
23220
23238
|
const tap = node?.modifiers?.onTap ?? node?.modifiers?.on_tap;
|
|
23221
23239
|
const tapDisabled = normalize(node).props?.disabled === true || normalize(node).props?.loading === true || node?.modifiers?.disabled === true || node?.modifiers?.hitTestable === false || node?.modifiers?.hit_testable === false;
|
|
23222
23240
|
if (tap && ctx.onAction && !tapDisabled) {
|
|
@@ -23240,11 +23258,6 @@ function renderNodeInner(node, ctx) {
|
|
|
23240
23258
|
ctx.onAction(resolveItemDeep2(tap, ctx));
|
|
23241
23259
|
};
|
|
23242
23260
|
}
|
|
23243
|
-
const accessibilityLabel = node?.modifiers?.accessibilityLabel ?? node?.modifiers?.accessibility_label;
|
|
23244
|
-
if (accessibilityLabel != null) {
|
|
23245
|
-
const resolved2 = resolveScalarStatic(accessibilityLabel, ctx);
|
|
23246
|
-
if (resolved2 != null && String(resolved2).trim()) extra["aria-label"] = String(resolved2);
|
|
23247
|
-
}
|
|
23248
23261
|
ensurePressStyles();
|
|
23249
23262
|
extra["data-himalaya-tap"] = "1";
|
|
23250
23263
|
}
|
|
@@ -23302,6 +23315,7 @@ function boundPaddingInsets(modifiers, ctx) {
|
|
|
23302
23315
|
return out;
|
|
23303
23316
|
}
|
|
23304
23317
|
function renderNode(node, ctx) {
|
|
23318
|
+
ensureFocusStyles();
|
|
23305
23319
|
const bindings = directServiceBindings(node);
|
|
23306
23320
|
return bindings.length > 0 && ctx.provider ? /* @__PURE__ */ jsx6(ReactiveDirectScalars, { node, ctx, bindings }) : renderNodeInner(node, ctx);
|
|
23307
23321
|
}
|
|
@@ -23977,7 +23991,7 @@ function renderInner(node, ctx) {
|
|
|
23977
23991
|
}
|
|
23978
23992
|
}
|
|
23979
23993
|
}
|
|
23980
|
-
var useIsomorphicLayoutEffect, ResponsiveGrid, SPLIT_EXPANDED_MIN_WIDTH, SPLIT_COLUMN_GAP, ResponsiveSplitView, ABSOLUTE_URL_RE, appearKeyframesInjected, pressStylesInjected, hListStylesInjected, listAnimateRuntimeInstalled, transitionKeyframesInjected, countUpRuntimeInjected, MEASURE_PREFIX, measureRuntimeInjected, revealRuntimeInjected, vectorAnimStylesInjected, scrollProgressRuntimeInjected, confettiRuntimeInjected, lottieRuntimeInjected, riveRuntimeInjected, gradientKeyframesInjected, parallaxRuntimeInjected, spinKeyframesInjected, marqueeKeyframesInjected, alignItems, zJustifyItems, hAlignItems, bodyFont, kids, rowKids, staggeredKids, asTextL10n, asBoundText, useBoundString, InterpolatedTextView, txt, selectFragmentCase, fragmentValueHash, fragmentSlotContent, FragmentSlotNode, WorkerSubtreeNode, resolveItemDeep2, resolveSwipeActions, resolveModBindings, resolvedComponentId, directServiceBindings, ReactiveDirectScalars, HiddenGate, KEYBOARD_INPUT_MODES, AUTOCAPITALIZE_VALUES, ENTER_KEY_HINTS, AUTOGROW_CEILING, EditableField, MenuNode, LoadMoreSentinel, FieldErrorNode, FormView, MediaSlotProvider, MEDIA_ITEM_BINDABLE, MediaPlayerView, VideoNode, PdfViewNode, WebViewNode, InteractivePicker, InteractiveDatePicker, InteractiveSearchField, InteractiveStepper, INTERACTIVE_ROLES, ALWAYS_INTERACTIVE_COMPONENT_TYPES, controlNode, ToggleNode, SliderNode, SelectionControlNode, TabsNode, SegmentedControlNode, DisclosureGroupNode, GridNode, SplitViewNode, TextNode, ImageNode, AvatarNode, IconNode, ButtonNode, OtpInputNode, ProgressBarNode, ActivityIndicatorNode, BottomSheetNode, ChipsInputNode, ChipNode, TableNode, GaugeRing, GaugeNode, RatingNode, AvatarStripNode, CHART_STROKE_CYCLE, chartStrokeAt, chartBarCenter, ChartNode, donutSliceOpacity, DonutChartNode, LegendMarker, LegendNode, cellAlign, DataTableNode, voiceNoteState, voiceNoteDelivery, VOICE_NOTE_DEFAULT_BARS, clampBarCount, VoiceNoteNode, TimelineNode, WheelPickerNode, ColorPickerNode, FilterChipsNode, TILE_PX, MAX_MERCATOR_LAT, DEFAULT_TILE_MAX_ZOOM, CIRCLE_SEGMENTS, METRES_PER_DEG_LAT, MARKER_HIT_RADIUS, SHAPE_HIT_RADIUS, MapNode, CollapsingHeaderNode, UnsupportedOnSurface, CALENDAR_DATE_ONLY_RE, CAL_DEFAULT_MAX_DOTS, CAL_AGENDA_INITIAL_DAYS, CAL_AGENDA_PAGE_DAYS, CAL_DEFAULT_SNAP_MINUTES, CAL_UNASSIGNED_LANE_ID, MonthCalendarNode, TimeGridNode, AgendaNode, WebRenderer;
|
|
23994
|
+
var useIsomorphicLayoutEffect, ResponsiveGrid, SPLIT_EXPANDED_MIN_WIDTH, SPLIT_COLUMN_GAP, ResponsiveSplitView, ABSOLUTE_URL_RE, appearKeyframesInjected, pressStylesInjected, FOCUS_RING_CSS, focusStylesInjected, hListStylesInjected, listAnimateRuntimeInstalled, transitionKeyframesInjected, countUpRuntimeInjected, MEASURE_PREFIX, measureRuntimeInjected, revealRuntimeInjected, vectorAnimStylesInjected, scrollProgressRuntimeInjected, confettiRuntimeInjected, lottieRuntimeInjected, riveRuntimeInjected, gradientKeyframesInjected, parallaxRuntimeInjected, spinKeyframesInjected, marqueeKeyframesInjected, alignItems, zJustifyItems, hAlignItems, bodyFont, kids, rowKids, staggeredKids, asTextL10n, asBoundText, useBoundString, InterpolatedTextView, txt, selectFragmentCase, fragmentValueHash, fragmentSlotContent, FragmentSlotNode, WorkerSubtreeNode, resolveItemDeep2, resolveSwipeActions, resolveModBindings, resolvedComponentId, directServiceBindings, ReactiveDirectScalars, HiddenGate, KEYBOARD_INPUT_MODES, AUTOCAPITALIZE_VALUES, ENTER_KEY_HINTS, AUTOGROW_CEILING, EditableField, MenuNode, LoadMoreSentinel, FieldErrorNode, FormView, MediaSlotProvider, MEDIA_ITEM_BINDABLE, MediaPlayerView, VideoNode, PdfViewNode, WebViewNode, InteractivePicker, InteractiveDatePicker, InteractiveSearchField, InteractiveStepper, INTERACTIVE_ROLES, ALWAYS_INTERACTIVE_COMPONENT_TYPES, controlNode, ToggleNode, SliderNode, SelectionControlNode, TabsNode, SegmentedControlNode, DisclosureGroupNode, GridNode, SplitViewNode, TextNode, ImageNode, AvatarNode, IconNode, ButtonNode, OtpInputNode, ProgressBarNode, ActivityIndicatorNode, BottomSheetNode, ChipsInputNode, ChipNode, TableNode, GaugeRing, GaugeNode, RatingNode, AvatarStripNode, CHART_STROKE_CYCLE, chartStrokeAt, chartBarCenter, ChartNode, donutSliceOpacity, DonutChartNode, LegendMarker, LegendNode, cellAlign, DataTableNode, voiceNoteState, voiceNoteDelivery, VOICE_NOTE_DEFAULT_BARS, clampBarCount, VoiceNoteNode, TimelineNode, WheelPickerNode, ColorPickerNode, FilterChipsNode, TILE_PX, MAX_MERCATOR_LAT, DEFAULT_TILE_MAX_ZOOM, CIRCLE_SEGMENTS, METRES_PER_DEG_LAT, MARKER_HIT_RADIUS, SHAPE_HIT_RADIUS, MapNode, CollapsingHeaderNode, UnsupportedOnSurface, CALENDAR_DATE_ONLY_RE, CAL_DEFAULT_MAX_DOTS, CAL_AGENDA_INITIAL_DAYS, CAL_AGENDA_PAGE_DAYS, CAL_DEFAULT_SNAP_MINUTES, CAL_UNASSIGNED_LANE_ID, MonthCalendarNode, TimeGridNode, AgendaNode, WebRenderer;
|
|
23981
23995
|
var init_renderNode = __esm({
|
|
23982
23996
|
"../../core/web-renderer/src/renderNode.tsx"() {
|
|
23983
23997
|
"use strict";
|
|
@@ -24061,6 +24075,8 @@ var init_renderNode = __esm({
|
|
|
24061
24075
|
ABSOLUTE_URL_RE = /^([a-zA-Z][a-zA-Z0-9+.-]*:|\/\/)/;
|
|
24062
24076
|
appearKeyframesInjected = false;
|
|
24063
24077
|
pressStylesInjected = false;
|
|
24078
|
+
FOCUS_RING_CSS = ':where(button,a,[href],input,select,textarea,[role="button"],[tabindex]):focus-visible{outline:2px solid var(--himi-accent,#116DFF);outline-offset:2px;border-radius:4px}';
|
|
24079
|
+
focusStylesInjected = false;
|
|
24064
24080
|
hListStylesInjected = false;
|
|
24065
24081
|
listAnimateRuntimeInstalled = false;
|
|
24066
24082
|
transitionKeyframesInjected = false;
|
|
@@ -27322,11 +27338,13 @@ function renderDescriptorToHtml(payload, tokens, scheme = "light", provider = nu
|
|
|
27322
27338
|
...typeof width === "number" && Number.isFinite(width) && width > 0 ? { sizeClass: sizeClassFromWidth(width), containerWidth: width } : {},
|
|
27323
27339
|
...rtl ? { isRTL: true } : {}
|
|
27324
27340
|
});
|
|
27341
|
+
const FOCUS_STYLE_MARKUP = `<style data-himalaya-focus-ring>${FOCUS_RING_CSS}</style>`;
|
|
27342
|
+
const withFocusRing = (markup) => markup ? FOCUS_STYLE_MARKUP + markup : markup;
|
|
27325
27343
|
const header = chrome?.stickyHeader;
|
|
27326
27344
|
const footer = chrome?.stickyFooter;
|
|
27327
27345
|
const dir = rtl ? { dir: "rtl" } : {};
|
|
27328
27346
|
if (header || footer) {
|
|
27329
|
-
return renderToStaticMarkup(
|
|
27347
|
+
return withFocusRing(renderToStaticMarkup(
|
|
27330
27348
|
React6.createElement(
|
|
27331
27349
|
"div",
|
|
27332
27350
|
{ "data-testid": "screen-host", ...dir },
|
|
@@ -27342,16 +27360,16 @@ function renderDescriptorToHtml(payload, tokens, scheme = "light", provider = nu
|
|
|
27342
27360
|
renderNode(footer, ctx)
|
|
27343
27361
|
) : null
|
|
27344
27362
|
)
|
|
27345
|
-
);
|
|
27363
|
+
));
|
|
27346
27364
|
}
|
|
27347
27365
|
if (rtl) {
|
|
27348
|
-
return renderToStaticMarkup(
|
|
27366
|
+
return withFocusRing(renderToStaticMarkup(
|
|
27349
27367
|
React6.createElement("div", dir, renderNode(payload, ctx))
|
|
27350
|
-
);
|
|
27368
|
+
));
|
|
27351
27369
|
}
|
|
27352
|
-
return renderToStaticMarkup(
|
|
27370
|
+
return withFocusRing(renderToStaticMarkup(
|
|
27353
27371
|
React6.createElement(React6.Fragment, null, renderNode(payload, ctx))
|
|
27354
|
-
);
|
|
27372
|
+
));
|
|
27355
27373
|
}
|
|
27356
27374
|
var init_renderToHtml = __esm({
|
|
27357
27375
|
"../../core/web-renderer/src/renderToHtml.tsx"() {
|
|
@@ -43281,19 +43299,19 @@ var init_preview_assets_generated = __esm({
|
|
|
43281
43299
|
"../../packages/serve/src/preview-assets.generated.ts"() {
|
|
43282
43300
|
init_preview_assets_format();
|
|
43283
43301
|
PREVIEW_ASSET_MANIFEST = [
|
|
43284
|
-
{ key: "assets/index-
|
|
43285
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
43286
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
43287
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
43288
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
43289
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
43290
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
43291
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
43292
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
43293
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
43294
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
43295
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
43296
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
43302
|
+
{ key: "assets/index-DlRHv5p2.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 983492, sha256: "89f6530bb02d868a8d28e7a93103bef7e7b83904a5e0fcf4f813c06872191b48" },
|
|
43303
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 983500, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
43304
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 1074424, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
43305
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 1165408, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
43306
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 1256388, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
43307
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 1347260, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
43308
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 1438240, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
43309
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 1546876, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
43310
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 1655960, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
43311
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 1765008, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
43312
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 1872708, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
43313
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 1960816, length: 4448, sha256: "2a2e413e18bb4b278f1f4daee79dce764a17f65f6567a734a69e9a895bc85f70" },
|
|
43314
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 1965264, length: 13784, sha256: "cfb9465254fab84f0e084bb4542c282758ea29774b5f172840cc0b9e4194ef89" }
|
|
43297
43315
|
];
|
|
43298
43316
|
}
|
|
43299
43317
|
});
|
|
@@ -55605,6 +55623,17 @@ var TERMINAL_DIST_STATUSES = /* @__PURE__ */ new Set([
|
|
|
55605
55623
|
"BLOCKED",
|
|
55606
55624
|
"STATUS_UNKNOWN"
|
|
55607
55625
|
]);
|
|
55626
|
+
function shellShaDivergenceWarnings(jobs) {
|
|
55627
|
+
const seen = /* @__PURE__ */ new Map();
|
|
55628
|
+
for (const j of jobs) {
|
|
55629
|
+
const release = typeof j.release === "string" ? j.release : void 0;
|
|
55630
|
+
const built = typeof j.gitCommitSha === "string" ? j.gitCommitSha : void 0;
|
|
55631
|
+
if (j.shellShaSource === "release" && release && built && release !== built) seen.set(release, built);
|
|
55632
|
+
}
|
|
55633
|
+
return [...seen].map(
|
|
55634
|
+
([release, built]) => `\u26A0 this build compiles the native shell at ${built.slice(0, 12)}, not release ${release.slice(0, 12)} \u2014 the release was pushed from a branch whose HEAD is not on the default branch, so the Mac pool checks out the nearest default-branch ancestor. A native-shell or tools/mobile-dist/** change on that branch is NOT in this binary even if the job reports SUCCESS; re-push from a checkout whose HEAD is on origin/master to validate it.`
|
|
55635
|
+
);
|
|
55636
|
+
}
|
|
55608
55637
|
function materializeForPreview(appDir2, slug, displayName) {
|
|
55609
55638
|
if (!isTemplateSourceTree(appDir2)) return appDir2;
|
|
55610
55639
|
const files = readTemplateFiles(appDir2);
|
|
@@ -59819,6 +59848,7 @@ ${label2}`);
|
|
|
59819
59848
|
return 1;
|
|
59820
59849
|
}
|
|
59821
59850
|
const jobs = r.json?.jobs ?? [];
|
|
59851
|
+
for (const line of shellShaDivergenceWarnings(jobs)) (flags.json === true ? io.error : io.log)(line);
|
|
59822
59852
|
const noWait = flags["no-wait"] === true || flags.wait === false;
|
|
59823
59853
|
if (noWait) {
|
|
59824
59854
|
print({ status: r.status, ...r.json ?? {} });
|
|
@@ -60758,6 +60788,7 @@ export {
|
|
|
60758
60788
|
serveUnreachableError,
|
|
60759
60789
|
serveUnreachableHint,
|
|
60760
60790
|
servesAll,
|
|
60791
|
+
shellShaDivergenceWarnings,
|
|
60761
60792
|
switchFlagErrors,
|
|
60762
60793
|
templatePreviewAuthError,
|
|
60763
60794
|
tokenCoversApp,
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.948.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": [
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"artifactId": "himalaya-cli"
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
|
-
"falconPackageHash": "
|
|
67
|
+
"falconPackageHash": "c8b30ba70c8fce59bdc7ac8a6ca63b0f2f35e34869de1e880606f116"
|
|
68
68
|
}
|