decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.65k stars 3.02k forks source link

Specify Lock file version in `.npmrc` config #7141

Closed coliff closed 3 months ago

coliff commented 3 months ago

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