@xmachines/play-dom 1.0.0-beta.58 → 1.1.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 +5 -8
- package/package.json +11 -13
package/README.md
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
<!-- generated-by: gsd-doc-writer -->
|
|
2
|
-
|
|
3
1
|
# @xmachines/play-dom
|
|
4
2
|
|
|
5
3
|
Vanilla DOM renderer for XMachines Play architecture with signal-driven rendering.
|
|
6
4
|
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
[](https://www.npmjs.com/package/@xmachines/play-dom)
|
|
7
|
+
|
|
7
8
|
Part of the [XMachines Play monorepo](../../README.md).
|
|
8
9
|
|
|
9
10
|
## Installation
|
|
@@ -74,9 +75,7 @@ disconnect();
|
|
|
74
75
|
import { createRenderer, schema } from "@xmachines/play-dom";
|
|
75
76
|
import { defineCatalog } from "@xmachines/json-render-core";
|
|
76
77
|
|
|
77
|
-
const catalog = defineCatalog(schema, {
|
|
78
|
-
/* ... */
|
|
79
|
-
});
|
|
78
|
+
const catalog = defineCatalog(schema, {/* ... */});
|
|
80
79
|
|
|
81
80
|
const mount = createRenderer(catalog, { MyComponent });
|
|
82
81
|
|
|
@@ -95,9 +94,7 @@ Factory-level options (`functions`, `validationFunctions`, `navigate`, `onRender
|
|
|
95
94
|
import { defineRegistry, createPlayUI, schema } from "@xmachines/play-dom";
|
|
96
95
|
import { defineCatalog } from "@xmachines/json-render-core";
|
|
97
96
|
|
|
98
|
-
const catalog = defineCatalog(schema, {
|
|
99
|
-
/* ... */
|
|
100
|
-
});
|
|
97
|
+
const catalog = defineCatalog(schema, {/* ... */});
|
|
101
98
|
|
|
102
99
|
const registryResult = defineRegistry(catalog, {
|
|
103
100
|
components: { Home, Login },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmachines/play-dom",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Vanilla DOM renderer for XMachines Play architecture with signal-driven rendering",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"actor",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"LICENSE"
|
|
25
25
|
],
|
|
26
26
|
"type": "module",
|
|
27
|
+
"sideEffects": false,
|
|
27
28
|
"exports": {
|
|
28
29
|
".": {
|
|
29
|
-
"source": "./src/index.ts",
|
|
30
30
|
"types": "./dist/index.d.ts",
|
|
31
31
|
"import": "./dist/index.js"
|
|
32
32
|
}
|
|
@@ -39,27 +39,25 @@
|
|
|
39
39
|
"clean": "rm -rf dist *.tsbuildinfo coverage .vitest-attachments test/browser/__screenshots__ node_modules/.svelte2tsx-* node_modules/.vite*",
|
|
40
40
|
"lint": "oxlint .",
|
|
41
41
|
"format": "oxfmt .",
|
|
42
|
-
"test": "vitest"
|
|
43
|
-
"prepublishOnly": "npm run build"
|
|
42
|
+
"test": "vitest"
|
|
44
43
|
},
|
|
45
44
|
"dependencies": {
|
|
46
|
-
"@xmachines/play": "1.
|
|
47
|
-
"@xmachines/play-actor": "1.
|
|
48
|
-
"@xmachines/play-signals": "1.
|
|
45
|
+
"@xmachines/play": "1.1.0",
|
|
46
|
+
"@xmachines/play-actor": "1.1.0",
|
|
47
|
+
"@xmachines/play-signals": "1.1.0"
|
|
49
48
|
},
|
|
50
49
|
"devDependencies": {
|
|
51
50
|
"@testing-library/jest-dom": "^6.9.1",
|
|
52
|
-
"@types/node": "^
|
|
53
|
-
"@vitest/browser-playwright": "^4.1.
|
|
51
|
+
"@types/node": "^26.2.0",
|
|
52
|
+
"@vitest/browser-playwright": "^4.1.10",
|
|
54
53
|
"@xmachines/json-render-core": "^0.19.0-xm.2",
|
|
55
54
|
"@xmachines/json-render-dom": "^0.19.0-xm.2",
|
|
56
55
|
"@xmachines/json-render-xstate": "^0.19.0-xm.2",
|
|
57
|
-
"@xmachines/shared": "1.0.0-beta.58",
|
|
58
56
|
"@xstate/store": "^3.17.0",
|
|
59
|
-
"oxfmt": "^0.
|
|
60
|
-
"oxlint": "^1.
|
|
57
|
+
"oxfmt": "^0.64.0",
|
|
58
|
+
"oxlint": "^1.79.0",
|
|
61
59
|
"typescript": "^5.9.3 || ^6.0.3",
|
|
62
|
-
"vitest": "^4.1.
|
|
60
|
+
"vitest": "^4.1.11",
|
|
63
61
|
"xstate": "^5.31.0",
|
|
64
62
|
"zod": "^4.4.1"
|
|
65
63
|
},
|