<h3 dir="auto">Current Behavior:</h3>

<p dir="auto">I'm currently in the middle of trying to create a patch build for my prod env and my builds are failing because my lock file is not pinning my internal git dependencies like it used to. It also takes 5mins vs npm 6's 15sec.</p>
<h3 dir="auto">Expected Behavior:</h3>

<p dir="auto">The lock file is respected and only it is consulted... no updates, no resolutions, no healing.</p>
<h3 dir="auto">Steps To Reproduce:</h3>
<p dir="auto">Install a project that has a git dependency... observe the lock file has a git hash. Blow away the node_modules, use <code class="notranslate">npm ci</code> after making some obvious change in the git dependency and observe the locked version without the change is not present and the latest is.</p>
<h3 dir="auto">Environment:</h3>
<p dir="auto">OS: linux<br>
node: 15.12.0<br>
npm: 7.8.0 (tested all the way back to 7.6...) npm 6 works as expected.</p>
<h3 dir="auto">Current Behavior:</h3>
<p dir="auto">put <code class="notranslate">package-lock=false</code> in <code class="notranslate">.npmrc</code>.</p>
<p dir="auto">Run <code class="notranslate">npm install --package-lock-only</code>.</p>
<h3 dir="auto">Expected Behavior:</h3>
<p dir="auto">a package-lock.json is generated.</p>
<h3 dir="auto">Steps To Reproduce:</h3>
<p dir="auto">See above.</p>
<h3 dir="auto">Environment:</h3>
<ul dir="auto">
<li>npm: 7.5.4</li>
</ul>
<p dir="auto">This is a regression from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="402441600" data-permission-text="Title is private" data-url="https://github.com/npm/cli/issues/146" data-hovercard-type="pull_request" data-hovercard-url="/npm/cli/pull/146/hovercard" href="https://github.com/npm/cli/pull/146">#146</a> / v6.9.0.</p>
<p dir="auto">(possibly related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="768208995" data-permission-text="Title is private" data-url="https://github.com/npm/cli/issues/2358" data-hovercard-type="pull_request" data-hovercard-url="/npm/cli/pull/2358/hovercard" href="https://github.com/npm/cli/pull/2358">#2358</a>)</p>