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 function to extract ADO information from URL #21

Closed jonchurch closed 4 months ago

jonchurch commented 4 months ago

Per our convo on teams @jcreamer898, here is a cleaner way to extract org/project from an ADO url and deal with older and newer ADO urls