How to use cz-conventional-changelog - 2 common examples

To help you get started, we’ve selected a few cz-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 bahmutov / conventional-commit-message / src / index.js View on Github external
const packageName = require('../package').name
const suffix = '-commit-message'
const name = packageName.split(suffix)[0]

module.exports = {
  name: name,
  // TODO use functions from validate-commit-message
  // and from https://github.com/commitizen/cz-conventional-changelog
  parse: require('./valid-message').parse,
  validate: require('./valid-message').validate,
  prompter: require('cz-conventional-changelog').prompter
}
github vivaxy / gacp / commands / cz.js View on Github external
const commitMessage = await new Promise((resolve, reject) => {
        czConventionalChangelog.prompter(inquirer, (commitMessage) => {
            resolve(commitMessage);
        });
    });

cz-conventional-changelog

Commitizen adapter following the conventional-changelog format.

MIT
Latest version published 4 years ago

Package Health Score

71 / 100
Full package analysis

Popular cz-conventional-changelog functions

Similar packages