UNPKG

@schibsted/middy-error-handler

Version:

Middy middleware for adding caching headers to success response and errors

39 lines (38 loc) 1.42 kB
module.exports = { plugins: { '@release-it/conventional-changelog': { preset: { name: 'conventionalcommits', types: [ { type: 'feat', section: 'Features' }, { type: 'feature', section: 'Features' }, { type: 'fix', section: 'Bug Fixes' }, { type: 'perf', section: 'Performance Improvements' }, { type: 'revert', section: 'Reverts' }, { type: 'docs', section: 'Documentation' }, { type: 'style', section: 'Styles' }, { type: 'chore', section: 'Miscellaneous Chores' }, { type: 'refactor', section: 'Code Refactoring' }, { type: 'test', section: 'Tests' }, { type: 'build', section: 'Build System' }, { type: 'ci', section: 'Continuous Integration' }, { type: 'config', section: 'Configuration changes' }, ], }, infile: 'CHANGELOG.md', }, }, git: { requireCleanWorkingDir: true, requireBranch: 'main', commitMessage: 'chore: release ${version} \n\n${changelog}', tagName: 'v${version}', }, npm: { publish: false, }, github: { release: true, tokenRef: 'GITHUB_COM_TOKEN', }, };