@theotherwillembotha/node-red-loki 0.1.0 → 0.3.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @theotherwillembotha/node-red-loki
2
2
 
3
- Grafana Loki integration for Node-RED. Built on [@theotherwillembotha/node-red-plugincore](https://github.com/theotherwillembotha/nodered_plugincore).
3
+ Grafana Loki integration for Node-RED. Built on [@theotherwillembotha/node-red-plugincore](https://github.com/theotherwillembotha/nodered_plugincore) (bundled — no separate install required).
4
4
 
5
5
  Provides three nodes:
6
6
  - **Loki Service** - shared connection config (URL, auth, tenant ID)
@@ -17,15 +17,6 @@ Either use the **Manage Palette** option in the Node-RED editor, or run the foll
17
17
  npm install @theotherwillembotha/node-red-loki
18
18
  ```
19
19
 
20
- > [!IMPORTANT]
21
- > **This plugin requires [`@theotherwillembotha/node-red-plugincore`](https://github.com/theotherwillembotha/nodered_plugincore) to be installed.**
22
- >
23
- > `node-red-plugincore` is declared as a dependency and npm will install it automatically. However, due to a [known Node-RED limitation](https://github.com/node-red/node-red/issues/3529), transitive npm dependencies are only discovered by the Node-RED runtime on the **next startup**.
24
- >
25
- > **Two options:**
26
- > - Install [`@theotherwillembotha/node-red-plugincore`](https://flows.nodered.org/node/@theotherwillembotha/node-red-plugincore) via the palette manager or `npm install` **first**, then install this plugin.
27
- > - Install this plugin directly. `node-red-plugincore` installs alongside it. **Restart Node-RED once** and both packages will be fully loaded.
28
-
29
20
  ---
30
21
 
31
22
  ## Nodes
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=GenerateNodes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenerateNodes.d.ts","sourceRoot":"","sources":["../src/GenerateNodes.ts"],"names":[],"mappings":""}
@@ -6,9 +6,10 @@ const LokiServiceConfigNode_1 = require("./loki/node/LokiServiceConfigNode");
6
6
  const LokiLoggerConfigNode_1 = require("./loki/node/LokiLoggerConfigNode");
7
7
  const LokiQueryNode_1 = require("./loki/node/LokiQueryNode");
8
8
  new node_red_plugincore_1.NodeGenerator("./src/loki/")
9
+ .registerService(node_red_plugincore_1.NodeTypeService)
9
10
  .registerService(LokiService_1.LokiService)
10
11
  .registerNode(LokiServiceConfigNode_1.LokiServiceConfigNode)
11
12
  .registerNode(LokiLoggerConfigNode_1.LokiLoggerConfigNode)
12
13
  .registerNode(LokiQueryNode_1.LokiQueryNode)
13
- .generate("./build/Nodes", "./build/Plugins");
14
+ .generate("./build/Nodes", "./build/Plugins", "@theotherwillembotha/node-red-loki");
14
15
  process.exit(0);