@wix/himalaya-cli 0.1740.0 → 0.1741.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/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/locale.d.ts +3 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +57 -3
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/l10n.mjs +51 -2
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{4235535ddd6e62ae867fd4d3588054909040428cffec9bea2807693a68e297d9.bin → d13ef703cc8f4d7eaa9b12967b618314b75002b5d4441dedbcc65e3601c4750d.bin} +1 -1
- package/dist/browser-plane/sw.js +6 -6
- package/dist/cli.mjs +338 -155
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/himi-json-output.md +1 -1
- package/guides/one-app-to-himi-app.md +11 -2
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/fr.json +4806 -0
- package/templates/beauty-salon/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/branded-lite/l10n/fr.json +9088 -0
- package/templates/branded-lite/l10n/he.json +4 -0
- package/templates/branded-lite/tier5-src/_shared/group-privacy.ts +14 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-group/index.ts +11 -4
- package/templates/branded-lite/tier5-src/himi-branded-lite-group-about/index.ts +2 -6
- package/templates/branded-lite/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/community-club/l10n/fr.json +3026 -0
- package/templates/community-club/l10n/he.json +12 -0
- package/templates/community-club/tier5-src/_shared/group-privacy.ts +14 -0
- package/templates/community-club/tier5-src/himi-branded-lite-group/index.ts +11 -4
- package/templates/community-club/tier5-src/himi-branded-lite-group-about/index.ts +2 -6
- package/templates/community-club/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/events-meetups/l10n/fr.json +2886 -0
- package/templates/events-meetups/l10n/he.json +12 -0
- package/templates/events-meetups/tier5-src/_shared/group-privacy.ts +14 -0
- package/templates/events-meetups/tier5-src/himi-branded-lite-group/index.ts +11 -4
- package/templates/events-meetups/tier5-src/himi-branded-lite-group-about/index.ts +2 -6
- package/templates/events-meetups/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/gym-fitness/l10n/fr.json +5412 -0
- package/templates/gym-fitness/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/nonprofit-cause/l10n/fr.json +3499 -0
- package/templates/nonprofit-cause/l10n/he.json +12 -0
- package/templates/nonprofit-cause/tier5-src/_shared/group-privacy.ts +14 -0
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-group/index.ts +11 -4
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-group-about/index.ts +2 -6
- package/templates/nonprofit-cause/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/podcast-creator/l10n/fr.json +3321 -0
- package/templates/podcast-creator/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/portfolio-creative/l10n/fr.json +3880 -0
- package/templates/portfolio-creative/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/restaurant/l10n/fr.json +3528 -0
- package/templates/restaurant/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/retail-store/l10n/fr.json +3279 -0
- package/templates/retail-store/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/yoga-studio/l10n/fr.json +4531 -0
- package/templates/yoga-studio/tier5-src/wix-spaces-app-language/index.ts +18 -3
|
Binary file
|
|
@@ -592,7 +592,7 @@ redirects, invalid data, source changes and disk errors remain failures.
|
|
|
592
592
|
- `invalid_usage`: unsupported, repeated or missing-value options (exit 2).
|
|
593
593
|
- `invalid_msid`: missing or malformed `--msid` (exit 2).
|
|
594
594
|
- `invalid_app_instance`: choose `branded` or `free` (exit 2).
|
|
595
|
-
- `invalid_locale`: `--locale` is not a supported source-view tag (
|
|
595
|
+
- `invalid_locale`: `--locale` is not a supported source-view tag (one of the One App's 27 in-app languages, listed by `himi one-app migrate --help`);
|
|
596
596
|
refused before source reads or workspace writes (exit 2).
|
|
597
597
|
- `invalid_target`: v1 supports `--target bo` only (exit 2).
|
|
598
598
|
- `invalid_top_tabs`: choose `bottom-tabs` or `keep` for `--top-tabs` (exit 2).
|
|
@@ -1365,7 +1365,14 @@ members, loyalty, shop, groups feed, services list) opens the template's screen,
|
|
|
1365
1365
|
(featured-only lists, another post layout, events or groups limited to a chosen set) or its recipe is missing from the
|
|
1366
1366
|
scaffold, it keeps its place as the source's title and a "See All" button that opens the page showing that data,
|
|
1367
1367
|
and the reason is listed in `gaps`, never approximated as the real list. Only a section with no mapping at all stays
|
|
1368
|
-
in `unmapped`. The first four visible pages become the bottom tabs and the rest the More screen. The
|
|
1368
|
+
in `unmapped`. The first four visible pages become the bottom tabs and the rest the More screen. The first tab's page is
|
|
1369
|
+
written AS the scaffold's own Home screen, `himi_branded_home` (when the scaffold has one), not as a screen beside it: the
|
|
1370
|
+
Android app opens that id when the app serves no `homeScreenId`, and the drawer's Home row, the "Not available → Home" button and
|
|
1371
|
+
every screen whose `parentScreenId` is the Home open it too, so all of them show the migrated page and none shows the template's
|
|
1372
|
+
sample content. `--upsert` replaces the template Home's descriptor and moves the template Home's worker (`tier5-src/himi-branded-lite-home`)
|
|
1373
|
+
into `.himi/upsert-backup/<time>/` when nothing else uses it, and reports it as `removedWorkers` with the `workersBackup` path
|
|
1374
|
+
(it is put back if the write fails, and a symlinked `tier5-src` or `.himi` is refused). A first page that is only a template vertical, or that produced no
|
|
1375
|
+
screen, cannot be the Home: `generate` and `apply-navigation` say so under `gaps`, and the app keeps the template's Home. The output names the
|
|
1369
1376
|
published `revision` and `fetchedAt` of the evidence it read, so a migration generated from older evidence shows the
|
|
1370
1377
|
old value: run `himi one-app migrate` again to refresh it before the final check. The file it writes is the
|
|
1371
1378
|
`--upsert` input below.
|
|
@@ -1423,7 +1430,9 @@ screens first, and keep any template screen a tab opens when you trim. A source
|
|
|
1423
1430
|
under `gaps` and gets a neutral icon; choose a better one in `config.ts`. The drawer is not touched.
|
|
1424
1431
|
|
|
1425
1432
|
Check `homeScreenId` and any `himi.open` target that still names a template screen (`"home"`, `"profile"`):
|
|
1426
|
-
it must be a screen your `SCREENS` map defines, and the first tab's screen is the one the app should open on.
|
|
1433
|
+
it must be a screen your `SCREENS` map defines, and the first tab's screen is the one the app should open on. With the
|
|
1434
|
+
branded-lite scaffold the first tab opens `himi_branded_home`, which `generate` made the migrated first page; if
|
|
1435
|
+
`apply-navigation` reports that the first tab opens another screen, the Android app still opens the template's sample Home.
|
|
1427
1436
|
|
|
1428
1437
|
### Preserve the template features the source exposes
|
|
1429
1438
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1741.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": "5c3eeed4fe712a76caf613d503b952fcb82626a2f49417f7861b8f1d"
|
|
86
86
|
}
|