Skip to content

Commit

Permalink
fix: restore release config to package.json
Browse files Browse the repository at this point in the history
Otherwise things like dep updates don't cause releases.
  • Loading branch information
achingbrain committed Sep 13, 2024
1 parent 1e21dc1 commit 97a7433
Show file tree
Hide file tree
Showing 16 changed files with 1,309 additions and 130 deletions.
85 changes: 0 additions & 85 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,91 +12,6 @@
"url": "https://github.com/ipfs/js-stores/issues"
},
"private": true,
"release": {
"branches": [
"main"
],
"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": "docs",
"release": "patch"
},
{
"type": "test",
"release": "patch"
},
{
"type": "deps",
"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": "Documentation"
},
{
"type": "deps",
"section": "Dependencies"
},
{
"type": "test",
"section": "Tests"
}
]
}
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
"@semantic-release/git"
]
},
"scripts": {
"reset": "aegir run clean && aegir clean **/node_modules **/package-lock.json",
"test": "aegir run test",
Expand Down
91 changes: 88 additions & 3 deletions packages/blockstore-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,91 @@
"sourceType": "module"
}
},
"release": {
"branches": [
"main"
],
"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": "docs",
"release": "patch"
},
{
"type": "test",
"release": "patch"
},
{
"type": "deps",
"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": "Documentation"
},
{
"type": "deps",
"section": "Dependencies"
},
{
"type": "test",
"section": "Tests"
}
]
}
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
"@semantic-release/git"
]
},
"scripts": {
"clean": "aegir clean",
"lint": "aegir lint",
Expand All @@ -98,17 +183,17 @@
"release": "aegir release"
},
"dependencies": {
"@libp2p/logger": "^5.0.0",
"@libp2p/logger": "^5.0.1",
"interface-blockstore": "^5.0.0",
"interface-store": "^6.0.0",
"it-drain": "^3.0.7",
"it-filter": "^3.1.1",
"it-merge": "^3.0.5",
"it-pushable": "^3.2.3",
"multiformats": "^13.2.2"
"multiformats": "^13.2.3"
},
"devDependencies": {
"aegir": "^44.1.0",
"aegir": "^44.1.1",
"interface-blockstore-tests": "^7.0.0",
"it-all": "^3.0.6",
"uint8arrays": "^5.1.0"
Expand Down
89 changes: 87 additions & 2 deletions packages/blockstore-fs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,91 @@
"sourceType": "module"
}
},
"release": {
"branches": [
"main"
],
"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": "docs",
"release": "patch"
},
{
"type": "test",
"release": "patch"
},
{
"type": "deps",
"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": "Documentation"
},
{
"type": "deps",
"section": "Dependencies"
},
{
"type": "test",
"section": "Tests"
}
]
}
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
"@semantic-release/git"
]
},
"scripts": {
"clean": "aegir clean",
"lint": "aegir lint",
Expand All @@ -83,10 +168,10 @@
"it-glob": "^3.0.1",
"it-map": "^3.1.1",
"it-parallel-batch": "^3.0.6",
"multiformats": "^13.2.2"
"multiformats": "^13.2.3"
},
"devDependencies": {
"aegir": "^44.1.0",
"aegir": "^44.1.1",
"interface-blockstore-tests": "^7.0.0"
}
}
Loading

0 comments on commit 97a7433

Please sign in to comment.