From f734075f7c6ca525cfb10d88fcd8d3c164b776a9 Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Thu, 11 Apr 2024 09:43:28 +0100 Subject: [PATCH 1/3] Update CHANGELOG for 2.3.0 --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a022afe..1b628e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +#### 2.3.0: Release + + #### 2.2.2: Release - Enable multiplayer by default (#221) @knolleary From 177d3a942779564a08cab1a0e46dc32b7301823a Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Thu, 11 Apr 2024 09:43:36 +0100 Subject: [PATCH 2/3] Update version to 2.3.0 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index a5d34df..f713c28 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@flowfuse/nr-launcher", - "version": "2.2.2", + "version": "2.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@flowfuse/nr-launcher", - "version": "2.2.2", + "version": "2.3.0", "license": "Apache-2.0", "dependencies": { "@flowfuse/nr-file-nodes": "^0.0.5", diff --git a/package.json b/package.json index 9847708..fe3aad8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@flowfuse/nr-launcher", - "version": "2.2.2", + "version": "2.3.0", "description": "FlowFuse Launcher for running Node-RED", "exports": { "./auditLogger": "./lib/auditLogger/index.js", From 56ccb22065ac67c840b8a8dac3f9195ae9bb69ef Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Fri, 12 Apr 2024 09:57:42 +0100 Subject: [PATCH 3/3] Add shell option to npm spawn command --- lib/launcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/launcher.js b/lib/launcher.js index 2495fcd..dc1cd00 100644 --- a/lib/launcher.js +++ b/lib/launcher.js @@ -223,7 +223,7 @@ class Launcher { const child = childProcess.spawn( npmCommand, ['install', '--omit=dev', '--no-audit', '--no-update-notifier', '--no-fund'], - { windowsHide: true, cwd: path.join(this.settings.rootDir, this.settings.userDir), env: npmEnv }) + { windowsHide: true, cwd: path.join(this.settings.rootDir, this.settings.userDir), env: npmEnv, shell: true }) child.stdout.on('data', (data) => { this.logBuffer.add({ level: 'system', msg: '[npm] ' + data }) })