title: Is there any way to fix package-lock.json lockfileVersion so npm uses a specific format?
body: <p>If two different developers are using different versions of node (12/15) &amp; npm (6/7) in a project that was originally created using a <code>package-lock.json</code> <code>&quot;lockfileVersion&quot;: 1</code>, when the developer using npm 7x installs new packages it seems that the <code>package-lock.json</code> is re-created using <code>&quot;lockfileVersion&quot;: 2</code>.</p>
  <p>This seems to cause issues for the developer using npm v6, as it tries to work with the <code>lockfileVersion 2</code>, but it ends up producing new diffs.</p>
  <blockquote>
  <p>npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!</p>
  </blockquote>
  <p>Is there any way to specify to newer versions of <code>npm</code> to <strong>only</strong> use <code>&quot;lockfileVersion&quot;: 1</code>? Or do we just have to get all devs on the same version of <code>npm</code>?</p>