title: Root package.json unmet dependency in child package.json
body: <p>Lets say I have a Typescript project like so</p>
  
  <pre><code>root/
    api/
      package.json
    web/
      package.json
    ...
    package.json
  </code></pre>
  
  <p>In the root <code>package.json</code> I have the typescript dependency installed (this is to ensure it uses the same version in web &amp; api). </p>
  
  <p>If I install a package in <strong>web/package.json</strong> that has a <code>peerDepedency</code> on Typescript (lets say <code>ts-loader</code>) it will complain that Typescript is an unmet dependency. </p>
  
  <p><strong>root package.json</strong></p>
  
  <pre><code>{
    ...
    "devDependencies": {
      "@types/node": "^11.11.7",
      ...
      "typescript": "^3.3.4000"
    }
  }
  </code></pre>
  
  <p><strong>web/package.json</strong></p>
  
  <pre><code>{
    ...
    "devDependencies": {
      "ts-loader": "^5.3.3",
      "webpack": "^4.29.6"
    }
  }
  </code></pre>
  
  <p>How do I get around this without adding Typescript in the <strong>web/package.json</strong>? </p>
  
  <p>If thats not possible, how do you ensure that the same version of packages is used across multiple modules?</p>