$ cnpm install conventional-changelog-preset-loader
Configuration preset loader for
conventional-changelog.
$ 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-angularangular/preset/path => conventional-changelog-angular/preset/path@scope/angular => @scope/conventional-changelog-angular@scope/angular/preset/path => @scope/conventional-changelog-angular/preset/pathWill return whatever is exported by the preset package. That may be a configuration object, a function, or a promise.
MIT © Steve Mao
Copyright 2013 - present © cnpmjs.org