Denis 346b78aee1 first commit před 2 roky
..
CHANGELOG.md 346b78aee1 first commit před 2 roky
LICENSE.md 346b78aee1 first commit před 2 roky
README.md 346b78aee1 first commit před 2 roky
index.js 346b78aee1 first commit před 2 roky
package.json 346b78aee1 first commit před 2 roky

README.md

NPM version Dependency Status Coverage Status

Configuration preset loader for conventional-changelog.

Usage

$ npm install --save conventional-changelog-preset-loader
var conventionalChangelogPresetLoader = require('conventional-changelog-preset-loader');

configuration = conventionalChangelogPresetLoader(`angular`);

The string that is passed to the preset loader is manipulated by prepending conventional-changelog to the name.

For example:

  • angular => conventional-changelog-angular
  • angular/preset/path => conventional-changelog-angular/preset/path
  • @scope/angular => @scope/conventional-changelog-angular
  • @scope/angular/preset/path => @scope/conventional-changelog-angular/preset/path

Will return whatever is exported by the preset package. That may be a configuration object, a function, or a promise.

License

MIT © Steve Mao