Enforce npm v7 and node 14+ #127

Merged
a3thakra merged 5 commits from adi-enforce-node-version into main 1 year ago
Collaborator

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 1 year ago
70ea081fa2 Enforce node and npm version in package.json
a24cd749b6 Enable dependency dashboard
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+ 1 year ago
a3thakra requested review from n3parikh 1 year ago
a3thakra requested review from d43su 1 year ago
a3thakra merged commit 2031935ce4 into main 1 year ago
a3thakra referenced this issue from a commit 1 year ago
a3thakra deleted branch adi-enforce-node-version 1 year ago

Reviewers

n3parikh was requested for review 1 year ago
d43su was requested for review 1 year ago
continuous-integration/drone/push Build is passing
The pull request has been merged as 2031935ce4.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: www/www-new#127
Loading…
There is no content yet.