feat: add npmToken, npmrc and yarnrc configuration support (#753)
Renovate config can now support the fields `npmToken`, `npmrc` and `yarnrc`. `npmrc` and `yarnrc` (note no `.` prefix) can be used as an alternative to checking the respective files into the repo and have the same effect. `npmToken` is a shorter alternative and allows for just the npm token to be added, defaulting to the public npm registry.
Showing
- docs/configuration.md 27 additions, 0 deletionsdocs/configuration.md
- docs/faq.md 5 additions, 3 deletionsdocs/faq.md
- lib/config/definitions.js 19 additions, 0 deletionslib/config/definitions.js
- lib/config/massage.js 3 additions, 0 deletionslib/config/massage.js
- lib/config/presets.js 2 additions, 2 deletionslib/config/presets.js
- lib/logger/config-serializer.js 7 additions, 1 deletionlib/logger/config-serializer.js
- lib/workers/branch/lock-files.js 11 additions, 0 deletionslib/workers/branch/lock-files.js
- lib/workers/package-file/index.js 2 additions, 2 deletionslib/workers/package-file/index.js
- lib/workers/package/index.js 1 addition, 5 deletionslib/workers/package/index.js
- lib/workers/repository/apis.js 13 additions, 8 deletionslib/workers/repository/apis.js
- lib/workers/repository/upgrades.js 0 additions, 1 deletionlib/workers/repository/upgrades.js
- test/config/__snapshots__/massage.spec.js.snap 7 additions, 0 deletionstest/config/__snapshots__/massage.spec.js.snap
- test/config/massage.spec.js 6 additions, 0 deletionstest/config/massage.spec.js
- test/workers/branch/lock-files.spec.js 3 additions, 1 deletiontest/workers/branch/lock-files.spec.js
- test/workers/package/__snapshots__/index.spec.js.snap 8 additions, 0 deletionstest/workers/package/__snapshots__/index.spec.js.snap
- test/workers/repository/__snapshots__/apis.spec.js.snap 0 additions, 4 deletionstest/workers/repository/__snapshots__/apis.spec.js.snap
- test/workers/repository/apis.spec.js 5 additions, 4 deletionstest/workers/repository/apis.spec.js
Loading
Please register or sign in to comment