@uniweb/build 1.3.1 → 1.3.2
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 +6 -6
- package/src/uwx/data-schema.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniweb/build",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
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/
|
|
59
|
+
"@uniweb/schemas": "~1.3.0",
|
|
60
|
+
"@uniweb/semantic-parser": "~1.7.0",
|
|
60
61
|
"@uniweb/projections": "~1.1.1",
|
|
62
|
+
"@uniweb/theming": "~1.2.0",
|
|
61
63
|
"@uniweb/content-reader": "~1.3.1",
|
|
62
|
-
"@uniweb/semantic-parser": "~1.7.0",
|
|
63
|
-
"@uniweb/schemas": "~1.2.1",
|
|
64
64
|
"@uniweb/content-writer": "~1.1.1"
|
|
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/
|
|
77
|
-
"@uniweb/
|
|
76
|
+
"@uniweb/runtime": "~1.1.2",
|
|
77
|
+
"@uniweb/core": "~1.2.1"
|
|
78
78
|
},
|
|
79
79
|
"peerDependenciesMeta": {
|
|
80
80
|
"vite": {
|
package/src/uwx/data-schema.js
CHANGED
|
@@ -460,9 +460,9 @@ function lowerLeaf(field, resolve, optResolve, { multiple = false, path = '' } =
|
|
|
460
460
|
if (field.label) out.label = field.label
|
|
461
461
|
if (field.description) out.description = field.description
|
|
462
462
|
if (field.required) out.required = true
|
|
463
|
-
// A field's rules, as written — `max_length`, `min`, `max`, `mime_types`, `max_size
|
|
464
|
-
// (`FIELD_RULES`): a registry keeps each as the field's own key and checks it on
|
|
465
|
-
// write. ⛔ Until 2026-10-15 the normalizer dropped them before this saw them.
|
|
463
|
+
// A field's rules, as written — `max_length`, `min`, `max`, `mime_types`, `max_size`,
|
|
464
|
+
// `pattern` (`FIELD_RULES`): a registry keeps each as the field's own key and checks it on
|
|
465
|
+
// every write. ⛔ Until 2026-10-15 the normalizer dropped them before this saw them.
|
|
466
466
|
for (const key of Object.keys(FIELD_RULES)) {
|
|
467
467
|
if (field[key] !== undefined) out[key] = field[key]
|
|
468
468
|
}
|