vercel / hyper

A terminal built on web technologies
https://hyper.is
MIT License
43.47k stars 3.52k forks source link

Allow registry to be explicitly set #3282

Open seangates opened 6 years ago

seangates commented 6 years ago

Issue

Feature Request: Allow the registry URL to be explicitly set for Hyper

Currently, the registry URL only uses what is in the global .npmrc. Because I work on a corporate machine I use a VPN in order to access our company's internal NPM repository. But, when I'm not on VPN, Hyper will show me an error that it cannot update plugins.

The best way I see to solve this issue is to let a user create a configuration setting in the .hyper.js file for registryUrl.

registryUrl: 'https://registry.npmjs.org'

With this change Hyper would let users bypass any .npmrc settings, especially if they have problems connecting to a custom registry but still want their plugins to update.

jagretz commented 5 years ago

👍 Agreed, this would be helpful