Skip to content

Commit

Permalink
chore: use conventionalcommits for semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
mure committed Sep 12, 2023
1 parent 071fc9e commit 4ba0e2e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
22 changes: 22 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"@types/plotly.js-basic-dist-min": "^2.12.1",
"@types/react-plotly.js": "^2.6.0",
"@types/react-router-dom": "^5.3.3",
"conventional-changelog-conventionalcommits": "^7.0.2",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.3",
"eslint": "^8.43.0",
Expand Down
6 changes: 4 additions & 2 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ module.exports = {
branches: ['main'],
plugins: [
["@semantic-release/commit-analyzer", {
preset: "angular",
preset: "conventionalcommits",
releaseRules: [
{ type: "feat", release: "minor" },
{ type: "fix", release: "patch" },
{ type: "perf", release: "patch" },
{ type: "build", release: "patch" },
]
}],
'@semantic-release/release-notes-generator',
["@semantic-release/release-notes-generator", {
preset: "conventionalcommits"
}],
'@semantic-release/changelog',
'@semantic-release/npm',
['@semantic-release/exec', {
Expand Down

0 comments on commit 4ba0e2e

Please sign in to comment.