Bug Fixes
- 🐛 check error code to prevent data loss (5d73dca) fix #329
- Fix #334 UI failure on IE 11, add suppor for old browsers. (f1f15be)
Features
- header authorization uplink (7baf7cb)
The new feature header authorization uplink
helps to integrate verdaccio
with CI tools via configuration file.
Usage
uplinks:
npmjs:
url: https://registry.npmjs.org/
auth:
type: bearer | basic,
token: "token",
token_env: true | <get name process.env> `NPM_TOKEN`
Note:
token
has priority overtoken_env
.
Iftoken_env
is equalstrue
, the app useNPM_TOKEN
by default, otherwise, whatever you define ontoken_env
will becomes the env variable you will use. Eg:token_env: FOO_TOKEN
internally will useprocess.env['FOO_TOKEN']