@wix/himalaya-cli 0.1013.0 → 0.1015.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/cli.mjs +977 -486
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/headless-loop.md +5 -1
- package/package.json +2 -2
|
Binary file
|
package/guides/headless-loop.md
CHANGED
|
@@ -79,6 +79,7 @@ loop already makes the pictures — send them, and journal each one:
|
|
|
79
79
|
```sh
|
|
80
80
|
himi render home --png shots/home.png --device iphone # the first picture, right after init
|
|
81
81
|
himi studio # the build board: opens once, keeps itself current
|
|
82
|
+
himi run --watch & # live preview: repaints the open tab on every save
|
|
82
83
|
himi progress "Starting from branded-lite" --step implement --image shots/home.png
|
|
83
84
|
himi render home --png shots/home-dark.png --device iphone --scheme dark
|
|
84
85
|
himi progress "Your brand, light and dark" --step brand --image shots/home.png --image shots/home-dark.png
|
|
@@ -87,7 +88,10 @@ himi progress # the j
|
|
|
87
88
|
|
|
88
89
|
`himi studio` writes `.himi/studio/index.html` and opens it; from then on every render, test,
|
|
89
90
|
validate, push and progress entry refreshes it, and the page picks that up by itself — no server,
|
|
90
|
-
nothing to re-run (`--no-open` prints its path instead, for SSH). `himi
|
|
91
|
+
nothing to re-run (`--no-open` prints its path instead, for SSH). `himi run --watch` rebuilds on every
|
|
92
|
+
save and sends the open tab only what changed; a save that does not build keeps the last good preview
|
|
93
|
+
on screen and prints `build_failed` with the reason. It stays up until you stop it, so start it in the
|
|
94
|
+
background, and only after the template's startup requests are preflighted (step 4 of the entry skill). `himi test` writes one PNG per
|
|
91
95
|
screen to `.himi/shots/` on every run, so take the new screens from there instead of rendering each
|
|
92
96
|
one again; a bare `--png` on `himi render` writes `.himi/shots/<id>.png`. `himi progress` copies each image into `.himi/history/`
|
|
93
97
|
as it was when you journaled it, so a later render cannot change what the record says the owner saw;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1015.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": "
|
|
68
|
+
"falconPackageHash": "c0e1f385355adc10424cf549036886d4cc8df1be98748efb2eb9a181"
|
|
69
69
|
}
|