Skip to content

Commit

Permalink
chore: add semantic release config (#220)
Browse files Browse the repository at this point in the history
Generate changelogs again
  • Loading branch information
achingbrain authored Jan 8, 2022
1 parent c04f330 commit e8a691e
Showing 1 changed file with 65 additions and 1 deletion.
66 changes: 65 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"binary",
"string"
],
"license": "(Apache-2.0 OR MIT)",
"license": "Apache-2.0 OR MIT",
"bugs": "https://github.com/multiformats/js-multiaddr/issues",
"homepage": "https://github.com/multiformats/js-multiaddr",
"dependencies": {
Expand All @@ -60,5 +60,69 @@
"aegir": "^36.1.3",
"sinon": "^12.0.1",
"util": "^0.12.3"
},
"release": {
"branches": [
"master"
],
"plugins": [
[
"@semantic-release/commit-analyzer", {
"preset": "conventionalcommits",
"releaseRules": [{
"breaking": true,
"release": "major"
}, {
"revert": true,
"release": "patch"
}, {
"type": "feat",
"release": "minor"
}, {
"type": "fix",
"release": "patch"
}, {
"type": "chore",
"release": "patch"
}, {
"type": "docs",
"release": "patch"
}, {
"type": "test",
"release": "patch"
}, {
"scope": "no-release",
"release": false
}]
}
],
[
"@semantic-release/release-notes-generator", {
"preset": "conventionalcommits",
"presetConfig": {
"types": [{
"type": "feat",
"section": "Features"
}, {
"type": "fix",
"section": "Bug Fixes"
}, {
"type": "chore",
"section": "Trivial Changes"
}, {
"type": "docs",
"section": "Trivial Changes"
}, {
"type": "test",
"section": "Tests"
}]
}
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
"@semantic-release/git"
]
}
}

0 comments on commit e8a691e

Please sign in to comment.