carolynvs / magex

Helper methods for Magefiles
MIT License
32 stars 7 forks source link

Use version range when checking if installed #22

Closed carolynvs closed 2 years ago

carolynvs commented 2 years ago

When we check if a command of a specific version is available, allow the user to specify a version range, e.g. 2.x or ^1.2.4

When installing a package, default the version range check to using the default version as the minimum, e.g. ^defaultVersion. This allows any thing from the default version to the next major version.

Closes #6