blocks-renderer 0.1.2 → 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.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +6 -4
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-renderer"><img height="20" src="https://img.shields.io/github/package-json/v/constructive-io/blocks?filename=packages%2Fblocks-renderer%2Fpackage.json"/></a>
13
+ </p>
14
+
7
15
  React adapter for `blocks-schema` UI documents: a recursive
8
16
  renderer with layerable widget registries, binding resolution, form state, and
9
17
  a visible unknown-block fallback.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blocks-renderer",
3
- "version": "0.1.2",
3
+ "version": "0.3.1",
4
4
  "description": "Recursive React renderer for Constructive Blocks JSON UI documents, with layerable widget registries",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -24,14 +24,15 @@
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
- "blocks-schema": "workspace:^",
34
- "json-renderer": "workspace:^"
34
+ "blocks-schema": "^0.4.1",
35
+ "json-renderer": "^0.2.1"
35
36
  },
36
37
  "peerDependencies": {
37
38
  "react": "^18.0.0 || ^19.0.0"
@@ -47,5 +48,6 @@
47
48
  },
48
49
  "engines": {
49
50
  "node": ">=24.0.0"
50
- }
51
+ },
52
+ "gitHead": "d224a6a8bf72be713f5075708a0518f8ae523ce7"
51
53
  }