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

Add instructions for authenticating with a feed for the first time #5

Closed vritant24 closed 4 months ago

vritant24 commented 4 months ago

Ran into issues where I couldn't figure out how to authenticate my feed without an existing PAT, and only figured it out by looking through code. Added instructions to the README so others don't run into the same situation. Happy to update/reword on feedback

Stuart-Wilcox commented 4 months ago

While I like the idea of informing users about this, I think the real solution is to just fix the code a bit to accept this use case. I guess that it's a bug that this happens, and it probably should do the skip check anyway

vritant24 commented 4 months ago

closing as fixed by commit 83e25d83d7671b9f3401f7e8386c66f6f6752f86