ensure-resolutions

Updates package.json resolutions used by yarn

Usage no npm install needed!

<script type="module">
  import ensureResolutions from 'https://cdn.skypack.dev/ensure-resolutions';
</script>

README

ensure-resolutions

Updates package.json resolutions used by yarn

Usage

package.json

{
  "name": "my-package",
  "version": "1.0.0",
  "main": "index.js",
  "scripts": {
    "preinstall": "npx ensure-resolutions"
  }
}