microsoft / ado-npm-auth

This package can automatically use the azureauth CLI to fetch tokens and update a user's .npmrc file for authenticating to Azure DevOps npm feeds.
MIT License
9 stars 7 forks source link

Support for Rush #18

Open jonchurch opened 4 months ago

jonchurch commented 4 months ago

Turns out my repo DOES have an .npmrc file, but it is under common/config/rush/.npmrc

Ideally we can have the tool discover this when using rush.

This can be accomplished by checking the existence of a rush.json file, and then checking the default location: common/config/rush/.npmrc