/** @type {import('semantic-release').GlobalConfig} */ const semanticReleaseConfig = { branches: ['main'], plugins: [ [ '@semantic-release/commit-analyzer', { preset: 'conventionalcommits', releaseRules: [{ type: 'chore', scope: 'deps', release: 'patch' }] } ], [ '@semantic-release/release-notes-generator', { preset: 'conventionalcommits', presetConfig: { types: [ { type: 'feat', section: 'โœจ Features' }, { type: 'fix', section: '๐Ÿ› Bug Fixes' }, { type: 'docs', section: '๐Ÿ“š Documentation' }, { type: 'test', section: '๐Ÿงช Tests' }, { type: 'perf', section: 'โšก๏ธ Performance Improvements' }, { type: 'refactor', section: 'โ™ป๏ธ Code Refactoring' }, { type: 'style', section: '๐Ÿ’„ Style' }, { type: 'chore', section: '๐Ÿ”ง Maintenance' }, { type: 'build', section: '๐Ÿ“ฆ Build System' }, { type: 'ci', section: '๐Ÿ‘ท Continuous Integration' }, { type: 'revert', section: 'โช Reverts' } ] } } ], '@semantic-release/npm', '@semantic-release/github' ] }; export default semanticReleaseConfig;