puppet-nodejs icon indicating copy to clipboard operation
puppet-nodejs copied to clipboard

Support for @scoped packages

Open mikerandall opened this issue 8 years ago • 5 comments

Description

Need the ability to sign in and retrieve privately scoped NPM modules. A username and password field on the package would work, but it might be nice to use an .npmrc file that would be placed in the image.

mikerandall avatar Mar 24 '16 19:03 mikerandall

@mikerandall have you tried ~/.npmrc?

grafjo avatar Mar 24 '16 21:03 grafjo

Yes, but that isn't the problem. There's no way to download scoped packages, and no way to sign in as a user with the current configuration. As more people stop using Bower, scoped packages are going to become more popular.

mikerandall avatar Mar 24 '16 21:03 mikerandall

According to the docs (https://docs.npmjs.com/misc/scope) it should be possible to do this with some npm commands. It should be possible to do this with the usage of "exec", but actually you're right, such a feature should exist in 2.0 :)

Am 24.03.2016 um 22:46 schrieb Mike Randall [email protected]:

Yes, but that isn't the problem. There's no way to download scoped packages, and no way to sign in as a user with the current configuration. As more people stop using Bower, scoped packages are going to become more popular.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub

Ma27 avatar Mar 25 '16 07:03 Ma27

postponing to 2.1: 2.0 contains some important releases and it would be nice to get a release in the next time

Ma27 avatar Mar 24 '17 20:03 Ma27

@mikerandall just so you know - I still know about this feature request, I'm unfortunately way to busy with different things, so I'm currently unable to do active feature development for puppet-nodejs (sorry about that!) I don't know if you're still in need for this, but I don't think that I'll be able to do this in near time :(

It would be totally awesome if you could file a patch, but no rush, we'll see if I have time for this in the future :)

Ma27 avatar Apr 14 '18 17:04 Ma27