Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
chore: add semantic release config (#232)
Browse files Browse the repository at this point in the history
Generate changelogs again.
  • Loading branch information
achingbrain authored Jan 8, 2022
1 parent 3544d9c commit d1b9961
Showing 1 changed file with 66 additions and 2 deletions.
68 changes: 66 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"rsa",
"secp256k1"
],
"license": "(Apache-2.0 OR MIT)",
"license": "Apache-2.0 OR MIT",
"dependencies": {
"@noble/ed25519": "^1.3.3",
"@noble/secp256k1": "^1.3.4",
Expand Down Expand Up @@ -96,5 +96,69 @@
"bugs": {
"url": "https://github.com/libp2p/js-libp2p-crypto/issues"
},
"homepage": "https://github.com/libp2p/js-libp2p-crypto"
"homepage": "https://github.com/libp2p/js-libp2p-crypto",
"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 d1b9961

Please sign in to comment.