@endora-commerce/mod-cms 0.103.0 → 0.103.1

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.
@@ -329,10 +329,20 @@ A storefront renderer runs once on the server and once in the browser, so:
329
329
  `useBlockRenderEnvironment().language`, with English as the fallback.
330
330
 
331
331
  **Installing it in a storefront.** A storefront owner adds the package to
332
- their storefront (`pnpm add`) and builds. `blocks:generate`, which the
333
- storefront's `dev` and `build` scripts run, finds every installed module
334
- package that declares `./storefront` or `./blocks.css` and writes the registry
335
- and the stylesheet import — there is no line to add to any file.
332
+ their storefront (`pnpm add`) and builds. `blocks:generate`, which the `dev`
333
+ and `build` scripts of a storefront created by release `0.103.0` or later run,
334
+ finds every installed module package that declares `./storefront` or
335
+ `./blocks.css` and writes the registry and the stylesheet import — there is no
336
+ line to add to any file.
337
+
338
+ **A storefront created by an earlier release has none of this, and upgrading
339
+ does not add it.** An upgrade moves a storefront's packages and leaves its
340
+ source as it was written, so such a storefront has no `blocks:generate`
341
+ script, no `lib/page-builder/` and no presence rule: a package's storefront
342
+ layer is not rendered there, and neither *A block no package renders* nor the
343
+ storefront row of *When the module is switched off* below applies to it, until
344
+ its owner brings the files over by hand. The steps are in the *Upgrading an
345
+ instance* guide, under *Module blocks in an existing storefront*.
336
346
 
337
347
  When `endora install` writes an instance and a storefront in one run, it adds
338
348
  the instance's modules that publish a storefront layer to the storefront's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@endora-commerce/mod-cms",
3
- "version": "0.103.0",
3
+ "version": "0.103.1",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "Pages, blocks, templates, and hooks for content management.",
@@ -62,12 +62,12 @@
62
62
  "react-dom": "^19",
63
63
  "react-router-dom": "^7",
64
64
  "zod": "^4",
65
- "@endora-commerce/admin-kit": "0.103.0",
66
- "@endora-commerce/cms-components": "0.103.0",
67
- "@endora-commerce/contracts": "0.103.0",
68
- "@endora-commerce/page-builder-admin": "0.103.0",
69
- "@endora-commerce/page-builder-core": "0.103.0",
70
- "@endora-commerce/platform": "0.103.0"
65
+ "@endora-commerce/admin-kit": "0.103.1",
66
+ "@endora-commerce/cms-components": "0.103.1",
67
+ "@endora-commerce/contracts": "0.103.1",
68
+ "@endora-commerce/page-builder-admin": "0.103.1",
69
+ "@endora-commerce/page-builder-core": "0.103.1",
70
+ "@endora-commerce/platform": "0.103.1"
71
71
  },
72
72
  "peerDependenciesMeta": {
73
73
  "@endora-commerce/admin-kit": {
@@ -112,12 +112,12 @@
112
112
  "typescript": "^5.9.3",
113
113
  "vitest": "^4.1.11",
114
114
  "zod": "^4.2.0",
115
- "@endora-commerce/admin-kit": "0.103.0",
116
- "@endora-commerce/cms-components": "0.103.0",
117
- "@endora-commerce/contracts": "0.103.0",
118
- "@endora-commerce/page-builder-admin": "0.103.0",
119
- "@endora-commerce/page-builder-core": "0.103.0",
120
- "@endora-commerce/platform": "0.103.0"
115
+ "@endora-commerce/admin-kit": "0.103.1",
116
+ "@endora-commerce/cms-components": "0.103.1",
117
+ "@endora-commerce/contracts": "0.103.1",
118
+ "@endora-commerce/page-builder-admin": "0.103.1",
119
+ "@endora-commerce/page-builder-core": "0.103.1",
120
+ "@endora-commerce/platform": "0.103.1"
121
121
  },
122
122
  "scripts": {
123
123
  "build": "tsc -p tsconfig.build.json && tsc -p tsconfig.ui.json",