diff options
author | Gar <gar+gh@danger.computer> | 2022-04-20 20:07:43 +0300 |
---|---|---|
committer | Luke Karrys <luke@lukekarrys.com> | 2022-04-21 06:16:14 +0300 |
commit | 6cd6831eaa9e1681e07f6646e6f13cce344e1250 (patch) | |
tree | ba40cb52785b8014ab600a197fb674694707e533 /lib | |
parent | 392882b2413f77c8a10e14dd2d23c0b524595f25 (diff) |
docs: explain that _auth only goes to npm registry
Diffstat (limited to 'lib')
-rw-r--r-- | lib/utils/config/definitions.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/utils/config/definitions.js b/lib/utils/config/definitions.js index f4ffb8218..4a1f971d8 100644 --- a/lib/utils/config/definitions.js +++ b/lib/utils/config/definitions.js @@ -147,6 +147,8 @@ define('_auth', { type: [null, String], description: ` A basic-auth string to use when authenticating against the npm registry. + This will ONLY be used to authenticate against the npm registry. For other + registries you will need to scope it like "//other-registry.tld/:_auth" Warning: This should generally not be set via a command-line option. It is safer to use a registry-provided authentication bearer token stored in |