title: How in Yarn 2 do I share common dependencies in workspaces?
body: <p>Mostly the same question as <a href="https://stackoverflow.com/q/54498006/206466">this</a>, but for yarn 2. I put my shared dependencies at the top of the hierarchy. I believe I'm not using PnP currently.</p>
  <p><code>.yarnrc.yaml</code></p>
  <pre class="lang-yml prettyprint-override"><code>nodeLinker: node-modules
  yarnPath: .yarn/releases/yarn-2.2.2.cjs
  </code></pre>
  <p>at the very top level I have <code>typescript</code> installed (but I presume this could be any module with a binary) down in one of my &quot;workspaces&quot; I want to call <code>tsc</code>, however it's <code>command not found: tsc</code> I've also noticed some warnings like. <code>graph@workspace:app-lib/graph/packages/app doesn't provide jest@&gt;=24 &lt;25 requested by ts-jest@npm:24.3.0</code> which is provided in the parent of app.</p>