Skip to content

private package support: pass 'authorization' header through on index/tar gets #65

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 10, 2016
Merged

private package support: pass 'authorization' header through on index/tar gets #65

merged 1 commit into from
Jun 10, 2016

Conversation

scottnonnenberg
Copy link
Contributor

Fixes #60

I recently started using npm private packages instead of sinopia, and I was sad that I had to give up offline npm install. Found this package, but realized that it didn't support private packages!

This is a very simple change, since npm uses a bearer token. We pipe that through to downstream requests to the npm registry. Because npm_lazy already proxies other requests, you can do an npm login like normal. :0)

Thanks for this package, by the way. Offline installs are important!

@mixu
Copy link
Owner

mixu commented Jun 10, 2016

awesome! thanks for looking into this. I'll merge and publish a new version..

@mixu mixu merged commit d2dc4ce into mixu:master Jun 10, 2016
@mixu
Copy link
Owner

mixu commented Jun 10, 2016

published as v1.11.0

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.

2 participants