title: Yarn keeps using old registry
body: <p>I've been using yarn with a private registry in the past - however, the registry has now shut down and I want to use yarn with the official registry.</p>
  
  <p>Whatever I do, yarn always seems to want to connect to the old registry and there's simply no way of making it use the new one. I've already tried:</p>
  
  <ul>
  <li>Completely remove and re-install yarn</li>
  <li><code>yarn config set registry https://registry.yarnpkg.com/</code></li>
  <li>Verified that there is no mention of the old registry in either <code>~/.npmrc</code> or <code>~/.yarnrc</code></li>
  <li>Cleared the yarn cache using <code>yarn cache clean</code></li>
  </ul>
  
  <p>No matter what I do, yarn still tries to connect to the old registry on every install and I have no idea where yarn is getting that from...</p>
  
  <p>any ideas?</p>