A number of webapps and plugins are installed as part of the server install during npm install signalk-server
They are included in package.json as optionalDependencies
Some use cases not covered with the current system:
"bare bones install": no plugins and webapps, just the server. You can exclude the npm install --omit=optional, but also serialport is now optional and should be included in most cases. It is in optional because it may fail on some platforms. Making serialport a hard dependency can be considered
removal of default plugins is not supported. furthermore you can upgrade them from the app store, but removing the upgraded version reveals the underlying version that was installed during server install, causing confusion #1663
"install the server and my dependencies": there is no out of the box way for including a custom list of plugins to install. you can run npm install --save in settings directory or create a package.json there and then run npm install there. this could be addressed with a postinstall script that would install whatever exists in settings package.json
https://github.com/SignalK/signalk-server/issues/1663#issuecomment-1912261565
Now:
npm install signalk-server
optionalDependencies
Some use cases not covered with the current system:
npm install --omit=optional
, but also serialport is now optional and should be included in most cases. It is in optional because it may fail on some platforms. Making serialport a hard dependency can be considerednpm install --save
in settings directory or create a package.json there and then runnpm install
there. this could be addressed with a postinstall script that would install whatever exists in settings package.json