@changesets/get-version-range-type

Common get-version-range-type shared between changeset packages

Usage no npm install needed!

<script type="module">
  import changesetsGetVersionRangeType from 'https://cdn.skypack.dev/@changesets/get-version-range-type';
</script>

README

@changesets/get-version-range-type

View changelog

Simple function that takes in a string which is a version range (ie ^1.0.0, ~3.5.1, 2.0.0) and returns the range definition.

A helper published mostly to ensure consistency across several changeset packages.