All Projects → alilleybrinker → semver-explain

alilleybrinker / semver-explain

Licence: MIT license
Explain semver requirements by converting them into less than, greater than, and/or equal to form.

Programming Languages

rust
11053 projects

Labels

Projects that are alternatives of or similar to semver-explain

Semver
Nx plugin to automate semantic versioning and CHANGELOG generation.
Stars: ✭ 99 (+266.67%)
Mutual labels:  semver
Keel
Kubernetes Operator to automate Helm, DaemonSet, StatefulSet & Deployment updates
Stars: ✭ 1,870 (+6825.93%)
Mutual labels:  semver
Semantic Release
📦🚀 Fully automated version management and package publishing
Stars: ✭ 14,364 (+53100%)
Mutual labels:  semver
Semantic Release
📦🚀 semantic-release written in go
Stars: ✭ 113 (+318.52%)
Mutual labels:  semver
Reckon
Infer a project's version from your Git repository.
Stars: ✭ 124 (+359.26%)
Mutual labels:  semver
Semver.c
Semantic version library written in ANSI C
Stars: ✭ 147 (+444.44%)
Mutual labels:  semver
Semver.net
Semantic versioning for .NET
Stars: ✭ 80 (+196.3%)
Mutual labels:  semver
Version
semver (Semantic Version) Swift µFramework.
Stars: ✭ 228 (+744.44%)
Mutual labels:  semver
Gh Release
Create a github release for a node package.
Stars: ✭ 132 (+388.89%)
Mutual labels:  semver
Version
Represent and compare versions via semantic versioning (SemVer) in Swift
Stars: ✭ 160 (+492.59%)
Mutual labels:  semver
Semver
Semantic Versioning library for Objective-C
Stars: ✭ 114 (+322.22%)
Mutual labels:  semver
Jgitver
jgit based library to calculate semver compatible version from git tree
Stars: ✭ 119 (+340.74%)
Mutual labels:  semver
Beachball
The Sunniest Semantic Version Bumper
Stars: ✭ 158 (+485.19%)
Mutual labels:  semver
Semver
Semantic Versioning for modern C++
Stars: ✭ 108 (+300%)
Mutual labels:  semver
Nodejs
Node.js基础与应用教程,适合初学者入门,以及有一定经验的开发者提高。Node.js全栈交流QQ群:423652352,node.js或者全栈开发培训QQ群:579500717
Stars: ✭ 202 (+648.15%)
Mutual labels:  semver
Git Version Bumper
Bump your git tag to the next version, easily. 👊
Stars: ✭ 87 (+222.22%)
Mutual labels:  semver
Semver
Semantic versioning helper library for PHP
Stars: ✭ 144 (+433.33%)
Mutual labels:  semver
Gitmoji Changelog
A changelog generator for gitmoji 😜
Stars: ✭ 250 (+825.93%)
Mutual labels:  semver
Bumped
📦 Makes easy release software
Stars: ✭ 222 (+722.22%)
Mutual labels:  semver
Gitversion
From git log to SemVer in no time
Stars: ✭ 2,131 (+7792.59%)
Mutual labels:  semver

semver-explain

Convert SemVer requirements to their most-obvious equivalents.

semver-explain is a CLI tool to explain Semantic Versioning requirements by converting them to a form with only less-than, greater-than and/or equal-to comparators, where the major, minor, and patch versions are all specified.

The exact interpretation of SemVer requirements' meaning comes from Cargo. In particular, it does not handle hyphen ranges or x-ranges from the node-semver library for JavaScript.

Why?

It's easy to forget the exact meaning of SemVer comparators like ~, ^, and *. Rather than looking up documentation to confirm what's meant by a requirement, you can plug it into semver-explain and get a set of more-obvious equivalent requirements!

Examples

$ semver-explain "^1.4.0"
>=1.4.0, <2.0.0
$ semver-explain "~0.5.3"
>=0.5.3, <0.6.0
$ semver-explain "5.6.*"
>=5.6.0, <5.7.0

Installation

semver-explain is written in Rust, so you'll need to install Rust first.

# To install from Crates.io
$ cargo install semver-explain
# To install from source (after cloning or downloading)
$ cargo install --path "<path to download>"

How to Use

Just give it a SemVer requirement as a string! The CLI is purposefully simple.

semver-explain 0.2.0

USAGE:
    semver-explain <VERSION_REQ>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <VERSION_REQ>    semantic versioning requirement to explain

License

semver-explain is MIT licensed. The full license text can be found in LICENSE.md.

Thanks

This tool uses the excellent Rust semver library, without which it would have been much more tedious to build.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].