uber-archive / npm-shrinkwrap

A consistent shrinkwrap tool
MIT License
773 stars 47 forks source link

Github urls gets converted to https after being installed through ssh #113

Open tarikjn opened 8 years ago

tarikjn commented 8 years ago

We are using private dependencies with the url format <githubname>/<githubrepo>[#<commit-ish>] in package.json. They get installed through ssh, however, when using npm-shrinkwrap the resolve url gets changed to https and thus shrinkwrapping breaks the installation.

Interestingly npm shrinkwrap has the same issue, but I would expect npm-shrinkwrap to fix this.

LINKIWI commented 8 years ago

npm-shrinkwrap directly invokes npm shrinkwrap as part of its execution procedure. If this is broken in npm, it will translate to here as well, so what you describe is actually expected behavior.