The code for creating an ADO PAT appears to be duplicated between two places in different packages. This makes is confusing for new people to make contributions, and is also just a poor design.
To Reproduce
See packages/node-azureauth/src/pat.ts and packages/ado-npm-auth/src/azureauth/ado.ts
Expected behavior
One file should have most of this code and then it gets imported in other places
Screenshots
Example these types
Additional context
This likely happened as an oversight when we migrated the code
Describe the bug
The code for creating an ADO PAT appears to be duplicated between two places in different packages. This makes is confusing for new people to make contributions, and is also just a poor design.
To Reproduce See packages/node-azureauth/src/pat.ts and packages/ado-npm-auth/src/azureauth/ado.ts
Expected behavior One file should have most of this code and then it gets imported in other places
Screenshots Example these types![image](https://github.com/microsoft/ado-npm-auth/assets/22772721/3dbe48d2-5fc7-4a66-82cc-2aeccecc13d4)
Additional context This likely happened as an oversight when we migrated the code