1520fb6474
Support setting authToken to use a token for upload rather than username/password. This is "based" on Id0c47d088d6e8febbae3c96caecc81ebe247754e which does the same for pypi. There we run a test by uploading to the test pypi server, I'm not aware of a similar thing for npm. Change-Id: Ie8610bdfaa33b2120a61802c12e6ba534fe55464 |
||
---|---|---|
.. | ||
defaults | ||
tasks | ||
templates | ||
README.rst |
Upload javascript packages to npm
Role Variables
Complex argument which contains the information about the npm server as well as the authentication information needed. It is expected that this argument comes from a Secret. This role expects to be run on the executor.
Username to use to log in to npm.
Password to use to log in to npm.
An auth token (issued from the npm server) to authenticate with. This is required if you are using two-factor authentication. If specifying an authToken you should not specify
`username
andpassword
.Email associated with the npm account.
npm author name.
npm author url.
npm author email.