0.2.0 • Published 12 months ago

vermi v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Vermi 🪱

A bare-bone and flexible versioning tool for JavaScript.

Vermi (IPA: /'vɛrmi/) means "worms" in italian and it comes from the contraction of the words "version" and "me".

JavaScript Style Guide Coverage Status

Installation

Vermi can be either installed globally or locally as a dev dependency.

npm install vermi -g
npm install vermi --save-dev

yarn global add vermi
yarn add vermi -D

pnpm add vermi -g
pnpm add vermi -D

Monorepo support

Vermi does not currently support versioning monorepos on an higher level.

You can work around this limitation by installing Vermi globally and running it where necessary.

Usage

Version bump

As CLI

npx vermi version <strategy>

Supported strategies are patch, minor, major and prerelease.

Vermi uses is powered by the semver package and follows SemVer specifications.

As a library

const vermi = require('vermi')

// ...

try {
    vermi.version({
    strategy: 'minor',
    packageDir: './my/subfolder/',
    })
} catch (error) {
  if (error instanceof vermi.errors.VermiError) {
    // handle error
  }
  
  // ...
}
0.2.0

12 months ago

0.1.3

12 months ago

0.1.2

12 months ago

0.1.1

12 months ago

0.1.0

12 months ago