@dashspec/renderer 0.0.0-stage → 0.1.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/CHANGELOG.md +90 -0
- package/LICENSE +21 -0
- package/README.md +317 -2
- package/dist/chunk-M4WXE3FW.js +254 -0
- package/dist/chunk-M4WXE3FW.js.map +1 -0
- package/dist/chunk-NLKXHTLO.js +178 -0
- package/dist/chunk-NLKXHTLO.js.map +1 -0
- package/dist/chunk-ZUNMBDGH.js +3372 -0
- package/dist/chunk-ZUNMBDGH.js.map +1 -0
- package/dist/core-DXRBVGyG.d.ts +7611 -0
- package/dist/core.d.ts +3 -0
- package/dist/core.js +167 -0
- package/dist/core.js.map +1 -0
- package/dist/index-CdW6ugMG.d.ts +27 -0
- package/dist/index.d.ts +1434 -0
- package/dist/index.js +7638 -0
- package/dist/index.js.map +1 -0
- package/dist/sandbox-WEMG76LE.js +10 -0
- package/dist/sandbox-WEMG76LE.js.map +1 -0
- package/dist/sandbox.d.ts +15 -0
- package/dist/sandbox.js +8 -0
- package/dist/sandbox.js.map +1 -0
- package/dist/schema.json +3060 -0
- package/docs/README.md +25 -0
- package/docs/api.md +513 -0
- package/docs/data.md +582 -0
- package/docs/design-systems.md +227 -0
- package/docs/getting-started.md +242 -0
- package/docs/json-format.md +346 -0
- package/docs/security.md +141 -0
- package/docs/server-rendering.md +126 -0
- package/docs/state-and-events.md +551 -0
- package/docs/theming.md +244 -0
- package/docs/widgets.md +606 -0
- package/package.json +104 -3
package/package.json
CHANGED
|
@@ -1,6 +1,107 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashspec/renderer",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Draws a dashboard from DashSpec JSON: widgets, data, events, state.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"dashboard",
|
|
7
|
+
"react",
|
|
8
|
+
"json",
|
|
9
|
+
"renderer",
|
|
10
|
+
"charts",
|
|
11
|
+
"low-code",
|
|
12
|
+
"design-system",
|
|
13
|
+
"dashspec"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/vaskar-nowpurchase/dashspec-renderer#readme",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/vaskar-nowpurchase/dashspec-renderer/issues"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"type": "module",
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"main": "./dist/index.js",
|
|
23
|
+
"module": "./dist/index.js",
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/vaskar-nowpurchase/dashspec-renderer.git"
|
|
28
|
+
},
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=18"
|
|
31
|
+
},
|
|
32
|
+
"exports": {
|
|
33
|
+
".": {
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
35
|
+
"import": "./dist/index.js"
|
|
36
|
+
},
|
|
37
|
+
"./core": {
|
|
38
|
+
"types": "./dist/core.d.ts",
|
|
39
|
+
"import": "./dist/core.js"
|
|
40
|
+
},
|
|
41
|
+
"./sandbox": {
|
|
42
|
+
"types": "./dist/sandbox.d.ts",
|
|
43
|
+
"import": "./dist/sandbox.js"
|
|
44
|
+
},
|
|
45
|
+
"./schema.json": "./dist/schema.json",
|
|
46
|
+
"./package.json": "./package.json"
|
|
47
|
+
},
|
|
48
|
+
"typesVersions": {
|
|
49
|
+
"*": {
|
|
50
|
+
"core": [
|
|
51
|
+
"./dist/core.d.ts"
|
|
52
|
+
],
|
|
53
|
+
"sandbox": [
|
|
54
|
+
"./dist/sandbox.d.ts"
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"files": [
|
|
59
|
+
"dist",
|
|
60
|
+
"docs",
|
|
61
|
+
"CHANGELOG.md",
|
|
62
|
+
"LICENSE"
|
|
63
|
+
],
|
|
64
|
+
"dependencies": {
|
|
65
|
+
"@jitl/quickjs-wasmfile-release-sync": "0.31.0",
|
|
66
|
+
"@reduxjs/toolkit": "2.5.0",
|
|
67
|
+
"echarts": "5.5.1",
|
|
68
|
+
"immer": "10.2.0",
|
|
69
|
+
"quickjs-emscripten-core": "0.31.0",
|
|
70
|
+
"react-grid-layout": "1.5.4",
|
|
71
|
+
"zod-to-json-schema": "3.24.1"
|
|
72
|
+
},
|
|
73
|
+
"peerDependencies": {
|
|
74
|
+
"react": "^18.3.0 || ^19.0.0",
|
|
75
|
+
"react-dom": "^18.3.0 || ^19.0.0",
|
|
76
|
+
"zod": "^3.23.0"
|
|
77
|
+
},
|
|
78
|
+
"devDependencies": {
|
|
79
|
+
"@biomejs/biome": "1.9.4",
|
|
80
|
+
"@testing-library/react": "16.1.0",
|
|
81
|
+
"@types/node": "22.10.2",
|
|
82
|
+
"@types/react": "18.3.12",
|
|
83
|
+
"@types/react-dom": "18.3.1",
|
|
84
|
+
"@types/react-grid-layout": "1.3.5",
|
|
85
|
+
"ajv": "8.17.1",
|
|
86
|
+
"jsdom": "25.0.1",
|
|
87
|
+
"react": "18.3.1",
|
|
88
|
+
"react-dom": "18.3.1",
|
|
89
|
+
"tsup": "8.3.5",
|
|
90
|
+
"typescript": "5.7.2",
|
|
91
|
+
"vitest": "2.1.8",
|
|
92
|
+
"zod": "3.24.1"
|
|
93
|
+
},
|
|
94
|
+
"publishConfig": {
|
|
95
|
+
"access": "public"
|
|
96
|
+
},
|
|
97
|
+
"scripts": {
|
|
98
|
+
"build": "tsup && node scripts/write-schema.mjs && node scripts/use-client.mjs",
|
|
99
|
+
"dev": "tsup --watch",
|
|
100
|
+
"typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.examples.json",
|
|
101
|
+
"test": "vitest run",
|
|
102
|
+
"lint": "biome check .",
|
|
103
|
+
"format": "biome format --write .",
|
|
104
|
+
"check": "pnpm lint && pnpm build && pnpm size && pnpm typecheck && pnpm test",
|
|
105
|
+
"size": "node scripts/size.mjs"
|
|
106
|
+
}
|
|
6
107
|
}
|