Skip to content

Commit da2b815

Browse files
committed
ci(all): fix releaserc
1 parent f141032 commit da2b815

5 files changed

Lines changed: 777 additions & 846 deletions

File tree

packages/emmett-crypto-shredding-kysely/.releaserc.json

Lines changed: 33 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"extends": "semantic-release-monorepo",
23
"branches": [
34
"main",
45
{
@@ -9,45 +10,40 @@
910
"repositoryUrl": "https://github.com/wataruoguchi/emmett-libs",
1011
"plugins": [
1112
[
12-
"semantic-release-monorepo",
13+
"@semantic-release/commit-analyzer",
1314
{
14-
"analyzeCommits": [
15-
"@semantic-release/commit-analyzer",
16-
{
17-
"preset": "conventionalcommits",
18-
"releaseRules": [
19-
{ "type": "feat", "release": "minor" },
20-
{ "type": "fix", "release": "patch" },
21-
{ "type": "perf", "release": "patch" },
22-
{ "type": "revert", "release": "patch" },
23-
{ "type": "docs", "scope": "readme", "release": "patch" },
24-
{ "type": "refactor", "release": "patch" },
25-
{ "type": "style", "release": false },
26-
{ "type": "chore", "release": false },
27-
{ "type": "test", "release": false },
28-
{ "type": "build", "release": false },
29-
{ "type": "ci", "release": false }
30-
],
31-
"parserOpts": {
32-
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
33-
}
34-
}
15+
"preset": "conventionalcommits",
16+
"releaseRules": [
17+
{ "type": "feat", "release": "minor" },
18+
{ "type": "fix", "release": "patch" },
19+
{ "type": "perf", "release": "patch" },
20+
{ "type": "revert", "release": "patch" },
21+
{ "type": "docs", "scope": "readme", "release": "patch" },
22+
{ "type": "refactor", "release": "patch" },
23+
{ "type": "style", "release": false },
24+
{ "type": "chore", "release": false },
25+
{ "type": "test", "release": false },
26+
{ "type": "build", "release": false },
27+
{ "type": "ci", "release": false }
3528
],
36-
"generateNotes": [
37-
"@semantic-release/release-notes-generator",
38-
{
39-
"preset": "conventionalcommits",
40-
"presetConfig": {
41-
"types": [
42-
{ "type": "feat", "section": "Features" },
43-
{ "type": "fix", "section": "Bug Fixes" },
44-
{ "type": "perf", "section": "Performance Improvements" },
45-
{ "type": "revert", "section": "Reverts" },
46-
{ "type": "docs", "hidden": false }
47-
]
48-
}
49-
}
50-
]
29+
"parserOpts": {
30+
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
31+
}
32+
}
33+
],
34+
[
35+
"@semantic-release/release-notes-generator",
36+
{
37+
"preset": "conventionalcommits",
38+
"presetConfig": {
39+
"types": [
40+
{ "type": "feat", "section": "Features" },
41+
{ "type": "fix", "section": "Bug Fixes" },
42+
{ "type": "perf", "section": "Performance Improvements" },
43+
{ "type": "revert", "section": "Reverts" },
44+
{ "type": "docs", "hidden": false }
45+
]
46+
}
5147
}
5248
],
5349
[

packages/emmett-crypto-shredding/.releaserc.json

Lines changed: 33 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"extends": "semantic-release-monorepo",
23
"branches": [
34
"main",
45
{
@@ -9,45 +10,40 @@
910
"repositoryUrl": "https://github.com/wataruoguchi/emmett-libs",
1011
"plugins": [
1112
[
12-
"semantic-release-monorepo",
13+
"@semantic-release/commit-analyzer",
1314
{
14-
"analyzeCommits": [
15-
"@semantic-release/commit-analyzer",
16-
{
17-
"preset": "conventionalcommits",
18-
"releaseRules": [
19-
{ "type": "feat", "release": "minor" },
20-
{ "type": "fix", "release": "patch" },
21-
{ "type": "perf", "release": "patch" },
22-
{ "type": "revert", "release": "patch" },
23-
{ "type": "docs", "scope": "readme", "release": "patch" },
24-
{ "type": "refactor", "release": "patch" },
25-
{ "type": "style", "release": false },
26-
{ "type": "chore", "release": false },
27-
{ "type": "test", "release": false },
28-
{ "type": "build", "release": false },
29-
{ "type": "ci", "release": false }
30-
],
31-
"parserOpts": {
32-
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
33-
}
34-
}
15+
"preset": "conventionalcommits",
16+
"releaseRules": [
17+
{ "type": "feat", "release": "minor" },
18+
{ "type": "fix", "release": "patch" },
19+
{ "type": "perf", "release": "patch" },
20+
{ "type": "revert", "release": "patch" },
21+
{ "type": "docs", "scope": "readme", "release": "patch" },
22+
{ "type": "refactor", "release": "patch" },
23+
{ "type": "style", "release": false },
24+
{ "type": "chore", "release": false },
25+
{ "type": "test", "release": false },
26+
{ "type": "build", "release": false },
27+
{ "type": "ci", "release": false }
3528
],
36-
"generateNotes": [
37-
"@semantic-release/release-notes-generator",
38-
{
39-
"preset": "conventionalcommits",
40-
"presetConfig": {
41-
"types": [
42-
{ "type": "feat", "section": "Features" },
43-
{ "type": "fix", "section": "Bug Fixes" },
44-
{ "type": "perf", "section": "Performance Improvements" },
45-
{ "type": "revert", "section": "Reverts" },
46-
{ "type": "docs", "hidden": false }
47-
]
48-
}
49-
}
50-
]
29+
"parserOpts": {
30+
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
31+
}
32+
}
33+
],
34+
[
35+
"@semantic-release/release-notes-generator",
36+
{
37+
"preset": "conventionalcommits",
38+
"presetConfig": {
39+
"types": [
40+
{ "type": "feat", "section": "Features" },
41+
{ "type": "fix", "section": "Bug Fixes" },
42+
{ "type": "perf", "section": "Performance Improvements" },
43+
{ "type": "revert", "section": "Reverts" },
44+
{ "type": "docs", "hidden": false }
45+
]
46+
}
5147
}
5248
],
5349
[

0 commit comments

Comments
 (0)