UNPKG

664 BJavaScriptView Raw
1'use strict'
2const conventionalChangelog = require('./conventional-changelog')
3const parserOpts = require('./parser-opts')
4const recommendedBumpOpts = require('./conventional-recommended-bump')
5const writerOpts = require('./writer-opts')
6
7module.exports = presetOpts
8
9function presetOpts (cb) {
10 Promise.all([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts])
11 .then(([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts]) => {
12 cb(null, {
13 gitRawCommitsOpts: {
14 noMerges: null
15 },
16 conventionalChangelog,
17 parserOpts,
18 recommendedBumpOpts,
19 writerOpts
20 })
21 })
22}