@wix/himalaya-cli 0.1529.0 → 0.1531.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/stdlib/wix-sdk/bookings-v2/src/index.d.ts +24 -0
- package/dist/cli.mjs +717 -481
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/release-notes.md +17 -0
- package/guides/templates.md +11 -1
- package/guides/tier-5-add-a-screen.md +4 -0
- package/package.json +2 -2
- package/templates/beauty-salon/dev/index.ts +3013 -3074
- package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/beauty-salon/tier5-src/_shared/member-bookings.ts +50 -7
- package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +385 -74
- package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +240 -74
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/branded-lite/dev/index.ts +3121 -3195
- package/templates/branded-lite/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/branded-lite/tier5-src/_shared/member-bookings.ts +50 -7
- package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +385 -74
- package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +240 -74
- package/templates/community-club/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/community-club/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/community-club/tier5-src/_shared/member-bookings.ts +50 -7
- package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/events-meetups/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/events-meetups/tier5-src/_shared/member-bookings.ts +50 -7
- package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/gym-fitness/dev/index.ts +3023 -3097
- package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/gym-fitness/tier5-src/_shared/member-bookings.ts +50 -7
- package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +385 -74
- package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +240 -74
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/nonprofit-cause/tier5-src/_shared/member-bookings.ts +50 -7
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/owner-lite/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/podcast-creator/tier5-src/_shared/member-bookings.ts +50 -7
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/portfolio-creative/tier5-src/_shared/member-bookings.ts +50 -7
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/restaurant/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/restaurant/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/restaurant/tier5-src/_shared/member-bookings.ts +50 -7
- package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/retail-store/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/retail-store/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/retail-store/tier5-src/_shared/member-bookings.ts +50 -7
- package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/yoga-studio/dev/index.ts +3018 -3092
- package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +18 -0
- package/templates/yoga-studio/tier5-src/_shared/member-bookings.ts +50 -7
- package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +385 -74
- package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +240 -74
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +23 -5
- package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +18 -0
|
Binary file
|
package/guides/release-notes.md
CHANGED
|
@@ -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
|
package/guides/templates.md
CHANGED
|
@@ -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
|
|
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.
|
|
3
|
+
"version": "0.1531.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": "
|
|
74
|
+
"falconPackageHash": "a3bebe4004fe235fcc654ab9403873d35ff2d504cf4882b3726139c8"
|
|
75
75
|
}
|