Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use version range when checking if installed #22

Merged
merged 1 commit into from Jul 17, 2022
Merged

Conversation

carolynvs
Copy link
Owner

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

@carolynvs carolynvs force-pushed the version-constraint branch 6 times, most recently from a4e63a2 to debcadd Compare May 12, 2022 22:25
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.

Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
@carolynvs carolynvs merged commit f0d0ccd into main Jul 17, 2022
@carolynvs carolynvs deleted the version-constraint branch July 17, 2022 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use semver ranges for version comparison
1 participant