Enforce npm v7 and node 14+ #127

Merged
a3thakra merged 5 commits from adi-enforce-node-version into main 2021-08-08 18:14:10 -04:00
Owner

All renovate PRs will use npm v7

Up until now, renovate was using npm v6 to generate PRs for dependency updates. Because the lockfile format changed from v6 to v7, there was a very big diff in the what deps we're installing. Enforcing npm v7 in package.json makes renovate use npm v7 as well.

Added npm v7 and node 14+ restrictions to package.json

This should print out a warning if the user is not using those versions of node and npm.

CI is upgraded to node 16

The node:14 image bundles npm v6, and is the current LTS, but node:16 will be LTS soon (October 2021) and bundles in npm v7. So we might as well move our CI to node 16. Right now, CI is installing deps with npm v6, and things can potentially go wrong with that.

Enabled the dependency dashboard for renovatebot

This should create an issue that acts as a dashboard for tracking all renovatebot PRs.

## All renovate PRs will use npm v7 Up until now, renovate was using npm v6 to generate PRs for dependency updates. Because the lockfile format changed from v6 to v7, there was a very big diff in the what deps we're installing. Enforcing npm v7 in package.json makes renovate use npm v7 as well. ## Added npm v7 and node 14+ restrictions to package.json This should print out a warning if the user is not using those versions of node and npm. ## CI is upgraded to node 16 The `node:14` image bundles npm v6, and is the current LTS, but `node:16` will be LTS soon (October 2021) and bundles in npm v7. So we might as well move our CI to node 16. Right now, CI is installing deps with npm v6, and things can potentially go wrong with that. ## Enabled the dependency dashboard for renovatebot This should create an issue that acts as a dashboard for tracking all renovatebot PRs.
a3thakra added 5 commits 2021-08-07 21:52:26 -04:00
continuous-integration/drone/push Build is passing Details
70ea081fa2
Enforce node and npm version in package.json
continuous-integration/drone/push Build is passing Details
a24cd749b6
Enable dependency dashboard
continuous-integration/drone/push Build is passing Details
0cc966565b
Update CI to use node 16
a3thakra changed title from Enforce that we are using npm v7 and node 14+ to Enforce npm v7 and node 14+ 2021-08-08 14:27:37 -04:00
a3thakra requested review from n3parikh 2021-08-08 16:40:00 -04:00
a3thakra requested review from d43su 2021-08-08 16:40:19 -04:00
a3thakra merged commit 2031935ce4 into main 2021-08-08 18:14:10 -04:00
a3thakra deleted branch adi-enforce-node-version 2021-08-08 18:14:17 -04:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: www/www-new#127
No description provided.