Open armandoisaac opened 2 years ago
Thanks! I will review it in the next days. Just one consideration: usually in these cases I configure the npm registry to mirror the public registry. So that I can use a single registry for all... Maybe you can also solve in this way?
Thanks @davideicardi , unfortunately I can't modify the repo settings as was configured like this per company policy. I hope this PR can help this scenario and other ones.
This PR adds support for installing an NPM package from a private repository while installing all other packages from another repo. This PR also allows passing the encoded token to basic authentication in the event we already have it as base64.
Scenario to cover: A package has been pushed to a private repo. While installing, the NPM package needs to be installed from the private repo while the dependencies needs to come from the default public repository.