Skip to content

Commit 2e6cfee

Browse files
authored
Merge pull request #284597 from microsoft/tyriar/284593_npm_spec__actual_spec
Add --package-lock-only to npm i flags
2 parents 2083450 + 6aca02c commit 2e6cfee

File tree

1 file changed

+4
-0
lines changed
  • extensions/terminal-suggest/src/completions

1 file changed

+4
-0
lines changed

extensions/terminal-suggest/src/completions/npm.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,10 @@ const completionSpec: Fig.Spec = {
455455
description:
456456
'Bypass peerDependency auto-installation. Emulate install behavior of NPM v4 through v6',
457457
},
458+
{
459+
name: '--package-lock-only',
460+
description: 'Only update the `package-lock.json`, instead of checking `node_modules` and downloading dependencies.',
461+
},
458462
{
459463
name: '--strict-peer-deps',
460464
description:

0 commit comments

Comments
 (0)