infer-version
v0.5.0
Published
Infer a project's version from its configuration files.
Downloads
4,036
Maintainers
Readme
Infer version
Infer a project's version from its configuration files.
Installing
npm install infer-version
Documentation
Documentation and more detailed examples are hosted on Github Pages.
Usage
import { version } from "infer-version";
version(".");
// Example output: "1.0.0"
// If there are no configuration files: null
Tooling
Dependencies
To install dependencies:
yarn install
Tests
To run tests:
yarn test
Documentation
To generate the documentation locally:
yarn docs
Linters
To run linters:
yarn lint
Formatters
To run formatters:
yarn format
Contributing
Please read this repository's Code of Conduct which outlines our collaboration standards and the Changelog for details on breaking changes that have been made.
This repository adheres to semantic versioning standards. For more information on semantic versioning visit SemVer.
Bump2version is used to version and tag changes. For example:
bump2version patch
Contributors
- Joel Lefkowitz - Initial work
Remarks
Lots of love to the open source community!