tmatilai / vagrant-proxyconf

Vagrant plugin that configures the virtual machine to use proxies
MIT License
531 stars 74 forks source link

Enable proxy for Yarn #165

Closed heronrs closed 4 years ago

heronrs commented 6 years ago

It would be nice if the plugin also set the necessary proxy configuration for yarn, just like npm.

yarn config set http-proxy $http_proxy
yarn config set https-proxy $https_proxy
tmatilai commented 6 years ago

Sure. If that is how it works, it should be quite straightforward to implement. Waiting for the pull request. =)

codylane commented 5 years ago

Please also provide the commands it would take to unconfigure said proxy. This plugin handles both cases.

Also, we do accept pull requests as long as they have updated documentation, tests and code.

codylane commented 4 years ago

No further response heard about this issue and I assume this is finally stale.

That said, if you would like us to work on this feature, I would strongly recommend that we have some sort of community opt in about how useful this feature would be for others. I've used thumbsup emojis in the past but I'm open to other ideas as well. I'd love to know how useful this integration might be for others but since this is now 3 years old and never got any traction I'm going to close it.

Also I'm not such what yarn is, how it's used and what it's supposed to do so it's hard for me to even provide a solution without further context, documentation and examples.