Skip to content
Snippets Groups Projects
Unverified Commit 0a5cee1f authored by ylemkimon's avatar ylemkimon Committed by GitHub
Browse files

docs(private-packages): add a note about Yarn 2+ (#11692)

parent fe45377b
No related branches found
No related tags found
No related merge requests found
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment