@wix/himalaya-cli 0.2037.0 → 0.2039.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 +13 -3
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -200464,6 +200464,7 @@ __export(gen_native_config_exports, {
|
|
|
200464
200464
|
iosOrientationEnvelope: () => iosOrientationEnvelope,
|
|
200465
200465
|
iosPlanFor: () => iosPlanFor,
|
|
200466
200466
|
iosShellAppliesOrientationMask: () => iosShellAppliesOrientationMask,
|
|
200467
|
+
isSignedForDist: () => isSignedForDist,
|
|
200467
200468
|
kotlinBootSourcesUnder: () => kotlinBootSourcesUnder,
|
|
200468
200469
|
kotlinFilesWithModuleInstall: () => kotlinFilesWithModuleInstall,
|
|
200469
200470
|
legacyImportSourceKinds: () => legacyImportSourceKinds,
|
|
@@ -201299,14 +201300,23 @@ function blockBody(text32, label4) {
|
|
|
201299
201300
|
const e2 = lines2.findIndex((l3) => isEnd(l3, "yaml", label4));
|
|
201300
201301
|
return b3 < 0 || e2 < b3 ? [] : lines2.slice(b3 + 1, e2);
|
|
201301
201302
|
}
|
|
201302
|
-
function
|
|
201303
|
+
function isSignedForDist(projectYml, distBundleId) {
|
|
201304
|
+
if (!distBundleId) return false;
|
|
201305
|
+
const targets = load5(projectYml)?.targets ?? {};
|
|
201306
|
+
const app2 = Object.values(targets).find((t2) => t2?.type === "application");
|
|
201307
|
+
const signed = app2?.settings?.base?.PRODUCT_BUNDLE_IDENTIFIER ?? app2?.settings?.PRODUCT_BUNDLE_IDENTIFIER;
|
|
201308
|
+
return typeof app2?.bundleId === "string" && app2.bundleId !== distBundleId && signed === distBundleId;
|
|
201309
|
+
}
|
|
201310
|
+
function genStoreAdopt(paths2, adopted, check, distBundleId = void 0) {
|
|
201303
201311
|
const out2 = [removeGeneratedManifest(paths2.legacyReleaseManifest, check)];
|
|
201304
201312
|
if (!adopted) {
|
|
201305
201313
|
out2.push(removeGeneratedManifest(paths2.storeManifest, check));
|
|
201306
201314
|
out2.push(applyToFile(paths2.gradle, "slash", LABEL_STORE_ADOPT_GRADLE, (i2) => renderAdoptGradle(void 0, i2), check));
|
|
201307
201315
|
return out2;
|
|
201308
201316
|
}
|
|
201309
|
-
if (existsSync82(paths2.iosYml)) {
|
|
201317
|
+
if (existsSync82(paths2.iosYml) && isSignedForDist(readFileSync91(paths2.iosYml, "utf8"), distBundleId)) {
|
|
201318
|
+
out2.push({ path: paths2.storeSpec, outcome: "skipped" });
|
|
201319
|
+
} else if (existsSync82(paths2.iosYml)) {
|
|
201310
201320
|
const expected = buildStoreSpec(readFileSync91(paths2.iosYml, "utf8"), { adopted });
|
|
201311
201321
|
if (!existsSync82(paths2.storeSpec)) {
|
|
201312
201322
|
out2.push(check ? { path: paths2.storeSpec, outcome: "skipped" } : applyWholeFile(paths2.storeSpec, expected, false));
|
|
@@ -201857,7 +201867,7 @@ function genNativeConfig(app2, opts = {}) {
|
|
|
201857
201867
|
files.push(applyWholeFile(join82(root, "PrivacyInfo.xcprivacy"), renderPrivacyManifest(privacyPlanFor([])), check));
|
|
201858
201868
|
}
|
|
201859
201869
|
}
|
|
201860
|
-
files.push(...genStoreAdopt(storeAdoptPaths(app2), adoptedIdentityOfConfigTs(configTs), check));
|
|
201870
|
+
files.push(...genStoreAdopt(storeAdoptPaths(app2), adoptedIdentityOfConfigTs(configTs), check, process.env.DIST_BUNDLE_ID));
|
|
201861
201871
|
const appNativeCore = check && !dist ? checkNativeCore(app2) : null;
|
|
201862
201872
|
const nativeCore = appNativeCore ? [checkNativeCoreSatellite(), appNativeCore] : void 0;
|
|
201863
201873
|
return { app: app2, buildSet: ids2, files, drift: files.some((f2) => f2.outcome === "drift"), ...nativeCore ? { nativeCore } : {} };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2039.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": [
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"artifactId": "himalaya-cli"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"falconPackageHash": "
|
|
85
|
+
"falconPackageHash": "f50613d00addb7121c84b89e364e64c6a531343c2a658dd695ebb633"
|
|
86
86
|
}
|