There's more...
Azure Artifact feeds require authentication. So, you will need to store the credentials in the .npmrc file along with the registry URL. Microsoft recommends keeping two .npmrc files: first, the .npmrc file at the root of the repository with just the registry URL, which you can commit into the source control so that team members can share and connect to the same feed; and second, the .npmrc file in your HOME directory, which includes the generated credentials. This approach enables you to share the project's .npmrc file with the whole team while keeping your credentials secure.
Generate npm credentials on the Connect to feed dialog generates a 90-day token, which you can use in your .npmrc file. If you would like the token ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access