The public registry was being used for npm exec azureauth when actually running the command, but not when checking if it's installed. This led to an incorrect message "Error: AzureAuth is not installed" when actually it was installed.
This PR updates azureAuthCommand() to also return the env with npm_config_registry set, and updates the calling code to pass it through.
I also updated the repo root package.json to have scripts for repo-wide build/test/etc.
(I'm guessing the pnpm-lock.yaml updates were caused by me having a different local pnpm version than whoever set up the repo. The PR build also failed without the lock file updates, so if you'd like to lock to an earlier pnpm version, that should probably be specified using corepack.)
The public registry was being used for
npm exec azureauth
when actually running the command, but not when checking if it's installed. This led to an incorrect message "Error: AzureAuth is not installed" when actually it was installed.This PR updates
azureAuthCommand()
to also return theenv
withnpm_config_registry
set, and updates the calling code to pass it through.I also updated the repo root package.json to have scripts for repo-wide build/test/etc.
(I'm guessing the
pnpm-lock.yaml
updates were caused by me having a different local pnpm version than whoever set up the repo. The PR build also failed without the lock file updates, so if you'd like to lock to an earlier pnpm version, that should probably be specified using corepack.)