Bump version to 0.0.7

This commit is contained in:
vvzvlad 2023-10-02 22:53:03 +03:00
parent 2b2dcd2036
commit e3a2028a20
3 changed files with 16 additions and 20 deletions

View File

@ -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"
}
},
},
"author": "vvzvlad",
"license": "ISC"
}

View File

@ -1,7 +1,8 @@
<script type="text/javascript">
RED.nodes.registerType('lower-case',{
category: 'function',
RED.nodes.registerType('c-thermostat',{
category: 'Combined RN',
color: '#a6bbcf',
paletteLabel: 'C-Thermostat',
defaults: {
name: {value:""}
},
@ -9,18 +10,19 @@
outputs: 1,
icon: "file.svg",
label: function() {
return this.name||"lower-case";
return this.name||"C-Thermostat";
}
});
</script>
<script type="text/html" data-template-name="lower-case">
<script type="text/html" data-template-name="c-thermostat">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</script>
<script type="text/html" data-help-name="lower-case">
<p>A simple node that converts the message payloads into all lower-case characters</p>
<script type="text/html" data-help-name="c-thermostat">
<p>c-thermostat/p>
</script>

View File

@ -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 );
}