Skip to content
Browse files
docs(private-packages): add a note about Yarn 2+ (#11692)
  • Loading branch information
ylemkimon committed Sep 12, 2021
1 parent fe45377 commit 0a5cee1f2540841ac21e5adebeec4d196dc50ef9
Showing with 6 additions and 0 deletions.
  1. +6 −0 docs/usage/getting-started/
@@ -259,6 +259,12 @@ However be aware that if your `.npmrc` is too big to encrypt then the above comm

#### Yarn 2+

Renovate doesn't support reading `npmRegistries` and `npmScopes` from `.yarnrc.yml`, so `hostRules` (or `npmToken`) and `npmrc` should be configured like above.
Renovate updates `npmRegistries` in `.yarnrc.yml` with resolved `hostRules` before running Yarn.
For Renovate to overwrite existing `npmRegistries` entry, the key should match the `matchHost` without the protocol (`http:` or `https:`) and with the trailing slash.

### nuget

For each known NuGet registry, Renovate searches for `hostRules` with `hostType=nuget` and matching host.

0 comments on commit 0a5cee1

Please sign in to comment.