Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2022-08-25 19:46:12 +0300
committerLuke Karrys <luke@lukekarrys.com>2022-08-25 22:08:08 +0300
commitd94a9f56cce1de32bfd87f841d7678e8394d8ea6 (patch)
treec824d24fbaba33dd99ac923549428126e43fda42 /docs
parent25618229b7698aa8abbfcd2ef32024809f05a1a1 (diff)
feat: add deprecation warnings to access commands
Diffstat (limited to 'docs')
-rw-r--r--docs/content/commands/npm-access.md13
1 files changed, 6 insertions, 7 deletions
diff --git a/docs/content/commands/npm-access.md b/docs/content/commands/npm-access.md
index 162e94f1f..f7a98af65 100644
--- a/docs/content/commands/npm-access.md
+++ b/docs/content/commands/npm-access.md
@@ -35,29 +35,28 @@ For all of the subcommands, `npm access` will perform actions on the packages
in the current working directory if no package name is passed to the
subcommand.
-* public / restricted:
+* public / restricted (deprecated):
Set a package to be either publicly accessible or restricted.
-* grant / revoke:
+* grant / revoke (deprecated):
Add or remove the ability of users and teams to have read-only or read-write
access to a package.
-* 2fa-required / 2fa-not-required:
+* 2fa-required / 2fa-not-required (deprecated):
Configure whether a package requires that anyone publishing it have two-factor
authentication enabled on their account.
-* ls-packages:
+* ls-packages (deprecated):
Show all of the packages a user or a team is able to access, along with the
access level, except for read-only public packages (it won't print the whole
registry listing)
-* ls-collaborators:
+* ls-collaborators (deprecated):
Show all of the access privileges for a package. Will only show permissions
for packages to which you have at least read access. If `<user>` is passed in,
the list is filtered only to teams _that_ user happens to belong to.
-* edit:
- Set the access privileges for a package at once using `$EDITOR`.
+* edit (not implemented)
### Details