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

Update lockfiles to v3 #1366

Merged
merged 2 commits into from
Nov 15, 2022
Merged

Update lockfiles to v3 #1366

merged 2 commits into from
Nov 15, 2022

Conversation

henrymercer
Copy link
Contributor

@henrymercer henrymercer commented Nov 14, 2022

Lockfile v3 works with npm v7 and later (source). We're currently using npm v8, so we can simplify our lockfiles a bit by updating the lockfile version. Also add an .npmrc specifying which lockfile version to use, such that both npm v8 (used for compatibility with checks that run on Node 12) and npm v9 (which contributors might be running on their local machine) will generate v3 lockfiles.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

@henrymercer henrymercer requested a review from a team as a code owner November 14, 2022 22:06
Copy link
Contributor

@aeisenberg aeisenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this will work. Our tests for v1 do not rely on lockfile v2.

@henrymercer henrymercer merged commit 35086e7 into main Nov 15, 2022
@henrymercer henrymercer deleted the henrymercer/update-lockfile branch November 15, 2022 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants