Skip to content

Commit 8e8dadb

Browse files
feat: add u as alias for update command (#9246)
Backport of #9163 to `release/v11`. Co-authored-by: Josua Michalak <michalak.josua@googlemail.com>
1 parent 032a5ca commit 8e8dadb

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

lib/utils/cmd-list.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ const aliases = {
9898
i: 'install',
9999
it: 'install-test',
100100
cit: 'install-ci-test',
101+
u: 'update',
101102
up: 'update',
102103
c: 'config',
103104
s: 'search',

tap-snapshots/test/lib/docs.js.test.cjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ Object {
8181
"sit": "install-ci-test",
8282
"t": "test",
8383
"tst": "test",
84+
"u": "update",
8485
"udpate": "update",
8586
"un": "uninstall",
8687
"unlink": "uninstall",
@@ -6071,14 +6072,14 @@ Options:
60716072
When set file: protocol dependencies will be packed and installed as
60726073
60736074
6074-
aliases: up, upgrade, udpate
6075+
aliases: u, up, upgrade, udpate
60756076
60766077
Run "npm help update" for more info
60776078
60786079
\`\`\`bash
60796080
npm update [<pkg>...]
60806081
6081-
aliases: up, upgrade, udpate
6082+
aliases: u, up, upgrade, udpate
60826083
\`\`\`
60836084
60846085
#### \`save\`

0 commit comments

Comments
 (0)