Expand description
Yarn Berry / Yarn Modern (.yarnrc.yml) configuration management.
Handles parsing, updating, and writing npmScopes authentication entries
(npmAlwaysAuth and npmAuthToken) in .yarnrc.yml files.
Functionsยง
- transform_
yarnrc_ contents - Transforms Yarn Modern (
.yarnrc.yml) content in memory to insert authentication tokens for detected scopes. - transform_
yarnrc_ contents_ with_ policy - Transform Yarn configuration using the same registry policy as npm.
- update_
yarn_ configs - Updates
.yarnrc.ymlfiles with the access token. - update_
yarn_ configs_ with_ policy - Update Yarn configuration with an explicit registry-domain policy.