Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade NPM to v7 #2086

Merged
merged 5 commits into from Mar 21, 2021
Merged

Upgrade NPM to v7 #2086

merged 5 commits into from Mar 21, 2021

Conversation

tunetheweb
Copy link
Member

@tunetheweb tunetheweb commented Mar 21, 2021

Node 12 that we use (and even node 14) includes npm 6.

However npm prompts you to upgrade, which I suspect most people do (or at least I have!). The package-lock,json file format changes in npm 7 and, as that is checked in, it leads to a changed file after running 'npm install'.

Annoyingly it seems you cannot upgrade npm separately and after a few attempts I figured it's easier to just go to node v15 (which includes npm v7) in our actions. Note there is no need to go beyond node v12 locally (with npm 7) as we don't use anything (other than npm) which is different between the two.

@tunetheweb tunetheweb added the development Building the Almanac tech stack label Mar 21, 2021
@tunetheweb tunetheweb added this to the 2020 Backlog milestone Mar 21, 2021
@tunetheweb tunetheweb added this to TODO in 2020 via automation Mar 21, 2021
@tunetheweb tunetheweb merged commit 9c59704 into main Mar 21, 2021
2020 automation moved this from TODO to Done Mar 21, 2021
@tunetheweb tunetheweb deleted the npm-version-upgrade branch March 21, 2021 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Building the Almanac tech stack
Projects
No open projects
2020
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant