Skip to content

Commit 1555574

Browse files
committed
fix: restore original release config and remove incompatible .releaserc.json
The .releaserc.json used the conventionalcommits preset which is ESM-only (v9) and incompatible with semantic-release v21. Restored the original release config in package.json using the default angular preset.
1 parent dfaefd2 commit 1555574

3 files changed

Lines changed: 22 additions & 129 deletions

File tree

.releaserc.json

Lines changed: 0 additions & 121 deletions
This file was deleted.

package.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
7979
"@semantic-release/changelog": "^6.0.3",
8080
"@semantic-release/git": "^10.0.1",
8181
"@typechain/ethers-v5": "^11.1.2",
82-
"conventional-changelog-conventionalcommits": "^9.1.0",
8382
"cross-env": "^7.0.3",
8483
"dotenv-cli": "^8.0.0",
8584
"ethers": "^5.4.0",
@@ -89,5 +88,27 @@
8988
"toml": "^3.0.0",
9089
"typechain": "^8.3.0",
9190
"typescript": "^5.0.0"
91+
},
92+
"release": {
93+
"branches": [
94+
"main"
95+
],
96+
"plugins": [
97+
"@semantic-release/commit-analyzer",
98+
"@semantic-release/release-notes-generator",
99+
"@semantic-release/changelog",
100+
"@semantic-release/npm",
101+
"@semantic-release/github",
102+
[
103+
"@semantic-release/git",
104+
{
105+
"assets": [
106+
"CHANGELOG.md",
107+
"package.json"
108+
],
109+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
110+
}
111+
]
112+
]
92113
}
93114
}

yarn.lock

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1760,13 +1760,6 @@ conventional-changelog-angular@^6.0.0:
17601760
dependencies:
17611761
compare-func "^2.0.0"
17621762

1763-
conventional-changelog-conventionalcommits@^9.1.0:
1764-
version "9.1.0"
1765-
resolved "https://registry.yarnpkg.com/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-9.1.0.tgz#34e5f35c80c1375a5464df2a8067a1facbb2d858"
1766-
integrity sha512-MnbEysR8wWa8dAEvbj5xcBgJKQlX/m0lhS8DsyAAWDHdfs2faDJxTgzRYlRYpXSe7UiKrIIlB4TrBKU9q9DgkA==
1767-
dependencies:
1768-
compare-func "^2.0.0"
1769-
17701763
conventional-changelog-writer@^6.0.0:
17711764
version "6.0.1"
17721765
resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-6.0.1.tgz#d8d3bb5e1f6230caed969dcc762b1c368a8f7b01"

0 commit comments

Comments
 (0)