Skip to content

Commit

Permalink
fix: Remove conventional-changelog-conventionalcommits package and up…
Browse files Browse the repository at this point in the history
…date release.config.cjs
  • Loading branch information
iPagar committed Feb 6, 2024
1 parent 0715d5f commit 52a8c15
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
"@storybook/test": "^7.6.12",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/parser": "^6.20.0",
"conventional-changelog-conventionalcommits": "^7.0.2",
"eslint": "^8.56.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.29.1",
Expand Down
13 changes: 12 additions & 1 deletion release.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,18 @@ module.exports = {
[
'@semantic-release/commit-analyzer',
{
preset: 'conventionalcommits',
parserOpts: {
noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES'],
},
preset: 'eslint',
releaseRules: [
{ release: 'patch', type: 'docs' },
{ release: 'patch', type: 'refactor' },
{ release: 'patch', type: 'style' },
{ release: 'patch', type: 'test' },
{ release: 'patch', type: 'build' },
{ release: 'patch', type: 'ci' },
],
},
],
'@semantic-release/release-notes-generator',
Expand Down

0 comments on commit 52a8c15

Please sign in to comment.