mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Major bump of mysql2 libs
and move name field
This commit is contained in:
parent
dc08dc8d0d
commit
36b85440fb
@ -1,5 +1,9 @@
|
|||||||
|
|
||||||
<script type="text/html" data-template-name="MySQLdatabase">
|
<script type="text/html" data-template-name="MySQLdatabase">
|
||||||
|
<div class="form-row">
|
||||||
|
<label for="node-config-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label>
|
||||||
|
<input type="text" id="node-config-input-name" data-i18n="[placeholder]node-red:common.label.name">
|
||||||
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-config-input-host"><i class="fa fa-globe"></i> <span data-i18n="mysql.label.host"></span></label>
|
<label for="node-config-input-host"><i class="fa fa-globe"></i> <span data-i18n="mysql.label.host"></span></label>
|
||||||
<input type="text" id="node-config-input-host">
|
<input type="text" id="node-config-input-host">
|
||||||
@ -28,10 +32,6 @@
|
|||||||
<label for="node-config-input-charset"><i class="fa fa-language"></i> <span data-i18n="mysql.label.charset"></span></label>
|
<label for="node-config-input-charset"><i class="fa fa-language"></i> <span data-i18n="mysql.label.charset"></span></label>
|
||||||
<input type="text" id="node-config-input-charset">
|
<input type="text" id="node-config-input-charset">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
|
||||||
<label for="node-config-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label>
|
|
||||||
<input type="text" id="node-config-input-name" data-i18n="[placeholder]node-red:common.label.name">
|
|
||||||
</div>
|
|
||||||
<div class="form-tips"><span data-i18n="[html]mysql.tip"></span></div>
|
<div class="form-tips"><span data-i18n="[html]mysql.tip"></span></div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -57,14 +57,14 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/html" data-template-name="mysql">
|
<script type="text/html" data-template-name="mysql">
|
||||||
<div class="form-row">
|
|
||||||
<label for="node-input-mydb"><i class="fa fa-database"></i> <span data-i18n="mysql.label.database"></label>
|
|
||||||
<input type="text" id="node-input-mydb">
|
|
||||||
</div>
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label>
|
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label>
|
||||||
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-row">
|
||||||
|
<label for="node-input-mydb"><i class="fa fa-database"></i> <span data-i18n="mysql.label.database"></label>
|
||||||
|
<input type="text" id="node-input-mydb">
|
||||||
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "node-red-node-mysql",
|
"name": "node-red-node-mysql",
|
||||||
"version": "1.0.3",
|
"version": "2.0.0",
|
||||||
"description": "A Node-RED node to read and write to a MySQL database",
|
"description": "A Node-RED node to read and write to a MySQL database",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"mysql2": "^2.3.3"
|
"mysql2": "^3.6.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -16,13 +16,17 @@
|
|||||||
"mysql"
|
"mysql"
|
||||||
],
|
],
|
||||||
"node-red": {
|
"node-red": {
|
||||||
|
"version": ">=3.0.0",
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"mysql": "68-mysql.js"
|
"mysql": "68-mysql.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Dave Conway-Jones",
|
"name": "Dave Conway-Jones",
|
||||||
"email": "ceejay@vnet.ibm.com",
|
"email": "dceejay@gmail.com",
|
||||||
"url": "http://nodered.org"
|
"url": "http://nodered.org"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user