Add --package-lock-only to npm i flags

Fixes #284593
This commit is contained in:
Daniel Imms 2025-12-20 06:28:25 -08:00
parent a3a485373b
commit 7b6fa0cea4
No known key found for this signature in database
GPG Key ID: E5CF412B63651C69

View File

@ -455,6 +455,10 @@ const completionSpec: Fig.Spec = {
description:
'Bypass peerDependency auto-installation. Emulate install behavior of NPM v4 through v6',
},
{
name: '--package-lock-only',
description: 'Only update the `package-lock.json`, instead of checking `node_modules` and downloading dependencies.',
},
{
name: '--strict-peer-deps',
description: