index.js 526 B

1234567891011
  1. 'use strict'
  2. const Q = require('q')
  3. const conventionalChangelog = require('./conventional-changelog')
  4. const parserOpts = require('./parser-opts')
  5. const recommendedBumpOpts = require('./conventional-recommended-bump')
  6. const writerOpts = require('./writer-opts')
  7. module.exports = Q.all([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts])
  8. .spread((conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts) => {
  9. return { conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts }
  10. })