SAFE-Stack / SAFE-template

dotnet CLI template for SAFE project
MIT License
282 stars 87 forks source link

How do we decide tool versions? #480

Closed mattgallagher92 closed 2 years ago

mattgallagher92 commented 2 years ago

In commit 50a9aa1c4e2fe235dec6b76fa94f6fa02dd61c91 (30 Mar 2021), the npm lockfileVersion was updated to 2. The package-lock.json docs suggest this implies use of npm version 7+. At the time of the commit, the version of npm distributed with the LTS version of node ("recommended for most users") was 6.14.11, hence this is what I was using. This meant that when I used npm for new SAFE apps, I was getting lots of diff noise in package-lock.json. I then had to choose between updating node to a version not recommended for most users, or committing a noisy diff.

Although it didn't on 26 Oct, the LTS version of node now comes with npm v8, so this is no longer a problem. There are a few questions that it raises though:

mattgallagher92 commented 2 years ago

Discussed with Maxime and Tomasz: