@wix/himalaya-cli 0.1841.0 → 0.1842.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 +1743 -1519
- package/guides/one-app-to-himi-app.md +17 -3
- package/package.json +2 -2
|
@@ -476,8 +476,8 @@ Apply these interpretation rules:
|
|
|
476
476
|
- Keep navigation visibility, reachability and data access separate. Reevaluate
|
|
477
477
|
membership/plan/badge gates at runtime; an operator's successful read is not an
|
|
478
478
|
end-user access policy. Never expose protected content beneath a visual gate.
|
|
479
|
-
|
|
480
|
-
it is a presentation rule, and the data stays protected by its own Wix API.
|
|
479
|
+
`himi one-app generate` carries a locked page's rule itself (see "Locked pages" below), and `himi one-app access` carries
|
|
480
|
+
it for an app that did not go through `generate`: it is a presentation rule, and the data stays protected by its own Wix API.
|
|
481
481
|
- Exclude `ntt.*` definitions and placements from coverage. Preserve configured
|
|
482
482
|
header/top-bar intent; do not add unconfigured drawer or header surfaces.
|
|
483
483
|
- Before publishing, run the migration-only top-bar coverage check:
|
|
@@ -1645,7 +1645,21 @@ plan, and choose whether a viewer who may not enter sees a lock screen with the
|
|
|
1645
1645
|
tab at all. Those rules are in the AUTHORED structure (`raw-structure.json`, `layoutItems[].permissions`). The
|
|
1646
1646
|
structure a Visitor reads is already evaluated for that Visitor: every rule becomes "members only" and the badge and
|
|
1647
1647
|
plan ids are gone, so never read the rules from an enriched view. `himi one-app coverage` lists each rule as an
|
|
1648
|
-
`access` row; the rows stay `unresolved` until
|
|
1648
|
+
`access` row; the rows stay `unresolved` until a device check records them.
|
|
1649
|
+
|
|
1650
|
+
**In a migration, the pages are locked for you.** `himi one-app generate` knows which Himi screen each source page became (its
|
|
1651
|
+
`routes`), so for a new app it carries every locked page itself: it writes the gate table and puts the screens it generates
|
|
1652
|
+
behind their lock, and `himi one-app provision` finishes the starter screens a page opens and `config.ts`. Its output lists the
|
|
1653
|
+
result under `accessGates` (`carried`, `none`, or `skipped` with the reason, and any `unmapped` page). A locked page the
|
|
1654
|
+
generator omits (a retired Wix Forum page) has no screen and no gate: it stays under `unmapped`, and the `--check` mode described
|
|
1655
|
+
below keeps reporting it as having no screen. That is expected, and there is nothing to fix. If `provision` fails with
|
|
1656
|
+
`page_locks_manual`, the app could not take the gates (a custom nav worker, say): fix what its reason names, or merge the gates
|
|
1657
|
+
by hand, then run `himi one-app access` as below.
|
|
1658
|
+
|
|
1659
|
+
`himi one-app access` is still how an app that did not go through `generate` (an existing app, or `accessGates.status:
|
|
1660
|
+
"skipped"`) carries its locks, and it is still the only command that writes the app-wide login requirement (below): run it once
|
|
1661
|
+
for that, with every locked page's screen (each route's `layoutItemId` and `screenId` from generate's output, as `--screens-file`). It changes nothing for a page
|
|
1662
|
+
`generate` already locked:
|
|
1649
1663
|
|
|
1650
1664
|
```bash
|
|
1651
1665
|
himi one-app access --evidence-dir .himi/one-app --content . --new-app \
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1842.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": "
|
|
85
|
+
"falconPackageHash": "e158f89edd8f102bb50001ac406ba3c2b38f20a5f2be36f25c5903e5"
|
|
86
86
|
}
|