@uniweb/build 1.7.2 → 1.7.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/build",
3
- "version": "1.7.2",
3
+ "version": "1.7.4",
4
4
  "description": "Build tooling for the Uniweb Component Web Platform",
5
5
  "type": "module",
6
6
  "exports": {
@@ -56,11 +56,11 @@
56
56
  "js-yaml": "^4.1.0",
57
57
  "sharp": "^0.35.3",
58
58
  "yaml": "^2.5.0",
59
- "@uniweb/semantic-parser": "~1.12.2",
60
- "@uniweb/schemas": "~1.6.1",
61
- "@uniweb/theming": "~1.2.1",
62
59
  "@uniweb/content-reader": "~1.5.4",
60
+ "@uniweb/schemas": "~1.6.4",
61
+ "@uniweb/theming": "~1.2.1",
63
62
  "@uniweb/content-writer": "~1.3.0",
63
+ "@uniweb/semantic-parser": "~1.12.2",
64
64
  "@uniweb/projections": "~1.1.6"
65
65
  },
66
66
  "optionalDependencies": {
@@ -73,8 +73,8 @@
73
73
  "@tailwindcss/vite": "^4.0.0",
74
74
  "@vitejs/plugin-react": "^4.0.0 || ^5.0.0",
75
75
  "vite-plugin-svgr": "^4.0.0",
76
- "@uniweb/core": "~1.4.0",
77
- "@uniweb/runtime": "~1.1.15"
76
+ "@uniweb/runtime": "~1.1.15",
77
+ "@uniweb/core": "~1.4.0"
78
78
  },
79
79
  "peerDependenciesMeta": {
80
80
  "vite": {
@@ -17,8 +17,10 @@
17
17
  * - `context` - Static capabilities for cross-block coordination
18
18
  * - `initialState` - Initial values for mutable block state
19
19
  *
20
- * Full component metadata lives in schema.json (for the visual editor).
21
- * Foundation identity (name, description) comes from package.json in the editor schema.
20
+ * Full component metadata lives in schema.json (for the visual editor), and so does the
21
+ * foundation's identity, as `_self` (`buildSchema`): its name by `foundationNameOf`
22
+ * (`foundation-name.js`) — `main.js`'s `name`, else `package.json`'s — and its description
23
+ * `main.js`'s, else `package.json`'s. ⛔ *Until 2026-10-20 this said both came from package.json.*
22
24
  */
23
25
 
24
26
  import { writeFile, readFile, mkdir } from 'node:fs/promises'
@@ -479,6 +479,9 @@ function lowerLeaf(field, resolve, optResolve, { multiple = false, path = '' } =
479
479
  // The level on the entry it points to that opens this entry, for `read` — by link
480
480
  // [Diego, 2026-10-14]. `@uniweb/schemas` admits it only here, as read, edit or admin.
481
481
  if (field.readable_with) out.readable_with = field.readable_with
482
+ // A reference a purchase travels along, to what it names [backend, 2026-10-21]. Only `true`
483
+ // is sent: `@uniweb/schemas` drops `false`, which says what leaving it out says.
484
+ if (field.sold_with === true) out.sold_with = true
482
485
  return out
483
486
  }
484
487