@wix/himalaya-cli 0.1032.0 → 0.1033.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.
@@ -111,8 +111,12 @@ authenticated owner preview. The interactive `himi preview` URLs exist for a **d
111
111
  web host and call it owner-private, and do not let a template worker boot there until its startup
112
112
  network paths are authorized and preflighted.
113
113
 
114
- **Adopt, don't just rename, a template.** `himi init --template` seeds `SPEC.md` and
115
- `MOBILE-UX.md`; replace their boilerplate with the actual customer, data/auth assumptions,
114
+ **Adopt, don't just rename, a template.** The approved `SPEC.md` and `MOBILE-UX.md` are the
115
+ plan, and the plan wins over anything `himi init` seeds. `init` seeds placeholder copies of
116
+ both and can overwrite plan files already in the package root, so keep a copy of the approved
117
+ plan until `init` has run. After `init`, open both files:
118
+ if either holds `init`'s boilerplate rather than the approved plan, put the approved plan back in
119
+ its place — never the reverse — and finish it with the actual customer, data/auth assumptions,
116
120
  placeholder copy, flow/state matrix, and compact/phone/expanded + device evidence before calling
117
121
  the app ready. Keep scenario switches out of customer UI. A labelled preview fallback is acceptable
118
122
  only when the host cannot perform the task and it cannot write customer data.
@@ -208,9 +208,17 @@ images stay as `static.wixstatic.com` URLs in descriptors — do not vendor
208
208
  himi validate
209
209
  himi render <home-screen> --live --png # live visitor data; no VPN
210
210
  himi test --content . --json # wrong-reducer class; no test files
211
- himi push && himi promote # VPN + `himi login --dpx --target bo`
211
+ himi login --browser --target wix # your own Wix account; no VPN
212
+ himi push # a DRAFT by default; prints the exact promote command
213
+ himi promote --app <app> --release <id> --target wix # the one push printed; name the target
212
214
  ```
213
215
 
216
+ Self-serve is the default: `himi login --browser --target wix` signs in with the customer's own
217
+ Wix account and stores a scoped token, so `push` / `promote` need no VPN and no pasted secret
218
+ (`--wix` reuses the machine's Wix CLI credential, for a container with no browser). Wix
219
+ employees can sign in with `himi login --dpx` instead and then use `--target bo`, the in-house
220
+ alternative that does need the corporate network.
221
+
214
222
  Published `@wix/himalaya-cli@0.207.0` has `validate`/`render` but **no** `himi test`
215
223
  (or `himi site`). Use a newer CLI, or the in-repo CLI from a Himalaya checkout
216
224
  (`node --import tsx tools/himi-cli/src/cli.ts`, cwd = the checkout so `tsx` resolves).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1032.0",
3
+ "version": "0.1033.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": [
@@ -65,5 +65,5 @@
65
65
  "artifactId": "himalaya-cli"
66
66
  }
67
67
  },
68
- "falconPackageHash": "5af127baf2b3845fd3e463154eecf88bb68a58849427ab3778d5627a"
68
+ "falconPackageHash": "7837bf39e796e96ea058ad8a53b90966687ce65908583051a94208a3"
69
69
  }