tradle / tradleconf

CLI for managing your Tradle MyCloud instance
MIT License
5 stars 5 forks source link

Node 14 updates #19

Closed martinheidegger closed 2 years ago

martinheidegger commented 2 years ago

Mycloud has been updated to node 14. When running tradleconf against a local mycloud, it starts the local node version in the local directory

https://github.com/tradle/tradleconf/blob/8aaa0bd160565dea7c57ac4032a10d4cd759915a/src/conf.ts#L1348-L1353

This means that the node version of tradleconf needs to be the same as the node version used in mycloud.

This PR updates tradleconf to not just set the .nvmrc but also make sure that dependencies that have problems with node 10 (such as shelljs) are updated and that new Buffer isn't use which has been deprecated in node.js for a while and causes a warning in node14.

Furthermore this PR also updates a few dependencies that seem easy to update. Notably the @tradle/x dependencies should be updated both in tradleconf and mycloud at the same time I believe.