meta-to-blocks 0.2.0 → 0.4.0

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/meta-to-blocks"><img height="20" src="https://img.shields.io/github/package-json/v/constructive-io/blocks?filename=packages%2Fmeta-to-blocks%2Fpackage.json"/></a>
13
+ </p>
14
+
7
15
  Lower Constructive `_meta` database metadata into
8
16
  [`blocks-schema`](../blocks-schema) UI documents: generated form, list, and
9
17
  detail screens with no hand-authored JSON. Columns lower through JSON Schema, so
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meta-to-blocks",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "Lower database metadata into blocks-schema UI documents: generated form, list, and detail screens",
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",
@@ -38,8 +39,8 @@
38
39
  "renderer"
39
40
  ],
40
41
  "dependencies": {
41
- "blocks-schema": "workspace:^",
42
- "json-schema-to-blocks": "workspace:^"
42
+ "blocks-schema": "^0.5.0",
43
+ "json-schema-to-blocks": "^0.4.0"
43
44
  },
44
45
  "devDependencies": {
45
46
  "makage": "^0.6.0",
@@ -48,5 +49,6 @@
48
49
  },
49
50
  "engines": {
50
51
  "node": ">=24.0.0"
51
- }
52
+ },
53
+ "gitHead": "8321f44d0cc91bb6885f3c843ef8467ebdccec40"
52
54
  }