FlowFuse / device-agent

An agent to run FlowFuse managed instances of Node-RED on devices
Apache License 2.0
15 stars 8 forks source link

Update `package.json` with user defined node-red version #254

Closed Steve-Mcl closed 2 months ago

Steve-Mcl commented 2 months ago

NOTE: Part 2 of 2. Only merge when both this and the flowfuse counterpart are both approved.

Description

As per Solutions option 2 in issue discussion:

Update the writeConfiguration logic in the Device agent to notice when editor.noderedVersion has been provided and update the package.json / call installDependencies

Related Issue(s)

https://github.com/FlowFuse/flowfuse/issues/2802

Checklist

Labels