Skip to content

Commit

Permalink
Update npm lockfile to version 3 (#65923)
Browse files Browse the repository at this point in the history
Set the npm lockfile version to 3.

> 3: Only the new lockfile information introduced in npm version 7.
> Smaller on disk than lockfile version 2, but not interoperable with
> older npm versions. Ideal if all users are on npm version 7 and
> higher.

https://docs.npmjs.com/cli/v8/using-npm/config#lockfile-version

Given the engines and engine-strict setting, npm should always be
later than version 7. There should be no downsides to this change.

---

Co-authored-by: sirreal <[email protected]>
Co-authored-by: DaniGuardiola <[email protected]>
Co-authored-by: gziolo <[email protected]>
  • Loading branch information
4 people authored Oct 7, 2024
1 parent 3214be4 commit 43f0d65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 40,820 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ save-exact = true
engine-strict = true
legacy-peer-deps = true
prefer-dedupe = true
lockfile-version = 3
Loading

0 comments on commit 43f0d65

Please sign in to comment.