blocks-schema 0.2.1 → 0.4.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/blocks-schema"><img height="20" src="https://img.shields.io/github/package-json/v/constructive-io/blocks?filename=packages%2Fblocks-schema%2Fpackage.json"/></a>
|
|
13
|
+
</p>
|
|
14
|
+
|
|
7
15
|
Portable JSON UI document specification for Constructive Blocks: the storage
|
|
8
16
|
format, runtime validators, JSON Schema export, and pure document-manipulation
|
|
9
17
|
API. No React — this package is safe in servers, workers, and agents.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blocks-schema",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Portable JSON UI document format for Constructive Blocks: node types, runtime validation, and JSON Schema export",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,13 +24,14 @@
|
|
|
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",
|
|
30
31
|
"clean": "makage clean"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
|
-
"json-renderer": "
|
|
34
|
+
"json-renderer": "^0.2.1",
|
|
34
35
|
"zod": "^4.3.4"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
@@ -40,5 +41,6 @@
|
|
|
40
41
|
},
|
|
41
42
|
"engines": {
|
|
42
43
|
"node": ">=24.0.0"
|
|
43
|
-
}
|
|
44
|
+
},
|
|
45
|
+
"gitHead": "d224a6a8bf72be713f5075708a0518f8ae523ce7"
|
|
44
46
|
}
|