@wp-typia/block-runtime 0.1.1 → 0.2.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.
- package/README.md +2 -0
- package/dist/inspector.d.ts +1 -0
- package/dist/inspector.js +1 -0
- package/package.json +15 -2
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@ It currently re-exports the block runtime helper surface for:
|
|
|
9
9
|
|
|
10
10
|
- manifest-driven defaults
|
|
11
11
|
- editor model generation
|
|
12
|
+
- manifest-driven inspector helpers
|
|
12
13
|
- validation-aware attribute updates
|
|
13
14
|
|
|
14
15
|
It does not include:
|
|
@@ -22,6 +23,7 @@ Typical usage:
|
|
|
22
23
|
|
|
23
24
|
```ts
|
|
24
25
|
import { createEditorModel } from "@wp-typia/block-runtime/editor";
|
|
26
|
+
import { InspectorFromManifest, useEditorFields } from "@wp-typia/block-runtime/inspector";
|
|
25
27
|
import { createNestedAttributeUpdater } from "@wp-typia/block-runtime/validation";
|
|
26
28
|
```
|
|
27
29
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@wp-typia/create/runtime/inspector";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@wp-typia/create/runtime/inspector";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wp-typia/block-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Prototype block runtime facade for wp-typia generated-project helpers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
"import": "./dist/editor.js",
|
|
22
22
|
"default": "./dist/editor.js"
|
|
23
23
|
},
|
|
24
|
+
"./inspector": {
|
|
25
|
+
"types": "./dist/inspector.d.ts",
|
|
26
|
+
"import": "./dist/inspector.js",
|
|
27
|
+
"default": "./dist/inspector.js"
|
|
28
|
+
},
|
|
24
29
|
"./validation": {
|
|
25
30
|
"types": "./dist/validation.d.ts",
|
|
26
31
|
"import": "./dist/validation.js",
|
|
@@ -60,8 +65,16 @@
|
|
|
60
65
|
"npm": ">=10.0.0",
|
|
61
66
|
"bun": ">=1.3.10"
|
|
62
67
|
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"react": "^18.0.0 || ^19.0.0"
|
|
70
|
+
},
|
|
71
|
+
"peerDependenciesMeta": {
|
|
72
|
+
"react": {
|
|
73
|
+
"optional": true
|
|
74
|
+
}
|
|
75
|
+
},
|
|
63
76
|
"dependencies": {
|
|
64
|
-
"@wp-typia/create": "^0.
|
|
77
|
+
"@wp-typia/create": "^0.8.0"
|
|
65
78
|
},
|
|
66
79
|
"devDependencies": {
|
|
67
80
|
"typescript": "^5.9.2"
|