json-schema-to-blocks 0.1.0 → 0.3.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/README.md +8 -0
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -4,6 +4,14 @@
|
|
|
4
4
|
<img height="250" src="https://raw.githubusercontent.com/constructive-io/constructive/refs/heads/main/assets/outline-logo.svg" />
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
|
+
<p align="center" width="100%">
|
|
8
|
+
<a href="https://github.com/constructive-io/blocks/actions/workflows/ci.yml">
|
|
9
|
+
<img height="20" src="https://github.com/constructive-io/blocks/actions/workflows/ci.yml/badge.svg" />
|
|
10
|
+
</a>
|
|
11
|
+
<a href="https://github.com/constructive-io/blocks/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a>
|
|
12
|
+
<a href="https://www.npmjs.com/package/json-schema-to-blocks"><img height="20" src="https://img.shields.io/github/package-json/v/constructive-io/blocks?filename=packages%2Fjson-schema-to-blocks%2Fpackage.json"/></a>
|
|
13
|
+
</p>
|
|
14
|
+
|
|
7
15
|
Lower a JSON Schema into a [`blocks-schema`](../blocks-schema) UI document: any
|
|
8
16
|
schema-described value gets a form with no hand-authored JSON. Pure functions,
|
|
9
17
|
no React — usable in servers, workers, and agents.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "json-schema-to-blocks",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Lower JSON Schema into blocks-schema UI documents: composable widget rules, constraints, and x-ui overrides",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"scripts": {
|
|
25
25
|
"build": "makage clean && makage build-ts && makage assets",
|
|
26
26
|
"build:dev": "makage clean && makage build-ts --dev && makage assets",
|
|
27
|
+
"prepack": "npm run build",
|
|
27
28
|
"lint:types": "tsc --noEmit -p tsconfig.lint.json",
|
|
28
29
|
"test": "vitest run",
|
|
29
30
|
"test:watch": "vitest",
|
|
@@ -37,7 +38,7 @@
|
|
|
37
38
|
"renderer"
|
|
38
39
|
],
|
|
39
40
|
"dependencies": {
|
|
40
|
-
"blocks-schema": "
|
|
41
|
+
"blocks-schema": "^0.4.1"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
44
|
"makage": "^0.6.0",
|
|
@@ -46,5 +47,6 @@
|
|
|
46
47
|
},
|
|
47
48
|
"engines": {
|
|
48
49
|
"node": ">=24.0.0"
|
|
49
|
-
}
|
|
50
|
+
},
|
|
51
|
+
"gitHead": "d224a6a8bf72be713f5075708a0518f8ae523ce7"
|
|
50
52
|
}
|