Complete the code to create a new Azure Artifacts feed using Azure CLI.
az artifacts feed create --name [1] --project MyProjectThe --name parameter specifies the name of the new feed. Here, MyFeed is the correct feed name.
Complete the command to list all packages in an Azure Artifacts feed.
az artifacts package list --feed [1] --project MyProjectThe --feed parameter requires the feed name to list packages inside it. MyFeed is the correct feed name.
Fix the error in the command to publish a package to Azure Artifacts.
az artifacts universal publish --feed [1] --name MyPackage --version 1.0.0 --path ./package
The --feed parameter must be the feed name where the package will be published. MyFeed is correct.
Fill both blanks to configure npm to use an Azure Artifacts feed.
npm set registry https://pkgs.dev.azure.com/[1]/_packaging/[2]/npm/registry/
The URL requires the organization name and the feed name. MyOrganization is the organization, and MyFeed is the feed.
Fill all three blanks to authenticate npm with Azure Artifacts using a personal access token.
echo //pkgs.dev.azure.com/[1]/_packaging/[2]/npm/registry/:_authToken=[3] >> ~/.npmrc
The authentication line needs the organization name, feed name, and the personal access token to allow npm to access the feed.