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

Adds Yarn v2 Support #44

Closed KyleBastien closed 3 years ago

KyleBastien commented 3 years ago

Adds Yarn v2 Support to better-vsts-npm-auth.

Implements yarn v2 support by adding a check in index.ts which detects the presence of a .yarnrc.yml file. If that is detected then the new YarnrcYml class is used instead of Npmrc.

Fixes #38

zumwald commented 3 years ago

I owe this a refactor, you did a nice job wading through the cruft. lgtm

zumwald commented 3 years ago

Sigh - I'm working on getting this published but running into some issues with my 2FA configuration. If you need to consume this latest commit and need pointers on workarounds just reply here or shoot me an email at better-vsts-npm-auth@danzumwalt.com and I'll be happy to help you through it while I troubleshoot my own situation in my limited free time :P.

KyleBastien commented 3 years ago

@zumwald Thanks for working on getting this published, sorry you're having issues with 2FA!