How to use the conventional-changelog/lib/git.getCommits function in conventional-changelog

To help you get started, we’ve selected a few conventional-changelog examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github semantic-release / semantic-release / lib / type / commits.js View on Github external
module.exports = function (from, cb) {
  git.getCommits({
    log: console.log.bind(console),
    warn: console.warn.bind(console),
    from: from
  }, efh(cb)(function (commits) {
    cb(null, commits)
  }))
}

conventional-changelog

Generate a changelog from git metadata.

ISC
Latest version published 8 months ago

Package Health Score

87 / 100
Full package analysis