@wix/himalaya-cli 0.1335.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 +9 -0
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -16629,6 +16629,7 @@ function resolveIdiom(tokens2, ctx = {}) {
|
|
|
16629
16629
|
var IDIOM_CONTEXTS, UNSAFE_KEYS;
|
|
16630
16630
|
var init_idiom = __esm({
|
|
16631
16631
|
"../../core/ts/src/idiom.ts"() {
|
|
16632
|
+
"use strict";
|
|
16632
16633
|
IDIOM_CONTEXTS = {
|
|
16633
16634
|
ios: { native: ["ios"] },
|
|
16634
16635
|
android: { native: ["material"] },
|
|
@@ -174916,6 +174917,10 @@ function auditUx(content, strict = false) {
|
|
|
174916
174917
|
init_guides();
|
|
174917
174918
|
init_wix_placeholders();
|
|
174918
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
|
+
}
|
|
174919
174924
|
var REPEATABLE_FLAGS = /* @__PURE__ */ new Set(["data", "image", "set"]);
|
|
174920
174925
|
var BOOLEAN_FLAGS = /* @__PURE__ */ new Set([
|
|
174921
174926
|
"no-network",
|
|
@@ -182682,6 +182687,8 @@ ${label2}`);
|
|
|
182682
182687
|
io2.error(JSON.stringify({ error: "dist needs --app (or a content dir whose himalaya.content.json names one)" }));
|
|
182683
182688
|
return 2;
|
|
182684
182689
|
}
|
|
182690
|
+
const isCiBuild = isCiEnvironment();
|
|
182691
|
+
const buildOrigin = isCiBuild ? "system" : "user";
|
|
182685
182692
|
const distShell = str9(flags.shell) ?? (await appId(contentDir(flags)) === app ? (await Promise.resolve().then(() => (init_capabilities(), capabilities_exports))).contentShell(contentDir(flags)) : null);
|
|
182686
182693
|
if (Object.hasOwn(flags, "plan")) {
|
|
182687
182694
|
const swallowed = Reflect.get(flags, "plan");
|
|
@@ -182759,6 +182766,7 @@ ${label2}`);
|
|
|
182759
182766
|
try {
|
|
182760
182767
|
r2 = await c2.distCreate({
|
|
182761
182768
|
app,
|
|
182769
|
+
buildOrigin,
|
|
182762
182770
|
...platform?.length ? { platform } : customerTestflight ? { platform: ["ios"] } : {},
|
|
182763
182771
|
...str9(flags.release) ? { release: str9(flags.release) } : {},
|
|
182764
182772
|
...flags["allow-draft"] === true ? { allowDraft: true } : {},
|
|
@@ -183974,6 +183982,7 @@ export {
|
|
|
183974
183982
|
handoverUxEvidence,
|
|
183975
183983
|
humanDuration,
|
|
183976
183984
|
inspectControlToken,
|
|
183985
|
+
isCiEnvironment,
|
|
183977
183986
|
isHimalayaMonorepoCheckout,
|
|
183978
183987
|
isLoopbackBase,
|
|
183979
183988
|
isPublicTarget,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "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": "
|
|
74
|
+
"falconPackageHash": "3cf2f4c52822407602cd131ff8721b4ef1663dcf3c68866cf86fb182"
|
|
75
75
|
}
|