Skip to content

Commit ce7dcc5

Browse files
committed
fix!: remove npm adduser command
BREAKING CHANGE: The `npm adduser` command has been removed. Create and manage user accounts on the npm website, and use `npm login` to authenticate on the command line.
1 parent 6cb34ca commit ce7dcc5

27 files changed

Lines changed: 83 additions & 465 deletions

docs/lib/content/commands/npm-adduser.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

docs/lib/content/commands/npm-deprecate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ npm deprecate my-thing@1.x "1.x is no longer supported"
2828
In this case, a version `my-thing@1.0.0-beta.0` will also be deprecated.
2929

3030
You must be the package owner to deprecate something.
31-
See the `owner` and `adduser` help topics.
31+
See the `owner` and `login` help topics.
3232

3333
To un-deprecate a package, specify an empty string (`""`) for the `message` argument.
3434
Note that you must use double quotes with no space between them to format an empty string.
@@ -43,4 +43,4 @@ Note that you must use double quotes with no space between them to format an emp
4343
* [npm publish](/commands/npm-publish)
4444
* [npm registry](/using-npm/registry)
4545
* [npm owner](/commands/npm-owner)
46-
* [npm adduser](/commands/npm-adduser)
46+
* [npm login](/commands/npm-login)

docs/lib/content/commands/npm-logout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ If `--scope` is provided, this will find the credentials for the registry connec
2424

2525
### See Also
2626

27-
* [npm adduser](/commands/npm-adduser)
27+
* [npm login](/commands/npm-login)
2828
* [npm registry](/using-npm/registry)
2929
* [npm config](/commands/npm-config)
3030
* [npm whoami](/commands/npm-whoami)

docs/lib/content/commands/npm-owner.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ If you have two-factor authentication enabled with `auth-and-writes` (see [`npm-
3535
* [npm profile](/commands/npm-profile)
3636
* [npm publish](/commands/npm-publish)
3737
* [npm registry](/using-npm/registry)
38-
* [npm adduser](/commands/npm-adduser)
38+
* [npm login](/commands/npm-login)

docs/lib/content/commands/npm-profile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Some of these commands may not be available on non npmjs.com registries.
5555

5656
### See Also
5757

58-
* [npm adduser](/commands/npm-adduser)
58+
* [npm login](/commands/npm-login)
5959
* [npm registry](/using-npm/registry)
6060
* [npm config](/commands/npm-config)
6161
* [npmrc](/configuring-npm/npmrc)

docs/lib/content/commands/npm-publish.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ See [`package.json`](/configuring-npm/package-json) for more info on what can an
9898
* [npm-packlist package](http://npm.im/npm-packlist)
9999
* [npm registry](/using-npm/registry)
100100
* [npm scope](/using-npm/scope)
101-
* [npm adduser](/commands/npm-adduser)
101+
* [npm login](/commands/npm-login)
102102
* [npm owner](/commands/npm-owner)
103103
* [npm deprecate](/commands/npm-deprecate)
104104
* [npm dist-tag](/commands/npm-dist-tag)

docs/lib/content/commands/npm-star.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ You can see all your starred packages using [`npm stars`](/commands/npm-stars)
4141
* [npm stars](/commands/npm-stars)
4242
* [npm view](/commands/npm-view)
4343
* [npm whoami](/commands/npm-whoami)
44-
* [npm adduser](/commands/npm-adduser)
44+
* [npm login](/commands/npm-login)

docs/lib/content/commands/npm-stars.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ You may also want to see your friend's favorite packages, in this case you will
2424
* [npm unstar](/commands/npm-unstar)
2525
* [npm view](/commands/npm-view)
2626
* [npm whoami](/commands/npm-whoami)
27-
* [npm adduser](/commands/npm-adduser)
27+
* [npm login](/commands/npm-login)

docs/lib/content/commands/npm-token.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ A revoked token will immediately be removed from the registry and you will no lo
3434

3535
### See Also
3636

37-
* [npm adduser](/commands/npm-adduser)
37+
* [npm login](/commands/npm-login)
3838
* [npm registry](/using-npm/registry)
3939
* [npm config](/commands/npm-config)
4040
* [npmrc](/configuring-npm/npmrc)

docs/lib/content/commands/npm-unpublish.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Consider using the [`deprecate`](/commands/npm-deprecate) command instead, if yo
1818

1919
This removes a package version from the registry, deleting its entry and removing the tarball.
2020

21-
The npm registry will return an error if you are not [logged in](/commands/npm-adduser).
21+
The npm registry will return an error if you are not [logged in](/commands/npm-login).
2222

2323
If you do not specify a package name at all, the name and version to be unpublished will be pulled from the project in the current directory.
2424

@@ -38,6 +38,5 @@ If you unpublish the entire package, you may not publish any new versions of tha
3838
* [npm deprecate](/commands/npm-deprecate)
3939
* [npm publish](/commands/npm-publish)
4040
* [npm registry](/using-npm/registry)
41-
* [npm adduser](/commands/npm-adduser)
4241
* [npm owner](/commands/npm-owner)
43-
* [npm login](/commands/npm-adduser)
42+
* [npm login](/commands/npm-login)

0 commit comments

Comments
 (0)