@wix/himalaya-cli 0.1651.0 → 0.1653.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.
Files changed (132) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/l10n.d.ts +3 -0
  2. package/dist/browser-plane/assets.json +5 -5
  3. package/dist/browser-plane/preview-deferred/{6ba3f2eb2ac29f4f9eeebd1294a8003820cd260274c5400149d76833b3171555.bin → 3912fa5f6ddb60106c630fb5e48edbf12ebfd57c616d8b7aee0d32088cd3bbdf.bin} +1 -1
  4. package/dist/browser-plane/sw.js +7 -7
  5. package/dist/cli.mjs +1911 -1684
  6. package/dist/preview-assets.generated.bin +0 -0
  7. package/guides/one-app-to-himi-app.md +13 -4
  8. package/package.json +2 -2
  9. package/templates/beauty-salon/dev/index.ts +263 -204
  10. package/templates/beauty-salon/l10n/en.json +2653 -0
  11. package/templates/beauty-salon/l10n/es.json +33 -0
  12. package/templates/beauty-salon/l10n/he.json +3756 -0
  13. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +18 -10
  14. package/templates/beauty-salon/tier5-src/_shared/himi-account.ts +5 -4
  15. package/templates/beauty-salon/tier5-src/_shared/himi-bookings.ts +1 -1
  16. package/templates/beauty-salon/tier5-src/_shared/himi-copy.ts +30 -3
  17. package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +2 -4
  18. package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +2 -2
  19. package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +1 -1
  20. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +18 -10
  21. package/templates/beauty-salon-owner/tier5-src/_shared/himi-copy.ts +30 -3
  22. package/templates/branded-lite/dev/index.ts +263 -204
  23. package/templates/branded-lite/l10n/en.json +5024 -478
  24. package/templates/branded-lite/l10n/es.json +33 -0
  25. package/templates/branded-lite/l10n/he.json +6652 -0
  26. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +18 -10
  27. package/templates/branded-lite/tier5-src/_shared/himi-account.ts +5 -4
  28. package/templates/branded-lite/tier5-src/_shared/himi-bookings.ts +1 -1
  29. package/templates/branded-lite/tier5-src/_shared/himi-copy.ts +30 -3
  30. package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +2 -4
  31. package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +2 -2
  32. package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +1 -1
  33. package/templates/brandy/tier5-src/_shared/himi-copy.ts +30 -3
  34. package/templates/community-club/l10n/en.json +1788 -0
  35. package/templates/community-club/l10n/es.json +10 -0
  36. package/templates/community-club/l10n/he.json +2397 -0
  37. package/templates/community-club/tier5-src/_shared/engine-intl.ts +18 -10
  38. package/templates/community-club/tier5-src/_shared/himi-account.ts +5 -4
  39. package/templates/community-club/tier5-src/_shared/himi-copy.ts +30 -3
  40. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +18 -10
  41. package/templates/community-club-owner/tier5-src/_shared/himi-copy.ts +30 -3
  42. package/templates/conference/tier5-src/_shared/engine-intl.ts +18 -10
  43. package/templates/conference/tier5-src/_shared/himi-account.ts +5 -4
  44. package/templates/conference/tier5-src/_shared/himi-copy.ts +30 -3
  45. package/templates/events-meetups/l10n/en.json +1739 -0
  46. package/templates/events-meetups/l10n/es.json +10 -0
  47. package/templates/events-meetups/l10n/he.json +2326 -0
  48. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +18 -10
  49. package/templates/events-meetups/tier5-src/_shared/himi-account.ts +5 -4
  50. package/templates/events-meetups/tier5-src/_shared/himi-copy.ts +30 -3
  51. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +18 -10
  52. package/templates/events-meetups-owner/tier5-src/_shared/himi-copy.ts +30 -3
  53. package/templates/gym-fitness/dev/index.ts +263 -204
  54. package/templates/gym-fitness/l10n/en.json +2964 -0
  55. package/templates/gym-fitness/l10n/es.json +33 -0
  56. package/templates/gym-fitness/l10n/he.json +4170 -0
  57. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +18 -10
  58. package/templates/gym-fitness/tier5-src/_shared/himi-account.ts +5 -4
  59. package/templates/gym-fitness/tier5-src/_shared/himi-bookings.ts +1 -1
  60. package/templates/gym-fitness/tier5-src/_shared/himi-copy.ts +30 -3
  61. package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +2 -4
  62. package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +2 -2
  63. package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +1 -1
  64. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +18 -10
  65. package/templates/gym-fitness-owner/tier5-src/_shared/himi-copy.ts +30 -3
  66. package/templates/himi-chat/tier5-src/_shared/himi-copy.ts +30 -3
  67. package/templates/nonprofit-cause/l10n/en.json +1926 -0
  68. package/templates/nonprofit-cause/l10n/es.json +10 -0
  69. package/templates/nonprofit-cause/l10n/he.json +2577 -0
  70. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +18 -10
  71. package/templates/nonprofit-cause/tier5-src/_shared/himi-account.ts +5 -4
  72. package/templates/nonprofit-cause/tier5-src/_shared/himi-copy.ts +30 -3
  73. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +18 -10
  74. package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-copy.ts +30 -3
  75. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +18 -10
  76. package/templates/owner-lite/tier5-src/_shared/himi-copy.ts +30 -3
  77. package/templates/podcast-creator/l10n/en.json +1840 -0
  78. package/templates/podcast-creator/l10n/es.json +10 -0
  79. package/templates/podcast-creator/l10n/he.json +2444 -0
  80. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +18 -10
  81. package/templates/podcast-creator/tier5-src/_shared/himi-account.ts +5 -4
  82. package/templates/podcast-creator/tier5-src/_shared/himi-copy.ts +30 -3
  83. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +18 -10
  84. package/templates/podcast-creator-owner/tier5-src/_shared/himi-copy.ts +30 -3
  85. package/templates/portfolio-creative/dev/index.ts +263 -204
  86. package/templates/portfolio-creative/l10n/en.json +2426 -0
  87. package/templates/portfolio-creative/l10n/es.json +33 -0
  88. package/templates/portfolio-creative/l10n/he.json +3149 -0
  89. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +18 -10
  90. package/templates/portfolio-creative/tier5-src/_shared/himi-account.ts +5 -4
  91. package/templates/portfolio-creative/tier5-src/_shared/himi-copy.ts +30 -3
  92. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +18 -10
  93. package/templates/portfolio-creative-owner/tier5-src/_shared/himi-copy.ts +30 -3
  94. package/templates/restaurant/l10n/en.json +2204 -0
  95. package/templates/restaurant/l10n/es.json +10 -0
  96. package/templates/restaurant/l10n/he.json +2862 -0
  97. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +18 -10
  98. package/templates/restaurant/tier5-src/_shared/himi-account.ts +5 -4
  99. package/templates/restaurant/tier5-src/_shared/himi-copy.ts +30 -3
  100. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +18 -10
  101. package/templates/restaurant-owner/tier5-src/_shared/himi-copy.ts +30 -3
  102. package/templates/retail-store/dev/index.ts +263 -204
  103. package/templates/retail-store/l10n/en.json +2029 -0
  104. package/templates/retail-store/l10n/es.json +33 -0
  105. package/templates/retail-store/l10n/he.json +2660 -0
  106. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +18 -10
  107. package/templates/retail-store/tier5-src/_shared/himi-account.ts +5 -4
  108. package/templates/retail-store/tier5-src/_shared/himi-copy.ts +30 -3
  109. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +18 -10
  110. package/templates/retail-store-owner/tier5-src/_shared/himi-copy.ts +30 -3
  111. package/templates/salon-spa/tier5-src/_shared/engine-intl.ts +18 -10
  112. package/templates/salon-spa/tier5-src/_shared/himi-account.ts +5 -4
  113. package/templates/salon-spa/tier5-src/_shared/himi-bookings.ts +1 -1
  114. package/templates/salon-spa/tier5-src/_shared/himi-copy.ts +30 -3
  115. package/templates/salon-spa/tier5-src/himi-booking-bookings/index.ts +2 -4
  116. package/templates/salon-spa/tier5-src/himi-booking-service/index.ts +2 -2
  117. package/templates/salon-spa/tier5-src/himi-booking-time/index.ts +1 -1
  118. package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +18 -10
  119. package/templates/wholesale-store/tier5-src/_shared/himi-account.ts +5 -4
  120. package/templates/wholesale-store/tier5-src/_shared/himi-copy.ts +30 -3
  121. package/templates/yoga-studio/l10n/en.json +2213 -0
  122. package/templates/yoga-studio/l10n/es.json +10 -0
  123. package/templates/yoga-studio/l10n/he.json +3405 -0
  124. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +18 -10
  125. package/templates/yoga-studio/tier5-src/_shared/himi-account.ts +5 -4
  126. package/templates/yoga-studio/tier5-src/_shared/himi-bookings.ts +1 -1
  127. package/templates/yoga-studio/tier5-src/_shared/himi-copy.ts +30 -3
  128. package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +2 -4
  129. package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +2 -2
  130. package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +1 -1
  131. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +18 -10
  132. package/templates/yoga-studio-owner/tier5-src/_shared/himi-copy.ts +30 -3
Binary file
@@ -60,10 +60,13 @@ platform evidence files; the source graph and navigation plan retain authored
60
60
  labels. The requested locale is a request context, not proof that every source
61
61
  string has a translation: inspect the returned labels and report any fallback.
62
62
 
63
- This selection does not translate template copy or business content. The generated
64
- app still needs its own locale configuration and complete translation catalogs;
65
- worker dates and numbers must use that app locale separately. Source collection,
66
- template translation and runtime formatting are distinct migration checks.
63
+ This selection does not translate template copy or business content. `himi init`
64
+ writes the chosen language into `config.ts` (see "Scaffold without displaying the
65
+ template"), the template ships the catalog rows for its own copy, and a release of an
66
+ app pinned to that language bakes them into its screens, navigation labels and worker
67
+ copy. Text the catalog has no translation for stays English, and business content is
68
+ never translated. Source collection, template translation and runtime formatting are
69
+ distinct migration checks.
67
70
 
68
71
  If the published-structure read or the business read returns `403`, migration can use the
69
72
  internal source-read path. A site operator with no access to the site is refused at the first
@@ -1298,6 +1301,12 @@ screenshot. For this migration route, **do not execute init's generic `doNow`,
1298
1301
  Do not show an unadapted template as the migrated app. Keep the migration evidence,
1299
1302
  plan and scoped continuation when init installs the app's agent instructions.
1300
1303
 
1304
+ `himi init` also reads the language recorded at collection (`requested.locale` in
1305
+ `manifest.json`) and writes `locale: { default: "<tag>", pin: true }` into `config.ts`, so the
1306
+ app runs and lays out in that language. English adds nothing, and a `locale` already in
1307
+ `config.ts` is kept. The envelope's `locale.config` says `written`, `kept` or `source-language`.
1308
+ `--locale <tag>` states the language explicitly and wins over the manifest.
1309
+
1301
1310
  Inside the app, replace template identity, navigation, sample content and default
1302
1311
  features with the plan. Use native Himi composition and app-local workers. Bound
1303
1312
  inline lists must leave following sections reachable; repeated instances must
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1651.0",
3
+ "version": "0.1653.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": [
@@ -72,5 +72,5 @@
72
72
  "artifactId": "himalaya-cli"
73
73
  }
74
74
  },
75
- "falconPackageHash": "41b89ef5ee5070e6b64dd89983a8e26485a91b69c8c14e46c4d45677"
75
+ "falconPackageHash": "fbd3d0f53a0e9aad88bec0100a1f0edbb48e15fc81811e716ad2c14c"
76
76
  }