title: npm-force-resolutions not working when installing a new package
body: <p>I'm using the scripts section of the <code>package.json</code> to force resolutions:</p>
  <pre><code>&quot;preinstall&quot;: &quot;npx npm-force-resolutions&quot;
  </code></pre>
  <p>in the resolutions section, I have entered <code>graceful-fs</code> with a specified version:</p>
  <pre><code>&quot;resolutions&quot;: {
    &quot;graceful-fs&quot;: &quot;^4.2.4&quot;,
  },
  </code></pre>
  <p>When i run <code>npm i</code> everything is installed correctly, the set versions are taken in to account. But later on when I install an additional module, e.g. <code>npm i random-package</code>, my set versions are being thrown away and I endup with <code>graceful-fs@1.2.3</code> and other low versions in some dependencies.</p>
  <p>If I clear the node_modules folder and run <code>npm i</code> again, everything is alright again.</p>
  <p>I also tried setting the resolution more specific, like</p>
  <pre><code>&quot;resolutions&quot;: {
    &quot;glob/**/graceful-fs&quot;: &quot;^4.2.4&quot;,
  },
  </code></pre>
  <p>but this doesn't help.</p>
  <p>I also tried:</p>
  <ul>
  <li>adding the module as dependency, devDependency or peerDependency</li>
  <li>using a shrinkwrap and overriding it there</li>
  </ul>
  <p>but no luck.</p>
  <p>what am I missing?</p>