@wix/himalaya-cli 0.1282.0 → 0.1283.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 +115 -26
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/capabilities.md +5 -3
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -7568,6 +7568,7 @@ function resolveTranslation(value, catalog3, sourceCatalog) {
|
|
|
7568
7568
|
var BINDING_SIGILS, BINDING_SIGIL_RE, TRANSLATION_PREFIX, TRANSLATION_KEY_RE;
|
|
7569
7569
|
var init_bindings = __esm({
|
|
7570
7570
|
"../../core/ts/src/bindings.ts"() {
|
|
7571
|
+
"use strict";
|
|
7571
7572
|
BINDING_SIGILS = ["service", "flag", "item", "t"];
|
|
7572
7573
|
BINDING_SIGIL_RE = new RegExp(
|
|
7573
7574
|
`^\\$(?:${BINDING_SIGILS.filter((s2) => s2 !== "t").join("|")})\\b|^\\$t:`
|
|
@@ -21379,7 +21380,9 @@ var init_known = __esm({
|
|
|
21379
21380
|
local_database: "registering it without the app's dataSchema writes declared-encrypted entities in plaintext (#1896) \u2014 the shell has to install the schema first",
|
|
21380
21381
|
live_activity: "needs a WidgetKit extension target in the shell's project, which a build cannot add",
|
|
21381
21382
|
base44: "needs the opt-in HimalayaCoreBase44 / :core-runtime-base44 SDK linked into the shell",
|
|
21382
|
-
health
|
|
21383
|
+
// `health` IS dist-addable: gen-native-config fills the shell's himalaya:health:* markers with
|
|
21384
|
+
// HimalayaCoreHealth / :core-runtime-health when the release declares it, and the shell's boot
|
|
21385
|
+
// installs the store only when those modules are linked (`#if canImport` / Class.forName).
|
|
21383
21386
|
godot: "needs the opt-in Godot SPM product linked into the shell",
|
|
21384
21387
|
wix_platform: "needs the shell's boot to configure it with a Wix API client and launch services",
|
|
21385
21388
|
himi_apps: "is a multi-app host surface (Himi Player), not something one app's binary serves",
|
|
@@ -22089,6 +22092,7 @@ var gen_native_config_exports = {};
|
|
|
22089
22092
|
__export(gen_native_config_exports, {
|
|
22090
22093
|
ANDROID_BUILD_CAPABILITIES_META: () => ANDROID_BUILD_CAPABILITIES_META,
|
|
22091
22094
|
ANDROID_DIST_CAPABILITIES_META: () => ANDROID_DIST_CAPABILITIES_META,
|
|
22095
|
+
HEALTH_PERMISSION_COPY_META: () => HEALTH_PERMISSION_COPY_META,
|
|
22092
22096
|
IOS_BUILD_CAPABILITIES_KEY: () => IOS_BUILD_CAPABILITIES_KEY,
|
|
22093
22097
|
IOS_DIST_CAPABILITIES_KEY: () => IOS_DIST_CAPABILITIES_KEY,
|
|
22094
22098
|
IOS_ORIENTATION: () => IOS_ORIENTATION,
|
|
@@ -22096,13 +22100,19 @@ __export(gen_native_config_exports, {
|
|
|
22096
22100
|
LABEL_ANDROID_SERVICES: () => LABEL_ANDROID_SERVICES,
|
|
22097
22101
|
LABEL_ANDROID_TV: () => LABEL_ANDROID_TV,
|
|
22098
22102
|
LABEL_CAR: () => LABEL_CAR,
|
|
22103
|
+
LABEL_HEALTH_ANDROID_INCLUDE: () => LABEL_HEALTH_ANDROID_INCLUDE,
|
|
22104
|
+
LABEL_HEALTH_ANDROID_LINK: () => LABEL_HEALTH_ANDROID_LINK,
|
|
22105
|
+
LABEL_HEALTH_IOS_LINK: () => LABEL_HEALTH_IOS_LINK,
|
|
22106
|
+
LABEL_HEALTH_IOS_PACKAGE: () => LABEL_HEALTH_IOS_PACKAGE,
|
|
22099
22107
|
LABEL_IOS_ENTITLEMENTS: () => LABEL_IOS_ENTITLEMENTS,
|
|
22100
22108
|
LABEL_IOS_INFO: () => LABEL_IOS_INFO,
|
|
22101
22109
|
LABEL_ORIENTATION: () => LABEL_ORIENTATION,
|
|
22102
22110
|
LABEL_TV: () => LABEL_TV,
|
|
22103
22111
|
LABEL_WATCH: () => LABEL_WATCH,
|
|
22112
|
+
androidAppGradle: () => androidAppGradle,
|
|
22104
22113
|
androidManifestPath: () => androidManifestPath2,
|
|
22105
22114
|
androidPlanFor: () => androidPlanFor,
|
|
22115
|
+
androidSettingsGradle: () => androidSettingsGradle,
|
|
22106
22116
|
androidTvLeanbackPlan: () => androidTvLeanbackPlan,
|
|
22107
22117
|
applyToFile: () => applyToFile,
|
|
22108
22118
|
automotiveAppDescPath: () => automotiveAppDescPath,
|
|
@@ -22124,11 +22134,17 @@ __export(gen_native_config_exports, {
|
|
|
22124
22134
|
renderAndroidTvXml: () => renderAndroidTvXml,
|
|
22125
22135
|
renderAndroidXml: () => renderAndroidXml,
|
|
22126
22136
|
renderDistCapabilitiesXml: () => renderDistCapabilitiesXml,
|
|
22137
|
+
renderHealthAndroidInclude: () => renderHealthAndroidInclude,
|
|
22138
|
+
renderHealthAndroidLink: () => renderHealthAndroidLink,
|
|
22139
|
+
renderHealthIosLink: () => renderHealthIosLink,
|
|
22140
|
+
renderHealthIosPackage: () => renderHealthIosPackage,
|
|
22141
|
+
renderHealthPermissionCopyXml: () => renderHealthPermissionCopyXml,
|
|
22127
22142
|
renderOrientationXml: () => renderOrientationXml,
|
|
22128
22143
|
renderPlistYaml: () => renderPlistYaml,
|
|
22129
22144
|
resolveDistBake: () => resolveDistBake,
|
|
22130
22145
|
tvInfoPlan: () => tvInfoPlan,
|
|
22131
22146
|
watchInfoPlan: () => watchInfoPlan,
|
|
22147
|
+
xmlAttr: () => xmlAttr,
|
|
22132
22148
|
yamlScalar: () => yamlScalar
|
|
22133
22149
|
});
|
|
22134
22150
|
import { existsSync as existsSync33, mkdirSync as mkdirSync15, readFileSync as readFileSync32, readdirSync as readdirSync19, rmSync as rmSync7, writeFileSync as writeFileSync13 } from "node:fs";
|
|
@@ -22272,19 +22288,55 @@ function renderAndroidServicesXml(plan, indent) {
|
|
|
22272
22288
|
}
|
|
22273
22289
|
return lines;
|
|
22274
22290
|
}
|
|
22291
|
+
function xmlAttr(value) {
|
|
22292
|
+
return value.replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">");
|
|
22293
|
+
}
|
|
22294
|
+
function renderHealthPermissionCopyXml(copy, indent) {
|
|
22295
|
+
const text8 = copy?.trim();
|
|
22296
|
+
if (!text8) return [];
|
|
22297
|
+
return [`${indent}<meta-data android:name="${HEALTH_PERMISSION_COPY_META}" android:value="${xmlAttr(text8)}" />`];
|
|
22298
|
+
}
|
|
22299
|
+
function renderHealthIosPackage(enabled, indent) {
|
|
22300
|
+
if (!enabled) return [];
|
|
22301
|
+
return [`${indent}HimalayaCoreHealth:`, `${indent} path: ${IOS_HEALTH_PACKAGE}`];
|
|
22302
|
+
}
|
|
22303
|
+
function renderHealthIosLink(enabled, indent) {
|
|
22304
|
+
if (!enabled) return [];
|
|
22305
|
+
return [`${indent}- package: HimalayaCoreHealth`, `${indent} product: HimalayaCoreHealth`];
|
|
22306
|
+
}
|
|
22307
|
+
function renderHealthAndroidInclude(enabled, indent) {
|
|
22308
|
+
if (!enabled) return [];
|
|
22309
|
+
return [
|
|
22310
|
+
`${indent}include(":core-runtime-health")`,
|
|
22311
|
+
`${indent}project(":core-runtime-health").projectDir = file("${ANDROID_HEALTH_DIR}")`
|
|
22312
|
+
];
|
|
22313
|
+
}
|
|
22314
|
+
function renderHealthAndroidLink(enabled, indent) {
|
|
22315
|
+
if (!enabled) return [];
|
|
22316
|
+
return [`${indent}implementation(project(":core-runtime-health"))`];
|
|
22317
|
+
}
|
|
22275
22318
|
function isBegin(line, kind, label2) {
|
|
22276
22319
|
const s2 = line.trim();
|
|
22277
|
-
|
|
22320
|
+
if (kind === "yaml") return s2.startsWith(`# >>> ${label2}`) && s2.endsWith(">>>");
|
|
22321
|
+
if (kind === "xml") return s2.startsWith(`<!-- >>> ${label2}`) && s2.endsWith("-->");
|
|
22322
|
+
return s2.startsWith(`// >>> ${label2}`) && s2.endsWith(">>>");
|
|
22278
22323
|
}
|
|
22279
22324
|
function isEnd(line, kind, label2) {
|
|
22280
22325
|
const s2 = line.trim();
|
|
22281
|
-
|
|
22326
|
+
if (kind === "yaml") return s2 === `# <<< ${label2} <<<`;
|
|
22327
|
+
if (kind === "xml") return s2 === `<!-- <<< ${label2} <<< -->`;
|
|
22328
|
+
return s2 === `// <<< ${label2} <<<`;
|
|
22282
22329
|
}
|
|
22283
22330
|
function beginText(kind, label2, indent) {
|
|
22284
|
-
|
|
22331
|
+
const note = `${label2} (generated by gen-native-config \u2014 do not edit)`;
|
|
22332
|
+
if (kind === "yaml") return `${indent}# >>> ${note} >>>`;
|
|
22333
|
+
if (kind === "xml") return `${indent}<!-- >>> ${note} >>> -->`;
|
|
22334
|
+
return `${indent}// >>> ${note} >>>`;
|
|
22285
22335
|
}
|
|
22286
22336
|
function endText(kind, label2, indent) {
|
|
22287
|
-
|
|
22337
|
+
if (kind === "yaml") return `${indent}# <<< ${label2} <<<`;
|
|
22338
|
+
if (kind === "xml") return `${indent}<!-- <<< ${label2} <<< -->`;
|
|
22339
|
+
return `${indent}// <<< ${label2} <<<`;
|
|
22288
22340
|
}
|
|
22289
22341
|
function hostAppliesDeferredWidgetActions(app) {
|
|
22290
22342
|
const root = join33(appDir(app), "ios");
|
|
@@ -22320,6 +22372,12 @@ function injectBlock(text8, kind, label2, render) {
|
|
|
22320
22372
|
const block = [beginText(kind, label2, indent), ...render(indent), endText(kind, label2, indent)];
|
|
22321
22373
|
return [...lines.slice(0, beginIdx), ...block, ...lines.slice(endIdx + 1)].join("\n");
|
|
22322
22374
|
}
|
|
22375
|
+
function androidSettingsGradle(app) {
|
|
22376
|
+
return join33(appDir(app), "android", "settings.gradle.kts");
|
|
22377
|
+
}
|
|
22378
|
+
function androidAppGradle(app) {
|
|
22379
|
+
return join33(dirname20(androidManifestPath2(app)), "..", "..", "build.gradle.kts");
|
|
22380
|
+
}
|
|
22323
22381
|
function androidManifestPath2(app) {
|
|
22324
22382
|
const androidDir = join33(appDir(app), "android");
|
|
22325
22383
|
const preferred = join33(androidDir, `${app}-app`, "src", "main", "AndroidManifest.xml");
|
|
@@ -22383,6 +22441,8 @@ function genNativeConfig(app, opts = {}) {
|
|
|
22383
22441
|
const ov = loadOverrides(app);
|
|
22384
22442
|
const dist = opts.extraCapabilities?.length ? resolveDistBake(app, ownIds, opts.extraCapabilities) : void 0;
|
|
22385
22443
|
const ids = dist ? dist.build : ownIds;
|
|
22444
|
+
const healthLinked = ids.includes("health");
|
|
22445
|
+
const healthCopy = opts.permissionCopy?.health;
|
|
22386
22446
|
const distCopy = usageStringCopyFor(opts.permissionCopy);
|
|
22387
22447
|
const withCopy = (o2) => ({ ...o2 ?? {}, infoPlistCopy: { ...o2?.infoPlistCopy ?? {}, ...distCopy } });
|
|
22388
22448
|
const ios = iosPlanFor(ids, withCopy(ov.ios));
|
|
@@ -22440,9 +22500,20 @@ function genNativeConfig(app, opts = {}) {
|
|
|
22440
22500
|
androidManifestPath2(app),
|
|
22441
22501
|
"xml",
|
|
22442
22502
|
LABEL_ANDROID_SERVICES,
|
|
22443
|
-
(i2) => [
|
|
22503
|
+
(i2) => [
|
|
22504
|
+
...renderAndroidServicesXml(android, i2),
|
|
22505
|
+
...renderDistCapabilitiesXml(dist, i2),
|
|
22506
|
+
...healthLinked ? renderHealthPermissionCopyXml(healthCopy, i2) : []
|
|
22507
|
+
],
|
|
22444
22508
|
check
|
|
22445
22509
|
),
|
|
22510
|
+
// Opt-in health stores. Empty unless this build includes `health`. A file without the
|
|
22511
|
+
// markers is skipped — demo-app hand-links instead. A dist build that ADDS health requires
|
|
22512
|
+
// the markers (asserted below) so the binary cannot ship the permissions without the store.
|
|
22513
|
+
applyToFile(iosProjectYml(app), "yaml", LABEL_HEALTH_IOS_PACKAGE, (i2) => renderHealthIosPackage(healthLinked, i2), check),
|
|
22514
|
+
applyToFile(iosProjectYml(app), "yaml", LABEL_HEALTH_IOS_LINK, (i2) => renderHealthIosLink(healthLinked, i2), check),
|
|
22515
|
+
applyToFile(androidSettingsGradle(app), "slash", LABEL_HEALTH_ANDROID_INCLUDE, (i2) => renderHealthAndroidInclude(healthLinked, i2), check),
|
|
22516
|
+
applyToFile(androidAppGradle(app), "slash", LABEL_HEALTH_ANDROID_LINK, (i2) => renderHealthAndroidLink(healthLinked, i2), check),
|
|
22446
22517
|
// watchOS (RFC 0047): the watch runtime mode/serve, declared once in config.ts. A watch
|
|
22447
22518
|
// target opts in by adding the LABEL_WATCH markers; a file without them is skipped.
|
|
22448
22519
|
applyToFile(watchosProjectYml(app), "yaml", LABEL_WATCH, (i2) => renderPlistYaml(watch2, i2), check),
|
|
@@ -22479,6 +22550,17 @@ function genNativeConfig(app, opts = {}) {
|
|
|
22479
22550
|
if (!marked(manifestPath, "xml", LABEL_ANDROID_SERVICES)) {
|
|
22480
22551
|
throw new Error(`${app}: dist capabilities need the ${LABEL_ANDROID_SERVICES} markers inside <application> in ${manifestPath}`);
|
|
22481
22552
|
}
|
|
22553
|
+
if (dist.added.includes("health")) {
|
|
22554
|
+
const requireMarkers = (path2, kind, label2) => {
|
|
22555
|
+
if (!existsSync33(path2) || !hasMarkers(readFileSync32(path2, "utf8"), kind, label2)) {
|
|
22556
|
+
throw new Error(`${app}: dist added health but ${path2} has no ${label2} markers \u2014 the store would stay unlinked and every verb would answer unavailable`);
|
|
22557
|
+
}
|
|
22558
|
+
};
|
|
22559
|
+
requireMarkers(iosYml, "yaml", LABEL_HEALTH_IOS_PACKAGE);
|
|
22560
|
+
requireMarkers(iosYml, "yaml", LABEL_HEALTH_IOS_LINK);
|
|
22561
|
+
requireMarkers(androidSettingsGradle(app), "slash", LABEL_HEALTH_ANDROID_INCLUDE);
|
|
22562
|
+
requireMarkers(androidAppGradle(app), "slash", LABEL_HEALTH_ANDROID_LINK);
|
|
22563
|
+
}
|
|
22482
22564
|
}
|
|
22483
22565
|
const rce = declaresRichContentEditor(configTs);
|
|
22484
22566
|
for (const yml of [iosYml, macosProjectYml(app)]) {
|
|
@@ -22506,7 +22588,7 @@ function genNativeConfig(app, opts = {}) {
|
|
|
22506
22588
|
);
|
|
22507
22589
|
return { app, buildSet: ids, files, drift: files.some((f2) => f2.outcome === "drift") };
|
|
22508
22590
|
}
|
|
22509
|
-
var LABEL_IOS_INFO, LABEL_IOS_ENTITLEMENTS, LABEL_ANDROID, LABEL_ANDROID_SERVICES, LABEL_WATCH, LABEL_TV, LABEL_ANDROID_TV, LABEL_ORIENTATION, LABEL_CAR, IOS_ORIENTATION, ALL_ORIENTATIONS, IOS_BUILD_CAPABILITIES_KEY, IOS_DIST_CAPABILITIES_KEY, ANDROID_BUILD_CAPABILITIES_META, ANDROID_DIST_CAPABILITIES_META;
|
|
22591
|
+
var LABEL_IOS_INFO, LABEL_IOS_ENTITLEMENTS, LABEL_ANDROID, LABEL_ANDROID_SERVICES, LABEL_HEALTH_IOS_PACKAGE, LABEL_HEALTH_IOS_LINK, LABEL_HEALTH_ANDROID_INCLUDE, LABEL_HEALTH_ANDROID_LINK, LABEL_WATCH, LABEL_TV, LABEL_ANDROID_TV, LABEL_ORIENTATION, LABEL_CAR, IOS_ORIENTATION, ALL_ORIENTATIONS, HEALTH_PERMISSION_COPY_META, IOS_HEALTH_PACKAGE, ANDROID_HEALTH_DIR, IOS_BUILD_CAPABILITIES_KEY, IOS_DIST_CAPABILITIES_KEY, ANDROID_BUILD_CAPABILITIES_META, ANDROID_DIST_CAPABILITIES_META;
|
|
22510
22592
|
var init_gen_native_config = __esm({
|
|
22511
22593
|
"../native-config/gen-native-config.ts"() {
|
|
22512
22594
|
init_src2();
|
|
@@ -22524,6 +22606,10 @@ var init_gen_native_config = __esm({
|
|
|
22524
22606
|
LABEL_IOS_ENTITLEMENTS = "himalaya:capabilities:entitlements";
|
|
22525
22607
|
LABEL_ANDROID = "himalaya:capabilities";
|
|
22526
22608
|
LABEL_ANDROID_SERVICES = "himalaya:capabilities:services";
|
|
22609
|
+
LABEL_HEALTH_IOS_PACKAGE = "himalaya:health:package";
|
|
22610
|
+
LABEL_HEALTH_IOS_LINK = "himalaya:health:link";
|
|
22611
|
+
LABEL_HEALTH_ANDROID_INCLUDE = "himalaya:health:include";
|
|
22612
|
+
LABEL_HEALTH_ANDROID_LINK = "himalaya:health:dep";
|
|
22527
22613
|
LABEL_WATCH = "himalaya:watch";
|
|
22528
22614
|
LABEL_TV = "himalaya:tv";
|
|
22529
22615
|
LABEL_ANDROID_TV = "himalaya:androidtv";
|
|
@@ -22536,6 +22622,9 @@ var init_gen_native_config = __esm({
|
|
|
22536
22622
|
landscapeRight: "UIInterfaceOrientationLandscapeRight"
|
|
22537
22623
|
};
|
|
22538
22624
|
ALL_ORIENTATIONS = ["portrait", "portraitUpsideDown", "landscapeLeft", "landscapeRight"];
|
|
22625
|
+
HEALTH_PERMISSION_COPY_META = "io.himalaya.health.permissionCopy";
|
|
22626
|
+
IOS_HEALTH_PACKAGE = "../../../core/runtime/ios/HimalayaCoreHealth";
|
|
22627
|
+
ANDROID_HEALTH_DIR = "../../../core/runtime/android/io/himalaya/health";
|
|
22539
22628
|
IOS_BUILD_CAPABILITIES_KEY = "HimalayaBuildCapabilities";
|
|
22540
22629
|
IOS_DIST_CAPABILITIES_KEY = "HimalayaDistCapabilities";
|
|
22541
22630
|
ANDROID_BUILD_CAPABILITIES_META = "io.himalaya.buildCapabilities";
|
|
@@ -147378,25 +147467,25 @@ var init_preview_assets_generated = __esm({
|
|
|
147378
147467
|
"../../packages/serve/src/preview-assets.generated.ts"() {
|
|
147379
147468
|
init_preview_assets_format();
|
|
147380
147469
|
PREVIEW_ASSET_MANIFEST = [
|
|
147381
|
-
{ key: "assets/index-
|
|
147382
|
-
{ key: "assets/pdf-
|
|
147383
|
-
{ key: "assets/pdf.worker.min-BQa_JDET.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
147384
|
-
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset:
|
|
147385
|
-
{ key: "assets/pdfDocument-
|
|
147386
|
-
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset:
|
|
147387
|
-
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset:
|
|
147388
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
147389
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
147390
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
147391
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
147392
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
147393
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
147394
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
147395
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
147396
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
147397
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
147398
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
147399
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
147470
|
+
{ key: "assets/index-AzCpx1vJ.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 1232376, sha256: "82b084db6ccd1ec393442f96533150fbe85edf92f19c48befa442e351a44dc20" },
|
|
147471
|
+
{ key: "assets/pdf-BOJ6ClH9.js", contentType: "application/javascript; charset=utf-8", offset: 1232384, length: 488199, sha256: "98265583bfe3385b3faf761dff2c3c1ce9a0f3d7254f377bcd8f3038ce7bd684" },
|
|
147472
|
+
{ key: "assets/pdf.worker.min-BQa_JDET.js", contentType: "application/javascript; charset=utf-8", offset: 1720583, length: 73, sha256: "41bcfda4f3c8c0a81c785ea87c69afc8e7d0ed8c333324aee94c273d881bb6aa" },
|
|
147473
|
+
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 1720656, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
|
|
147474
|
+
{ key: "assets/pdfDocument-zauHbC8_.js", contentType: "application/javascript; charset=utf-8", offset: 3037690, length: 2858, sha256: "a4748357a10fcdfc6424d8a94f9bd97f76b4a9c314c8597c7a13e528399213af" },
|
|
147475
|
+
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3040548, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
|
|
147476
|
+
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3045158, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
|
|
147477
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 3533742, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
147478
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 3624666, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
147479
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 3715650, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
147480
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 3806630, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
147481
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 3897502, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
147482
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 3988482, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
147483
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4097118, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
147484
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4206202, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
147485
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4315250, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
147486
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4422950, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
147487
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 4511058, length: 4947, sha256: "da6aaa0b3bc8e59a2b780a0d0971be9354715661e51f8169873472afd30d509c" },
|
|
147488
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 4516005, length: 17344, sha256: "d057298d75e7373e5e2c4d11b7d1bcbea88e03af555ba63d97641c78509c58e4" }
|
|
147400
147489
|
];
|
|
147401
147490
|
}
|
|
147402
147491
|
});
|
|
Binary file
|
package/guides/capabilities.md
CHANGED
|
@@ -136,6 +136,8 @@ prompt.
|
|
|
136
136
|
naming shells that can carry it. On an extensible shell, an id with no core handler, or one that
|
|
137
137
|
needs wiring a build cannot do (`local_database` needs the app's data schema installed first,
|
|
138
138
|
`live_activity` a widget extension target, `base44` / `godot` an opt-in SDK, `wix_platform` boot
|
|
139
|
-
configuration), is refused with `unsupported_capability` and the reason.
|
|
140
|
-
|
|
141
|
-
the
|
|
139
|
+
configuration), is refused with `unsupported_capability` and the reason. `health` is addable:
|
|
140
|
+
the build links HealthKit and Health Connect, and `permissionCopy.health` is the iOS purpose
|
|
141
|
+
string and the Health Connect rationale. A shell that does not carry a capability's usage
|
|
142
|
+
string can crash the app at the permission prompt, which is why both the build and
|
|
143
|
+
`himi validate` check before you ship.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1283.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": [
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"artifactId": "himalaya-cli"
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
|
-
"falconPackageHash": "
|
|
73
|
+
"falconPackageHash": "f5e5c139ab2a48246d1689d3e7fa566eef30895e00e5c4fb597ea26c"
|
|
74
74
|
}
|