I have been tasked with something that is entirely outside of my knowledge. Using devops...
What I am asked to do is take a typescript library, compile it into an npm package, publish it to DevOps (as an artifact?) and pull it as a dependency to an angular project.
I have never worked with devops, and none of my colleagues have an idea how I can do this, which brings me to SO for help...
I have so far managed to get a pipeline to run npm install and npm build and made an access token. The problem I think I am having is that I cannot access the npm package from the server in my VSCode... It is telling me I do not have the right credentials... as it is giving me a E401 with unable to authenticate...
https://hatebin.com/pjntlhjocn
Edit: I have tried the steps https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=preview-page. the mention needing to use password and username with the PAT. but its not specified where...
npm installin the angular project?npm installfollowed bynpm publishwhich made it appear in the artifacts. From there I need to download it as a dependency for angular