开发者社区> 镜像站> NPM> conventional-changelog-preset-loader
conventional-changelog-preset-loader
Configuration preset loader for `conventional-changelog`.
Last updated 7 months ago by bcoe .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install conventional-changelog-preset-loader 
SYNC missed versions from official npm registry.

NPM version Build Status: Linux Build Status: Windows 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

Current Tags

  • 2.3.4                                ...           latest (7 months ago)
  • 2.3.4                                ...           next (7 months ago)

16 Versions

  • 2.3.4                                ...           7 months ago
  • 2.3.0                                ...           a year ago
  • 2.2.0                                ...           a year ago
  • 2.1.1                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           3 years ago
  • 1.1.8                                ...           3 years ago
  • 1.1.7                                ...           3 years ago
  • 1.1.6                                ...           3 years ago
  • 1.1.5                                ...           3 years ago
  • 1.1.4                                ...           3 years ago
  • 1.1.3                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago