@wix/himalaya-cli 0.1453.0 → 0.1454.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 +787 -553
- package/guides/himi-json-output.md +16 -0
- package/guides/one-app-to-himi-app.md +7 -0
- package/package.json +2 -2
|
@@ -219,6 +219,22 @@ redirects, invalid data, source changes and disk errors remain failures.
|
|
|
219
219
|
and the original failure is preserved if writing the failure manifest also fails
|
|
220
220
|
(exit 1).
|
|
221
221
|
|
|
222
|
+
## `himi one-app validate-topbar` codes
|
|
223
|
+
|
|
224
|
+
Failures print `ok: false` and a top-level `code` on stderr. The validator reads
|
|
225
|
+
authored header choices from `settings.topBarSettings`, falls back to the legacy
|
|
226
|
+
`settings.showCartIconInTopBar` / `showChatIconInTopBar` values, and treats a
|
|
227
|
+
choice that is absent from both locations as false.
|
|
228
|
+
|
|
229
|
+
- `invalid_usage`: required options are missing, duplicated, or malformed (exit 2).
|
|
230
|
+
- `evidence_invalid`: the evidence manifest or `raw-structure.json` is missing,
|
|
231
|
+
invalid, for another workflow, lacks a valid recorded raw-structure hash, or the
|
|
232
|
+
file does not match that hash (exit 1).
|
|
233
|
+
- `config_uninspectable`: the target `config.ts` cannot be read or the relevant
|
|
234
|
+
`navigation.topBarDefault.actions` cannot be inspected (exit 1).
|
|
235
|
+
- `topbar_coverage_failed`: an authored cart/chat control has no matching action
|
|
236
|
+
with a non-empty `onTap.actionId` (exit 1).
|
|
237
|
+
|
|
222
238
|
## `himi base44 entities` codes
|
|
223
239
|
|
|
224
240
|
Covers `himi base44 adopt` and `himi base44 entities query` (#4557,
|
|
@@ -121,6 +121,13 @@ Apply these interpretation rules:
|
|
|
121
121
|
end-user access policy. Never expose protected content beneath a visual gate.
|
|
122
122
|
- Exclude `ntt.*` definitions and placements from coverage. Preserve configured
|
|
123
123
|
header/top-bar intent; do not add unconfigured drawer or header surfaces.
|
|
124
|
+
- Before publishing, run the migration-only authored-control check:
|
|
125
|
+
`himi one-app validate-topbar --evidence-dir .himi/one-app --content .`.
|
|
126
|
+
It reads each screen's `raw-structure.json` header settings and checks that
|
|
127
|
+
`navigation.topBarDefault.actions` has a matching tappable action for every
|
|
128
|
+
authored cart/chat control. It does not use the iOS/Android enriched views to
|
|
129
|
+
infer visibility, access, or membership rules. This check is specific to this
|
|
130
|
+
migration workflow; it does not change the behavior of `himi validate`.
|
|
124
131
|
- For each configured Detailed header, import and call the shared
|
|
125
132
|
`detailedHeader` builder from `@wix/himalaya/screens`. Do not recreate its
|
|
126
133
|
component tree in the app. Resolve the source fallback and visibility rules
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1454.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": "eefcf19354e83f21581f78ca930495b7ae70059df5480ba579c463cb"
|
|
75
75
|
}
|