Skip to content

Commit

Permalink
fix(release): restructure semantic release config (#192)
Browse files Browse the repository at this point in the history
* fix(release): restructure semantic release config

* fix(release): add semantic release plugins
  • Loading branch information
ruderngespra authored Aug 31, 2021
1 parent 0e34524 commit 80eff03
Showing 1 changed file with 28 additions and 17 deletions.
45 changes: 28 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@
"@babel/preset-typescript": "^7.12.7",
"@babel/register": "^7.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/github": "^7.2.3",
"@semantic-release/npm": "^7.1.3",
"@semantic-release/release-notes-generator": "^9.0.3",
"@types/qs": "^6.9.5",
"@typescript-eslint/eslint-plugin": "4.28.5",
"@typescript-eslint/parser": "4.29.0",
Expand Down Expand Up @@ -101,24 +106,30 @@
"pre-commit": "lint-staged"
}
},
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "build",
"scope": "deps",
"release": "patch"
}
]
}
"release": {
"branches": [
"master",
"next"
],
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/changelog",
"@semantic-release/github"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "build",
"scope": "deps",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/changelog",
"@semantic-release/github"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
Expand Down

0 comments on commit 80eff03

Please sign in to comment.