开发者社区> 镜像站> NPM> freeform-semantic-commit-analyzer
freeform-semantic-commit-analyzer
derive next semantic version from commits, covering all commit messages types
Last updated 4 years ago by artemv .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install freeform-semantic-commit-analyzer 
SYNC missed versions from official npm registry.

freeform-semantic-commit-analyzer

npm version Build Status Coverage Status Dependency Status devDependency Status semantic-release

An analyzeCommits plugin for semantic-release covering most commit types.

Major Releases

SEE: https://github.com/semantic-release/semantic-release#major-breaking-release

  • Breaking Changes

Minor Releases

  • feat

SEE: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#type

Patch Releases

  • chore
  • docs
  • fix
  • perf
  • refactor
  • revert
  • unstructured commits

This fork

Changes list compared to https://github.com/semantic-release/commit-analyzer:

  • unstructured commits yield in patch versions
  • most other commit types yield in patch versions
  • you can disable some version change types by specifying allowed version types in package.json like this:
  "publishConfig": {
    "tag": "1x"
  },
  "release": {
    "branch": "1x",
    "analyzeCommits": {
        "path": "./node_modules/freeform-semantic-commit-analyzer/dist/index.js",
        "allowed": ["patch", "minor"],
        "fallback": "minor"
    }
  }

Here, only 'patch' and 'minor' version changes are allowed - this is a package for legacy 1.x branch and we don't want it to jump out of 1.x versions range ocasionally. Default fallback version type is 'patch'.

Current Tags

  • 1.1.8                                ...           latest (4 years ago)

11 Versions

  • 1.1.8                                ...           4 years ago
  • 1.1.7                                ...           4 years ago
  • 1.1.6                                ...           4 years ago
  • 1.1.5                                ...           4 years ago
  • 1.1.4                                ...           4 years ago
  • 1.1.3                                ...           4 years ago
  • 1.1.2                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (8)
Dependents (2)