From e3a2028a20674c6c032ddb4870d6c35c57dc84bb Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Mon, 2 Oct 2023 22:53:03 +0300 Subject: [PATCH] Bump version to 0.0.7 --- package.json | 12 +++++++----- thermostat.html | 14 ++++++++------ thermostat.js | 10 +--------- 3 files changed, 16 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index eefbe5b..584e0fe 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,11 @@ { "name": "@vvzvlad/node-red-contrib-rn-combined-nodes", - "version": "0.0.1", + "version": "0.0.7", "description": "", "main": "index.js", - "keywords": [ "node-red" ], + "keywords": [ + "node-red" + ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, @@ -11,11 +13,11 @@ "type": "git", "url": "https://gitea.vvzvlad.xyz/vvzvlad/node-red-contrib-rn-combined-nodes" }, - "node-red" : { + "node-red": { "nodes": { - "thermostat": "thermostat.js" + "thermostat": "thermostat.js" } -}, + }, "author": "vvzvlad", "license": "ISC" } diff --git a/thermostat.html b/thermostat.html index 2bda315..9847afe 100644 --- a/thermostat.html +++ b/thermostat.html @@ -1,7 +1,8 @@ - - + diff --git a/thermostat.js b/thermostat.js index 7bea76c..bdae994 100644 --- a/thermostat.js +++ b/thermostat.js @@ -7,13 +7,5 @@ module.exports = function(RED) { node.send(msg); }); } - RED.nodes.registerType("thermostat",{ - "category": "thermostat", - "defaults": { - name: { - value: "C-Thermostat" - } - } - }, - ); + RED.nodes.registerType("c-thermostat", thermostat ); }