@wix/himalaya-cli 0.1529.0 → 0.1530.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 (70) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/index.d.ts +24 -0
  2. package/dist/cli.mjs +717 -484
  3. package/dist/preview-assets.generated.bin +0 -0
  4. package/guides/release-notes.md +17 -0
  5. package/guides/templates.md +11 -1
  6. package/guides/tier-5-add-a-screen.md +4 -0
  7. package/package.json +2 -2
  8. package/templates/beauty-salon/dev/index.ts +1767 -2698
  9. package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +23 -5
  10. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +18 -0
  11. package/templates/beauty-salon/tier5-src/_shared/member-bookings.ts +50 -7
  12. package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +385 -74
  13. package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +23 -5
  14. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +18 -0
  15. package/templates/branded-lite/dev/index.ts +1753 -2697
  16. package/templates/branded-lite/tier5-src/_shared/collection-service.ts +23 -5
  17. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +18 -0
  18. package/templates/branded-lite/tier5-src/_shared/member-bookings.ts +50 -7
  19. package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +385 -74
  20. package/templates/community-club/tier5-src/_shared/collection-service.ts +23 -5
  21. package/templates/community-club/tier5-src/_shared/engine-intl.ts +18 -0
  22. package/templates/community-club/tier5-src/_shared/member-bookings.ts +50 -7
  23. package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +23 -5
  24. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +18 -0
  25. package/templates/events-meetups/tier5-src/_shared/collection-service.ts +23 -5
  26. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +18 -0
  27. package/templates/events-meetups/tier5-src/_shared/member-bookings.ts +50 -7
  28. package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +23 -5
  29. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +18 -0
  30. package/templates/gym-fitness/dev/index.ts +1753 -2697
  31. package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +23 -5
  32. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +18 -0
  33. package/templates/gym-fitness/tier5-src/_shared/member-bookings.ts +50 -7
  34. package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +385 -74
  35. package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +23 -5
  36. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +18 -0
  37. package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +23 -5
  38. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +18 -0
  39. package/templates/nonprofit-cause/tier5-src/_shared/member-bookings.ts +50 -7
  40. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +23 -5
  41. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +18 -0
  42. package/templates/owner-lite/tier5-src/_shared/collection-service.ts +23 -5
  43. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +18 -0
  44. package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +23 -5
  45. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +18 -0
  46. package/templates/podcast-creator/tier5-src/_shared/member-bookings.ts +50 -7
  47. package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +23 -5
  48. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +18 -0
  49. package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +23 -5
  50. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +18 -0
  51. package/templates/portfolio-creative/tier5-src/_shared/member-bookings.ts +50 -7
  52. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +23 -5
  53. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +18 -0
  54. package/templates/restaurant/tier5-src/_shared/collection-service.ts +23 -5
  55. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +18 -0
  56. package/templates/restaurant/tier5-src/_shared/member-bookings.ts +50 -7
  57. package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +23 -5
  58. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +18 -0
  59. package/templates/retail-store/tier5-src/_shared/collection-service.ts +23 -5
  60. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +18 -0
  61. package/templates/retail-store/tier5-src/_shared/member-bookings.ts +50 -7
  62. package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +23 -5
  63. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +18 -0
  64. package/templates/yoga-studio/dev/index.ts +1755 -2699
  65. package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +23 -5
  66. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +18 -0
  67. package/templates/yoga-studio/tier5-src/_shared/member-bookings.ts +50 -7
  68. package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +385 -74
  69. package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +23 -5
  70. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +18 -0
Binary file
@@ -14,6 +14,23 @@ areas, always in the same order, so you can skim for the one you care about.
14
14
 
15
15
  ---
16
16
 
17
+ ## 2026-11-01
18
+
19
+ ### Getting started & the CLI
20
+
21
+ - `himi template screens`, `himi template inspect` and `himi template sweep` now work on a
22
+ template whose `dev/index.ts` is written by hand, not only on the generated `SCREENS` layout.
23
+ Before, all three refused every showcase and starter template (`banking-wallet`, `tip-calc`,
24
+ `weather`, …). `screens` and `inspect` read such a file by loading it the way `himi validate`
25
+ does, and their output says `"layout": "evaluated"`. `screens --show/--write/--add` and
26
+ `himi template trim` still need the generated layout. (#4985)
27
+ - `himi template publish` now turns an app's own URL scheme (`himalaya-<app>`, in
28
+ `navigation.scheme` and in an auth `redirectUri`) into the scaffold's, so `himi init <name>
29
+ --template <t>` answers `himalaya-<name>` for a template published from a regular app too, as
30
+ it already did for the generated templates. The showcase and starter templates gave every
31
+ scaffold their own `himalaya-<t>` before. Apps scaffolded earlier keep the old value in
32
+ `config.ts` `navigation.scheme`. (#4985)
33
+
17
34
  ## 2026-10-22
18
35
 
19
36
  ### Getting started & the CLI
@@ -112,7 +112,7 @@ on the safe side ("may request"). The commands behind it:
112
112
  ```sh
113
113
  himi template recommend --text "a salon where clients book and buy products" # rank the catalog (or --verticals / --book)
114
114
  himi template inspect # recompute the inventory after edits (--dry-run writes nothing)
115
- himi template screens # list dev/index.ts screens without reading the file
115
+ himi template screens # list the screens and their workers (a hand-written dev/index.ts is evaluated)
116
116
  himi template screens --show himi_saved > saved.txt # ONE screen's entry
117
117
  himi template screens --write himi_saved --from saved.txt # put it back — re-parsed, refused if it breaks the file
118
118
  himi template screens --add himi_sellers --from sellers.txt --parent himi_branded_home # a NEW screen, registered as linkable
@@ -127,6 +127,16 @@ descriptor it is an Icon id). A one-word literal elsewhere — a service name, a
127
127
  action id, a URL — is wiring, and is never rewritten. Every changed file is syntax-checked before
128
128
  anything is written.
129
129
 
130
+ **Hand-written templates.** `inspect`, `screens` (the list) and `sweep` work on every template. A
131
+ generated template's `dev/index.ts` is one `SCREENS` map, read without running anything. A
132
+ hand-written one — the showcase apps, the starters, most apps published as templates — has no such
133
+ map, so `inspect` and `screens` load `dev/index.ts` the way `himi validate` does, which runs its
134
+ code, and build each screen to read its workers; the output says `"layout": "evaluated"`. `himi init`
135
+ never does that, because a `--remote` template is its publisher's code: its adopt block is skipped
136
+ for these, and `himi template inspect` is the next step. `screens --show/--write/--add` and `trim`
137
+ rewrite the map's source text, so they still need the generated layout; edit a hand-written
138
+ `dev/index.ts` directly.
139
+
130
140
  **Point a `branded-lite` (or vertical overlay) scaffold at your site.** Set
131
141
  `WIX_CLIENT_ID` (Headless OAuth client on that site) and `WIX_SITE_URL` before build /
132
142
  preview — the `clientId` **is** the site binding (no separate MSID field). Placeholders
@@ -779,6 +779,10 @@ target is another tab's root screen does not select that tab — it pushes the s
779
779
  - An id the app is not showing right now — unknown, hidden by the nav worker, or any id when
780
780
  the app has no tab bar or sidebar rail (`single` / `drawer` navigation) — is ignored and
781
781
  logged as `nav_verb_dropped`. The user stays where they are.
782
+ - A push identical to the one the router applied less than 500 ms before (same screen, same
783
+ params) is one push, logged as `nav_push_coalesced`: a worker that answers late answers every
784
+ tap it was given, and three taps on a busy main thread would otherwise land three screens
785
+ deep. Any other verb in between starts over, so push, back and the same push again all apply.
782
786
  - Asking for the tab the user is already on does nothing. It does **not** pop that tab to its
783
787
  root the way a second tap on the tab bar does — unless you ask for it with `reset: true`.
784
788
  - `reset: true` pops the selected tab to its root, even when it is the current tab. This is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1529.0",
3
+ "version": "0.1530.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": "28b98bdc9fc68f9be64914a2b88e5593f330b1f1f8e51dc6b49bba20"
74
+ "falconPackageHash": "f0490b6c81aec1fb5f5ecf75b8397ad986b6ccfe13b57fc83e2441ec"
75
75
  }