uniweb 0.12.55 → 0.12.56

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",
3
- "version": "0.12.55",
3
+ "version": "0.12.56",
4
4
  "description": "Create structured Vite + React sites with content/code separation",
5
5
  "type": "module",
6
6
  "bin": {
@@ -46,9 +46,9 @@
46
46
  "@uniweb/runtime": "0.8.28"
47
47
  },
48
48
  "peerDependencies": {
49
- "@uniweb/content-reader": "1.1.13",
50
- "@uniweb/semantic-parser": "1.1.18",
51
- "@uniweb/build": "0.14.35"
49
+ "@uniweb/build": "0.14.36",
50
+ "@uniweb/content-reader": "1.1.14",
51
+ "@uniweb/semantic-parser": "1.1.18"
52
52
  },
53
53
  "peerDependenciesMeta": {
54
54
  "@uniweb/build": {
@@ -1181,7 +1181,7 @@ function Article({ content, block }) {
1181
1181
 
1182
1182
  Components can ignore keys in `content.data` they don't need — the same way unused `params` are ignored.
1183
1183
 
1184
- **Declaring data schemas.** `meta.js` declares the schema for each `content.data` key with a single `data:` field — there is no separate `schemas:` key. Each entry's value is one of: a **named ref** (`'@/article'` resolves to this foundation's `foundation/schemas/article.{js,json,yml}`; `'@std/person'` is a shared standard), an **inline field map** (`{ field: { type, default } }`), or an **inline rich-form** (`{ fields: [...] }`, an editor form). Refs use Uniweb namespacing, resolved on disk at build time, never fetched: `@/name` (this foundation's own `foundation/schemas/`), `@std/name` (the shared standard schemas, shipped in the `@uniweb/schemas` package), and `@org/name` (an org's own schemas, from its `@org/schemas` package — define a schema once and share it across foundations). The schema is a hint: it supplies field defaults and drives the editor, not delivery (which is default-on). For an explicit opt-out (rare), set `data: false`.
1184
+ **Declaring data schemas.** `meta.js` declares the schema for each `content.data` key with a single `data:` field — there is no separate `schemas:` key. Each entry's value is one of: a **named ref** (`'@/article'` resolves to this foundation's `foundation/schemas/article.{js,json,yml,yaml}`; `'@std/person'` is a shared standard), an **inline field map** (`{ field: { type, default } }`), or an **inline rich-form** (`{ fields: [...] }`, an editor form). Refs use Uniweb namespacing, resolved on disk at build time, never fetched: `@/name` (this foundation's own `foundation/schemas/`), `@std/name` (the shared standard schemas, shipped in the `@uniweb/schemas` package), and `@org/name` (an org's own schemas, from its `@org/schemas` package — define a schema once and share it across foundations). The schema is a hint: it supplies field defaults and drives the editor, not delivery (which is default-on). For an explicit opt-out (rare), set `data: false`.
1185
1185
 
1186
1186
  ```js
1187
1187
  // meta.js
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-07-22T10:07:24.554Z",
3
+ "generatedAt": "2026-07-23T14:06:14.245Z",
4
4
  "packages": {
5
5
  "@uniweb/build": {
6
- "version": "0.14.35",
6
+ "version": "0.14.36",
7
7
  "path": "framework/build",
8
8
  "deps": [
9
9
  "@uniweb/content-reader",
@@ -15,12 +15,12 @@
15
15
  ]
16
16
  },
17
17
  "@uniweb/content-reader": {
18
- "version": "1.1.13",
18
+ "version": "1.1.14",
19
19
  "path": "framework/content-reader",
20
20
  "deps": []
21
21
  },
22
22
  "@uniweb/content-writer": {
23
- "version": "0.2.6",
23
+ "version": "0.2.7",
24
24
  "path": "framework/content-writer",
25
25
  "deps": []
26
26
  },