@aaqu/fromcubes-react 0.2.0 → 0.2.2
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 +11 -1
- package/THIRD-PARTY-NOTICES.md +27 -0
- package/nodes/editor/class-completion.js +1116 -0
- package/nodes/editor/file-tree.js +1 -1
- package/nodes/editor/format.js +1 -1
- package/nodes/editor/provider-settings.js +8 -8
- package/nodes/editor/workspace.js +5 -3
- package/nodes/lib/admin-api.js +64 -23
- package/nodes/lib/providers.js +272 -30
- package/nodes/portal-react.html +517 -261
- package/nodes/portal-react.js +6 -1
- package/package.json +1 -2
package/nodes/portal-react.js
CHANGED
|
@@ -1629,12 +1629,17 @@ module.exports = function (RED) {
|
|
|
1629
1629
|
}); // end setImmediate
|
|
1630
1630
|
}
|
|
1631
1631
|
|
|
1632
|
+
const { registerAdminApi, ASSET_BASE } = require("./lib/admin-api");
|
|
1632
1633
|
RED.nodes.registerType("portal-react", PortalReactNode, {
|
|
1633
1634
|
dynamicModuleList: "libs",
|
|
1635
|
+
// Read by portal-react.html to load the editor assets from their
|
|
1636
|
+
// versioned path (see ASSET_BASE in lib/admin-api.js).
|
|
1637
|
+
settings: {
|
|
1638
|
+
portalReactAssetBase: { value: ASSET_BASE, exportable: true },
|
|
1639
|
+
},
|
|
1634
1640
|
});
|
|
1635
1641
|
|
|
1636
1642
|
const express = loadExpress();
|
|
1637
|
-
const { registerAdminApi } = require("./lib/admin-api");
|
|
1638
1643
|
registerAdminApi(RED, {
|
|
1639
1644
|
express,
|
|
1640
1645
|
permRead: PERM_READ,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aaqu/fromcubes-react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Fromcubes React - React portals for Node-RED, built at deploy, with live WebSocket data binding",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"keywords": [
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
"portal",
|
|
10
10
|
"jsx",
|
|
11
11
|
"react",
|
|
12
|
-
"tailwind",
|
|
13
12
|
"websocket",
|
|
14
13
|
"fromcubes"
|
|
15
14
|
],
|