Skip to content

Commit

Permalink
update to nodered 3.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveorevo committed Dec 9, 2023
1 parent 4c95fe8 commit 750f6d5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Installers/NodeRED/NodeREDSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class NodeREDSetup extends BaseSetup {
"name" => "NodeRED",
"group" => "framework",
"enabled" => true,
"version" => "3.1.0",
"version" => "3.1.3",
"thumbnail" => "nr-thumb.png",
];

Expand Down
3 changes: 1 addition & 2 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ dir=$PWD
if [ ! -d "/opt/node-red" ]; then

mkdir -p /opt/node-red
npm install -g --unsafe-perm [email protected] --prefix /opt/node-red/v3.0.2
npm install -g --unsafe-perm [email protected] --prefix /opt/node-red/v3.1.0
npm install -g --unsafe-perm [email protected] --prefix /opt/node-red/v3.1.3

fi

Expand Down
2 changes: 1 addition & 1 deletion nodeapp/.noderedrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.1.0
v3.1.3
4 changes: 2 additions & 2 deletions nodeapp/nodered.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ module.exports = {
* Specify the Node-RED version to use.
*
* Read the .noderedrc file and find the Node-RED version specified from it,
* or default to v3.1.0.
* or default to v3.1.3.
*/
let file = __dirname + '/.noderedrc';
let ver = 'v3.1.0';
let ver = 'v3.1.3';
if (fs.existsSync(file)) {
ver = fs.readFileSync(file, {encoding:'utf8', flag:'r'}).trim();
}
Expand Down

0 comments on commit 750f6d5

Please sign in to comment.