zumwald / better-vsts-npm-auth

Platform agnostic library and acompanying oauth service enabling developers to easily obtain and use tokens for authorizing NPM feeds in VSTS
MIT License
49 stars 15 forks source link

add always auth when present in config #76

Open fawadasaurus opened 7 months ago

fawadasaurus commented 7 months ago

When using azuredevops, the ~/.yarnrc.yml file needs to contain npmAlwaysAuth for each registry for it to work properly. This reads the project config and if the project says alwaysauth, it will add alwaysauth in the user's yarnrc file.