relion
Version:
Release workflow helper for Node.js projects.
20 lines (17 loc) • 525 B
JavaScript
import { DEFAULT_COMMIT_TYPES } from './constants.js';
import { createParserOpts } from './parser.js';
import { createWriterOpts } from './writer.js';
import { createWhatBump } from './whatBump.js';
export { DEFAULT_COMMIT_TYPES };
export * from './templates/index.js';
export default async function createPreset(config) {
return {
commits: {
ignore: config?.ignoreCommits,
merges: false,
},
parser: createParserOpts(config),
writer: await createWriterOpts(config),
whatBump: createWhatBump(config),
};
}