Skip to content

Conversation

@thonythony
Copy link

Hello,

In my company we use a private registry (Nexus). Our registry is restricted by a basic authentication.
When we want to execute npm-consider install --test --production, the command fails when requesting package details because request is unauthorized.
So I suggest this feature :
If environment variables PRIVATE_REGISTRY_USER and PRIVATE_REGISTRY_PASSWORD are provided, then I encode them in base64 and I fill Authorization header in order to perform basic authentication.
We have tested it in our environment.

Is it ok for you ?

@thonythony
Copy link
Author

@delfrrr Hi! Have you reviewed my pull request ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant