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

Specify Lock file version in .npmrc config #7141

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

coliff
Copy link
Contributor

@coliff coliff commented Mar 12, 2024

Summary

By setting lockfileVersion to 3 it instructs npm to use the third version of the lockfile format.

This helps prevent the lockfileversion from changing (reverting to an older version).

Info: https://docs.npmjs.com/cli/v7/configuring-npm/package-lock-json#lockfileversion

Test plan

n/a

Checklist

Please add a x inside each checkbox:

A picture of a cute animal (not mandatory but encouraged)

baby-seal

Helps prevent the lockfileversion from changing (reverting to an older version).
@coliff coliff requested a review from a team as a code owner March 12, 2024 14:45
@coliff coliff changed the title Specify Lock file version in .npmrc config Specify Lock file version in .npmrc config Mar 12, 2024
@martinjagodic martinjagodic enabled auto-merge (squash) March 12, 2024 15:00
@martinjagodic martinjagodic merged commit 84ec574 into decaporg:master Mar 13, 2024
13 checks passed
@coliff coliff deleted the patch-1 branch March 13, 2024 15:36
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