Is this a feature or a bug?
Please describe the actual behavior.
'rush publish -p' tries to upload packages to registry.npmjs.org instead of a different registry that's been configured in .npmrc and shrinkwrap.yml
If the issue is a bug, how can we reproduce it? Please provide detailed steps and include a GitHub branch if applicable. Your issue will get resolved faster if you can make it easy to investigate.
- Set a custom (non-default) registry inside .npmrc and shrinkwrap.yml
- Run
rush publish -p
- Observe: the command fails with the following error message
npm ERR! 401 Unauthorized - PUT https://registry.npmjs.org/my-app - You must be logged in to publish packages.
What is the expected behavior?
Packages should be published to registry specified in step 1
If this is a bug, please provide the tool version, Node.js version, and OS.
- Tool: rush
- Tool Version: 5.17
- Node Version: 10.16.0
- Is this a LTS version? yes
- Have you tested on a LTS version? yes
- OS: macOS 10.15.1
Is this a feature or a bug?
Please describe the actual behavior.
'rush publish -p' tries to upload packages to registry.npmjs.org instead of a different registry that's been configured in .npmrc and shrinkwrap.yml
If the issue is a bug, how can we reproduce it? Please provide detailed steps and include a GitHub branch if applicable. Your issue will get resolved faster if you can make it easy to investigate.
rush publish -pWhat is the expected behavior?
Packages should be published to registry specified in step 1
If this is a bug, please provide the tool version, Node.js version, and OS.