1.0.0 • Published 5 years ago

smv v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

SMV

Typed semantic versioner & diff module

Code quality Coverage Greenkeeper badge CricleCi badge

npm version Open issues Types: TypeScript License: MIT

Main features

  • tiny & easy to use: 1 powerful merge method, rest is plain old semver
  • returns descriptive merge conflict details
  • 1 dependency (for dist)
  • Typescript types included
  • exposes esm/cjs modules
  • always 100% test coverage

Guide

Installation

or

or

Basic usage

Doing it semver-style

SMV is a typed replacement for semver package as it proxies all semver-like methods to the semver. Full list of supported methods can be found on the semver github page.

Dependency merge

With SMV you can resolve dependencies from multiple sources.

Imagine how you would programmatically merge devDependencies from few package.json files?

Un-conflicting dependencies are easy - you can deal with them using basic JS techniques.

How about conflicting dependencies?

Advanced usage

Forced dependency merge

There are situations when you don't want to waste time resolving conflicts. SMV allows you to enforce recommended versions (from resolved digest) as a final result.

Documentation

Full API documentation for this package can be found here

1.0.0

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago