npm-cli-login
npm-cli-login copied to clipboard
Expose ssl.strict configuration
Allow setting the ssl.strict
flag on the underlying npm-registry-client
, to allow publishing to repositories with self-signed certificates.
This is facilitated, by setting the environment variable NCL_SSL_STRICT
to false
.
e.g.
export NCL_SSL_STRICT=false
npm-cli-login -u admin -p admin123 -e [email protected] -r https://repo/repository/npm-internal
(Ideally it would be better to expose all settings, specifically ssl.ca
, and not just skipping ssl verification, but I'll leave that for another day.)
Er... can anyone help?
@nickgrealy can you rebase on the latest master?
Any news on this?