@wix/himalaya-cli 0.1739.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.
Files changed (51) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/l10n-strings.d.ts +13 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/locale.d.ts +3 -1
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +57 -3
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/l10n.mjs +51 -2
  5. package/dist/browser-plane/assets.json +5 -5
  6. package/dist/browser-plane/preview-deferred/{4235535ddd6e62ae867fd4d3588054909040428cffec9bea2807693a68e297d9.bin → d13ef703cc8f4d7eaa9b12967b618314b75002b5d4441dedbcc65e3601c4750d.bin} +1 -1
  7. package/dist/browser-plane/sw.js +6 -6
  8. package/dist/cli.mjs +644 -285
  9. package/dist/preview-assets.generated.bin +0 -0
  10. package/guides/himi-json-output.md +1 -1
  11. package/guides/one-app-to-himi-app.md +11 -2
  12. package/guides/release-notes.md +12 -0
  13. package/package.json +2 -2
  14. package/templates/beauty-salon/l10n/fr.json +4806 -0
  15. package/templates/beauty-salon/tier5-src/wix-spaces-app-language/index.ts +18 -3
  16. package/templates/branded-lite/l10n/fr.json +9088 -0
  17. package/templates/branded-lite/l10n/he.json +4 -0
  18. package/templates/branded-lite/tier5-src/_shared/group-privacy.ts +14 -0
  19. package/templates/branded-lite/tier5-src/himi-branded-lite-group/index.ts +11 -4
  20. package/templates/branded-lite/tier5-src/himi-branded-lite-group-about/index.ts +2 -6
  21. package/templates/branded-lite/tier5-src/wix-spaces-app-language/index.ts +18 -3
  22. package/templates/community-club/l10n/fr.json +3026 -0
  23. package/templates/community-club/l10n/he.json +12 -0
  24. package/templates/community-club/tier5-src/_shared/group-privacy.ts +14 -0
  25. package/templates/community-club/tier5-src/himi-branded-lite-group/index.ts +11 -4
  26. package/templates/community-club/tier5-src/himi-branded-lite-group-about/index.ts +2 -6
  27. package/templates/community-club/tier5-src/wix-spaces-app-language/index.ts +18 -3
  28. package/templates/events-meetups/l10n/fr.json +2886 -0
  29. package/templates/events-meetups/l10n/he.json +12 -0
  30. package/templates/events-meetups/tier5-src/_shared/group-privacy.ts +14 -0
  31. package/templates/events-meetups/tier5-src/himi-branded-lite-group/index.ts +11 -4
  32. package/templates/events-meetups/tier5-src/himi-branded-lite-group-about/index.ts +2 -6
  33. package/templates/events-meetups/tier5-src/wix-spaces-app-language/index.ts +18 -3
  34. package/templates/gym-fitness/l10n/fr.json +5412 -0
  35. package/templates/gym-fitness/tier5-src/wix-spaces-app-language/index.ts +18 -3
  36. package/templates/nonprofit-cause/l10n/fr.json +3499 -0
  37. package/templates/nonprofit-cause/l10n/he.json +12 -0
  38. package/templates/nonprofit-cause/tier5-src/_shared/group-privacy.ts +14 -0
  39. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-group/index.ts +11 -4
  40. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-group-about/index.ts +2 -6
  41. package/templates/nonprofit-cause/tier5-src/wix-spaces-app-language/index.ts +18 -3
  42. package/templates/podcast-creator/l10n/fr.json +3321 -0
  43. package/templates/podcast-creator/tier5-src/wix-spaces-app-language/index.ts +18 -3
  44. package/templates/portfolio-creative/l10n/fr.json +3880 -0
  45. package/templates/portfolio-creative/tier5-src/wix-spaces-app-language/index.ts +18 -3
  46. package/templates/restaurant/l10n/fr.json +3528 -0
  47. package/templates/restaurant/tier5-src/wix-spaces-app-language/index.ts +18 -3
  48. package/templates/retail-store/l10n/fr.json +3279 -0
  49. package/templates/retail-store/tier5-src/wix-spaces-app-language/index.ts +18 -3
  50. package/templates/yoga-studio/l10n/fr.json +4531 -0
  51. 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 (`en`, `he`, `es`);
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 output names 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
 
@@ -44,6 +44,18 @@ areas, always in the same order, so you can skim for the one you care about.
44
44
  found on iOS and macOS only; money amounts and tracking, IBAN, card and ISBN numbers on Android only.
45
45
  (#5899)
46
46
 
47
+ ### Validate & test
48
+
49
+ - **`himi validate` fails a top-bar control that shows its id or does nothing.** A top-bar item that
50
+ put its button in `content` (only a `placement: "principal"` item draws it) painted its id, such as
51
+ `tasks.add_btn`, as the label, and a tap did nothing. `--strict` passed it. Now an item or legacy
52
+ action with no `label` or `icon`, no `onTap` (or `menu`), or `content` outside the title slot is an
53
+ error. A `Button` that no action reaches warns, and is an error under `--strict`. (#5939)
54
+ - **A `$t:` key your catalog lacks is an error.** `himi validate` checks each `$t:` key against
55
+ `l10n/<default locale>.json`, because a missing key shows the raw key on screen. Copy that looks like a key
56
+ (`cart.add_to_cart`) warns, and is an error under `--strict`. `himi test` also reports a screen that shows one of
57
+ your catalog keys as text, such as a worker that returned the key instead of the copy. (#5939)
58
+
47
59
  ## 2026-11-14
48
60
 
49
61
  ### Logic, data & SDKs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1739.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": "bb30d0f036568b2a2927d255bf646a87107fde47a6fc77f3a4e60063"
85
+ "falconPackageHash": "5c3eeed4fe712a76caf613d503b952fcb82626a2f49417f7861b8f1d"
86
86
  }