MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/bn3in2/github_package_registry/en3n393/?context=3
r/javascript • u/selrond • May 10 '19
47 comments sorted by
View all comments
24
So this is pretty cool, but if I have to start adding a repository URL for every dependency, I'm going to be very annoyed.
5 u/status_quo69 May 11 '19 It's a bit awkward because you can't mix and match your registries, but you can create a .npmrc file with the following line:registry="https://blahblahblahgithub.com"Where this is awkward is if github doesn't have the same package listing as npm does. But hopefully they figured out a good way around that whole issue 1 u/[deleted] May 11 '19 Most package registries allow you to set an upstream but I don't think this will.You can set up namespaces in your npmrc though
5
It's a bit awkward because you can't mix and match your registries, but you can create a .npmrc file with the following line:
registry="https://blahblahblahgithub.com"
Where this is awkward is if github doesn't have the same package listing as npm does. But hopefully they figured out a good way around that whole issue
1 u/[deleted] May 11 '19 Most package registries allow you to set an upstream but I don't think this will.You can set up namespaces in your npmrc though
1
Most package registries allow you to set an upstream but I don't think this will.
You can set up namespaces in your npmrc though
24
u/i_ate_god May 11 '19
So this is pretty cool, but if I have to start adding a repository URL for every dependency, I'm going to be very annoyed.