@uniweb/build 0.59.0 → 0.59.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.
- package/package.json +7 -7
- package/src/uwx/data-schema.js +3 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniweb/build",
|
|
3
|
-
"version": "0.59.
|
|
3
|
+
"version": "0.59.1",
|
|
4
4
|
"description": "Build tooling for the Uniweb Component Web Platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
"js-yaml": "^4.1.0",
|
|
58
58
|
"sharp": "^0.35.3",
|
|
59
59
|
"yaml": "^2.5.0",
|
|
60
|
-
"@uniweb/
|
|
60
|
+
"@uniweb/content-reader": "^1.2.5",
|
|
61
|
+
"@uniweb/schemas": "^0.4.0",
|
|
62
|
+
"@uniweb/theming": "^0.1.15",
|
|
61
63
|
"@uniweb/semantic-parser": "^1.4.1",
|
|
62
64
|
"@uniweb/content-writer": "^0.3.4",
|
|
63
|
-
"@uniweb/projections": "^0.7.3"
|
|
64
|
-
"@uniweb/content-reader": "^1.2.5",
|
|
65
|
-
"@uniweb/theming": "^0.1.15"
|
|
65
|
+
"@uniweb/projections": "^0.7.3"
|
|
66
66
|
},
|
|
67
67
|
"optionalDependencies": {
|
|
68
68
|
"@uniweb/runtime": "^0.27.4"
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"@tailwindcss/vite": "^4.0.0",
|
|
75
75
|
"@vitejs/plugin-react": "^4.0.0 || ^5.0.0",
|
|
76
76
|
"vite-plugin-svgr": "^4.0.0",
|
|
77
|
-
"@uniweb/
|
|
78
|
-
"@uniweb/
|
|
77
|
+
"@uniweb/core": "^0.29.8",
|
|
78
|
+
"@uniweb/runtime": "^0.27.4"
|
|
79
79
|
},
|
|
80
80
|
"peerDependenciesMeta": {
|
|
81
81
|
"vite": {
|
package/src/uwx/data-schema.js
CHANGED
|
@@ -79,7 +79,7 @@ export function isContentBodyField(field) {
|
|
|
79
79
|
* (item_ref) ref to its full `@org/model/<section>` path. Falls back to
|
|
80
80
|
* `resolveName` (model only) when not supplied.
|
|
81
81
|
* @returns {Object} the declaration (`{ name, label?, description?, source_locale?,
|
|
82
|
-
*
|
|
82
|
+
* linkable?, sections }`).
|
|
83
83
|
*/
|
|
84
84
|
export function toDataSchemaDeclaration(normalized, { name, resolveName, resolveOptions } = {}) {
|
|
85
85
|
if (!name) throw new Error('toDataSchemaDeclaration: a registry name is required')
|
|
@@ -104,10 +104,8 @@ export function toDataSchemaDeclaration(normalized, { name, resolveName, resolve
|
|
|
104
104
|
if (normalized.label) decl.label = normalized.label
|
|
105
105
|
if (normalized.description) decl.description = normalized.description
|
|
106
106
|
if (normalized.sourceLocale) decl.source_locale = normalized.sourceLocale
|
|
107
|
-
// `creatable_by
|
|
108
|
-
//
|
|
109
|
-
// meaning; sending it explicitly would state a policy the author did not.
|
|
110
|
-
if (normalized.creatableBy) decl.creatable_by = normalized.creatableBy
|
|
107
|
+
// ⛔ No `creatable_by`: retired 2026-09-23 — Models are open, and `@uniweb/schemas`
|
|
108
|
+
// refuses the key. (It was emitted here when authored.)
|
|
111
109
|
|
|
112
110
|
// `linkable` — DERIVED AND AUTHORED, and the two compose in one direction only.
|
|
113
111
|
//
|