43 lines
1.1 KiB
JavaScript
43 lines
1.1 KiB
JavaScript
/* eslint-disable no-template-curly-in-string */
|
|
module.exports = {
|
|
plugins: [
|
|
'@semantic-release/commit-analyzer',
|
|
[
|
|
'@semantic-release/release-notes-generator',
|
|
{
|
|
preset: 'conventionalcommits',
|
|
presetConfig: {
|
|
types: [
|
|
{ type: 'feat', section: 'Features' },
|
|
{ type: 'fix', section: 'Bug Fixes' },
|
|
{ type: 'doc', hidden: false, section: 'Documentation' },
|
|
{ type: 'docs', hidden: false, section: 'Documentation' },
|
|
{ type: 'chore', hidden: true, section: 'Chores' },
|
|
],
|
|
},
|
|
},
|
|
],
|
|
'@semantic-release/changelog',
|
|
[
|
|
'@semantic-release/npm',
|
|
{
|
|
npmPublish: false,
|
|
},
|
|
],
|
|
[
|
|
'@semantic-release/git',
|
|
{
|
|
assets: ['CHANGELOG.md', 'README.md', 'package.json', 'yarn.lock'],
|
|
},
|
|
],
|
|
[
|
|
'@semantic-release/github',
|
|
{
|
|
assets: 'dist/*.js',
|
|
},
|
|
],
|
|
],
|
|
preset: 'conventionalcommits',
|
|
branches: [{ name: 'master' }, { name: 'dev', channel: 'beta', prerelease: true }],
|
|
};
|