@aaqu/fromcubes-portal-react 0.1.0-alpha.2 → 0.1.0-alpha.20
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/LICENSE +1 -1
- package/README.md +154 -79
- package/examples/001-shared-components-flow.json +68 -0
- package/examples/{sensor-portal-flow.json → 002-sensor-portal-flow.json} +3 -3
- package/examples/003-chart-portal-flow.json +93 -0
- package/examples/004-d3-poland-flow.json +80 -0
- package/examples/005-threejs-portal-flow.json +87 -0
- package/examples/006-pixi-portal-flow.json +86 -0
- package/examples/007-webgpu-tsl-flow.json +85 -0
- package/nodes/lib/assets.js +212 -0
- package/nodes/lib/helpers.js +308 -0
- package/nodes/lib/hooks.js +82 -0
- package/nodes/lib/page-builder.js +219 -0
- package/nodes/lib/router.js +56 -0
- package/nodes/portal-react.html +1139 -195
- package/nodes/portal-react.js +720 -349
- package/package.json +21 -11
- package/nodes/vendor/react-19.production.min.js +0 -55
- package/scripts/bundle-react.js +0 -31
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aaqu/fromcubes-portal-react",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
4
|
-
"description": "Fromcubes Portal - React for Node-RED",
|
|
3
|
+
"version": "0.1.0-alpha.20",
|
|
4
|
+
"description": "Fromcubes Portal - React for Node-RED with Tailwind CSS and auto complete",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"node-red",
|
|
7
|
-
"react",
|
|
8
7
|
"dashboard",
|
|
9
8
|
"portal",
|
|
10
9
|
"jsx",
|
|
@@ -20,7 +19,6 @@
|
|
|
20
19
|
"files": [
|
|
21
20
|
"nodes/",
|
|
22
21
|
"examples/",
|
|
23
|
-
"scripts/",
|
|
24
22
|
"README.md",
|
|
25
23
|
"LICENSE"
|
|
26
24
|
],
|
|
@@ -28,19 +26,31 @@
|
|
|
28
26
|
"node": ">=18"
|
|
29
27
|
},
|
|
30
28
|
"dependencies": {
|
|
31
|
-
"esbuild": "0.
|
|
29
|
+
"esbuild": "^0.28.0",
|
|
32
30
|
"monaco-editor": "^0.55.1",
|
|
33
|
-
"
|
|
31
|
+
"react": "^19.2.5",
|
|
32
|
+
"react-dom": "^19.2.5",
|
|
33
|
+
"tailwindcss": "^4.2.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
36
|
+
"node-red": "5.0.0-beta.4",
|
|
37
|
+
"prettier": "^3.8.2",
|
|
38
|
+
"supertest": "^7.2.2",
|
|
39
|
+
"vitest": "^4.1.4"
|
|
39
40
|
},
|
|
40
41
|
"scripts": {
|
|
41
|
-
"
|
|
42
|
-
"
|
|
42
|
+
"start": "node-red",
|
|
43
|
+
"test": "vitest run",
|
|
44
|
+
"test:watch": "vitest"
|
|
43
45
|
},
|
|
46
|
+
"repository": {
|
|
47
|
+
"type": "git",
|
|
48
|
+
"url": "git+https://github.com/Aaqu/fromcubes-portal-react.git"
|
|
49
|
+
},
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "https://github.com/Aaqu/fromcubes-portal-react/issues"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://github.com/Aaqu/fromcubes-portal-react#readme",
|
|
44
54
|
"license": "Apache-2.0",
|
|
45
55
|
"author": "aaqu",
|
|
46
56
|
"publishConfig": {
|