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

Commit

Permalink
chore: add semantic release config (#141)
Browse files Browse the repository at this point in the history
Generate changelogs again
  • Loading branch information
achingbrain authored Jan 8, 2022
1 parent cd844f6 commit 5f0de59
Show file tree
Hide file tree
Showing 8 changed files with 454 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"bugs": "https://github.com/libp2p/js-libp2p-interfaces/issues",
"homepage": "https://github.com/libp2p/js-libp2p-interfaces#readme",
"license": "(Apache-2.0 OR MIT)",
"license": "Apache-2.0 OR MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/libp2p/js-libp2p-interfaces.git"
Expand Down
66 changes: 65 additions & 1 deletion packages/libp2p-connection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"interface"
],
"author": "",
"license": "(Apache-2.0 OR MIT)",
"license": "Apache-2.0 OR MIT",
"bugs": {
"url": "https://github.com/libp2p/js-libp2p-interfaces/issues"
},
Expand All @@ -66,5 +66,69 @@
"import": "./dist/src/status.js",
"types": "./dist/src/status.d.ts"
}
},
"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"
]
}
}
66 changes: 65 additions & 1 deletion packages/libp2p-interface-compliance-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"interface"
],
"author": "",
"license": "(Apache-2.0 OR MIT)",
"license": "Apache-2.0 OR MIT",
"bugs": {
"url": "https://github.com/libp2p/js-libp2p-interfaces/issues"
},
Expand Down Expand Up @@ -121,5 +121,69 @@
"import": "./dist/src/utils/peers.js",
"types": "./dist/src/utils/peers.d.ts"
}
},
"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"
]
}
}
66 changes: 65 additions & 1 deletion packages/libp2p-interfaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"interface"
],
"author": "",
"license": "(Apache-2.0 OR MIT)",
"license": "Apache-2.0 OR MIT",
"bugs": {
"url": "https://github.com/libp2p/js-libp2p-interfaces/issues"
},
Expand Down Expand Up @@ -117,5 +117,69 @@
"import": "./dist/src/value-store/index.js",
"types": "./dist/src/value-store/index.d.ts"
}
},
"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"
]
}
}
64 changes: 64 additions & 0 deletions packages/libp2p-peer-id-factory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,69 @@
"multiformats": "^9.4.5",
"protobufjs": "^6.10.2",
"uint8arrays": "^3.0.0"
},
"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"
]
}
}
64 changes: 64 additions & 0 deletions packages/libp2p-peer-id/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,69 @@
"@libp2p/interfaces": "^1.0.0",
"multiformats": "^9.4.5",
"uint8arrays": "^3.0.0"
},
"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"
]
}
}
Loading

0 comments on commit 5f0de59

Please sign in to comment.