yarn start:proxy
{
"my-custom-domain-proxy.staging": {
"port": 4001,
"host": "localhost" // optional, default is 127.0.0.1
}
}
cat ~/.npmrc
proxy=http://127.0.0.1:27000/
noproxy=https://registry.*.*/*
commands:
npm config set proxy http://127.0.0.1:27000/
npm config set no_proxy https://registry.*.*/*
cat ~/.yarnrc
proxy ""
commands:
yarn config set proxy ''
Yarn does not support no_proxy, so you need to use the proxy setting to bypass the proxy.