Skip to content

Commit e025cff

Browse files
committed
fix: update dependencies and configurations for semantic-release packages
- Enhanced release configuration with detailed preset types for semantic-release.
1 parent 3842a07 commit e025cff

File tree

10 files changed

+143
-41
lines changed

10 files changed

+143
-41
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"dependencies": {
5252
"@anolilab/commitlint-config": "^6.0.1",
5353
"@anolilab/lint-staged-config": "^3.0.17",
54-
"@anolilab/multi-semantic-release": "^1.1.12",
54+
"@anolilab/multi-semantic-release": "^2.0.0",
5555
"@anolilab/prettier-config": "^6.0.1",
5656
"@anolilab/textlint-config": "^9.0.1",
5757
"@babel/core": "^7.27.4",

packages/multi-semantic-release/.releaserc.json

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,40 @@
2323
[
2424
"@semantic-release/release-notes-generator",
2525
{
26-
"preset": "conventionalcommits"
26+
"preset": "conventionalcommits",
27+
"presetConfig": {
28+
"types": [
29+
{ "type": "feat", "section": "Features" },
30+
{ "type": "feature", "section": "Features" },
31+
{ "type": "fix", "section": "Bug Fixes" },
32+
{ "type": "perf", "section": "Performance Improvements" },
33+
{ "type": "revert", "section": "Reverts" },
34+
{ "type": "docs", "section": "Documentation", "hidden": false },
35+
{ "type": "style", "section": "Styles", "hidden": false },
36+
{ "type": "chore", "section": "Miscellaneous Chores", "hidden": false },
37+
{ "type": "refactor", "section": "Code Refactoring", "hidden": false },
38+
{ "type": "test", "section": "Tests", "hidden": false },
39+
{ "type": "build", "section": "Build System", "hidden": false },
40+
{ "type": "ci", "section": "Continuous Integration", "hidden": false }
41+
]
42+
}
2743
}
2844
],
2945
"@semantic-release/changelog",
46+
"@anolilab/semantic-release-clean-package-json",
47+
"@anolilab/semantic-release-pnpm",
48+
[
49+
"@semantic-release/git",
50+
{
51+
"message": "chore(release): ${nextRelease.gitTag} [skip ci]\\n\\n${nextRelease.notes}"
52+
}
53+
],
3054
[
3155
"@semantic-release/github",
3256
{
3357
"successComment": false,
3458
"failComment": false
3559
}
36-
],
37-
"@anolilab/semantic-release-clean-package-json",
38-
"@anolilab/semantic-release-pnpm"
60+
]
3961
]
40-
}
62+
}

packages/multi-semantic-release/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@anolilab/eslint-config": "^15.0.3",
6767
"@anolilab/prettier-config": "^6.0.1",
6868
"@anolilab/semantic-release-clean-package-json": "workspace:*",
69-
"@anolilab/semantic-release-pnpm": "1.1.12",
69+
"@anolilab/semantic-release-pnpm": "2.0.0",
7070
"@babel/core": "^7.27.4",
7171
"@rushstack/eslint-plugin-security": "^0.10.0",
7272
"@secretlint/secretlint-rule-preset-recommend": "^10.1.0",

packages/rc/.releaserc.json

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,28 @@
2323
[
2424
"@semantic-release/release-notes-generator",
2525
{
26-
"preset": "conventionalcommits"
26+
"preset": "conventionalcommits",
27+
"presetConfig": {
28+
"types": [
29+
{ "type": "feat", "section": "Features" },
30+
{ "type": "feature", "section": "Features" },
31+
{ "type": "fix", "section": "Bug Fixes" },
32+
{ "type": "perf", "section": "Performance Improvements" },
33+
{ "type": "revert", "section": "Reverts" },
34+
{ "type": "docs", "section": "Documentation", "hidden": false },
35+
{ "type": "style", "section": "Styles", "hidden": false },
36+
{ "type": "chore", "section": "Miscellaneous Chores", "hidden": false },
37+
{ "type": "refactor", "section": "Code Refactoring", "hidden": false },
38+
{ "type": "test", "section": "Tests", "hidden": false },
39+
{ "type": "build", "section": "Build System", "hidden": false },
40+
{ "type": "ci", "section": "Continuous Integration", "hidden": false }
41+
]
42+
}
2743
}
2844
],
2945
"@semantic-release/changelog",
46+
"@anolilab/semantic-release-clean-package-json",
47+
"@anolilab/semantic-release-pnpm",
3048
[
3149
"@semantic-release/git",
3250
{
@@ -39,7 +57,6 @@
3957
"successComment": false,
4058
"failComment": false
4159
}
42-
],
43-
"@anolilab/semantic-release-pnpm"
60+
]
4461
]
45-
}
62+
}

packages/rc/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
"ts-deepmerge": "^7.0.3"
8686
},
8787
"devDependencies": {
88+
"@anolilab/semantic-release-clean-package-json": "workspace:*",
8889
"@anolilab/eslint-config": "^15.0.3",
8990
"@anolilab/prettier-config": "^6.0.1",
9091
"@babel/core": "^7.27.4",

packages/semantic-release-clean-package-json/.releaserc.json

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,45 @@
2323
[
2424
"@semantic-release/release-notes-generator",
2525
{
26-
"preset": "conventionalcommits"
26+
"preset": "conventionalcommits",
27+
"presetConfig": {
28+
"types": [
29+
{ "type": "feat", "section": "Features" },
30+
{ "type": "feature", "section": "Features" },
31+
{ "type": "fix", "section": "Bug Fixes" },
32+
{ "type": "perf", "section": "Performance Improvements" },
33+
{ "type": "revert", "section": "Reverts" },
34+
{ "type": "docs", "section": "Documentation", "hidden": false },
35+
{ "type": "style", "section": "Styles", "hidden": false },
36+
{ "type": "chore", "section": "Miscellaneous Chores", "hidden": false },
37+
{ "type": "refactor", "section": "Code Refactoring", "hidden": false },
38+
{ "type": "test", "section": "Tests", "hidden": false },
39+
{ "type": "build", "section": "Build System", "hidden": false },
40+
{ "type": "ci", "section": "Continuous Integration", "hidden": false }
41+
]
42+
}
2743
}
2844
],
2945
"@semantic-release/changelog",
30-
"./dist/index.mjs",
31-
"@anolilab/semantic-release-pnpm",
3246
[
33-
"@semantic-release/github",
47+
"./dist/index.mjs",
3448
{
35-
"successComment": false,
36-
"failComment": false
49+
"disableScripts": true
3750
}
3851
],
52+
"@anolilab/semantic-release-pnpm",
3953
[
4054
"@semantic-release/git",
4155
{
4256
"message": "chore(release): ${nextRelease.gitTag} [skip ci]\\n\\n${nextRelease.notes}"
4357
}
58+
],
59+
[
60+
"@semantic-release/github",
61+
{
62+
"successComment": false,
63+
"failComment": false
64+
}
4465
]
4566
]
46-
}
67+
}

packages/semantic-release-pnpm/.releaserc.json

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,33 @@
2323
[
2424
"@semantic-release/release-notes-generator",
2525
{
26-
"preset": "conventionalcommits"
26+
"preset": "conventionalcommits",
27+
"presetConfig": {
28+
"types": [
29+
{ "type": "feat", "section": "Features" },
30+
{ "type": "feature", "section": "Features" },
31+
{ "type": "fix", "section": "Bug Fixes" },
32+
{ "type": "perf", "section": "Performance Improvements" },
33+
{ "type": "revert", "section": "Reverts" },
34+
{ "type": "docs", "section": "Documentation", "hidden": false },
35+
{ "type": "style", "section": "Styles", "hidden": false },
36+
{ "type": "chore", "section": "Miscellaneous Chores", "hidden": false },
37+
{ "type": "refactor", "section": "Code Refactoring", "hidden": false },
38+
{ "type": "test", "section": "Tests", "hidden": false },
39+
{ "type": "build", "section": "Build System", "hidden": false },
40+
{ "type": "ci", "section": "Continuous Integration", "hidden": false }
41+
]
42+
}
2743
}
2844
],
2945
"@semantic-release/changelog",
46+
"@anolilab/semantic-release-clean-package-json",
47+
[
48+
"./dist/index.mjs",
49+
{
50+
"disableScripts": true
51+
}
52+
],
3053
[
3154
"@semantic-release/git",
3255
{
@@ -39,12 +62,6 @@
3962
"successComment": false,
4063
"failComment": false
4164
}
42-
],
43-
[
44-
"./dist/index.mjs",
45-
{
46-
"disableScripts": true
47-
}
4865
]
4966
]
50-
}
67+
}

packages/semantic-release-pnpm/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,12 @@
7070
"@visulima/path": "^1.4.0",
7171
"execa": "^9.6.0",
7272
"ini": "^5.0.0",
73-
"normalize-url": "^8.0.1",
73+
"normalize-url": "^8.0.2",
7474
"registry-auth-token": "^5.1.0",
7575
"semver": "^7.7.2"
7676
},
7777
"devDependencies": {
78+
"@anolilab/semantic-release-clean-package-json": "workspace:*",
7879
"@anolilab/eslint-config": "^15.0.3",
7980
"@anolilab/prettier-config": "^6.0.1",
8081
"@arethetypeswrong/cli": "^0.18.2",

packages/semantic-release-preset/.releaserc.json

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,40 @@
2323
[
2424
"@semantic-release/release-notes-generator",
2525
{
26-
"preset": "conventionalcommits"
26+
"preset": "conventionalcommits",
27+
"presetConfig": {
28+
"types": [
29+
{ "type": "feat", "section": "Features" },
30+
{ "type": "feature", "section": "Features" },
31+
{ "type": "fix", "section": "Bug Fixes" },
32+
{ "type": "perf", "section": "Performance Improvements" },
33+
{ "type": "revert", "section": "Reverts" },
34+
{ "type": "docs", "section": "Documentation", "hidden": false },
35+
{ "type": "style", "section": "Styles", "hidden": false },
36+
{ "type": "chore", "section": "Miscellaneous Chores", "hidden": false },
37+
{ "type": "refactor", "section": "Code Refactoring", "hidden": false },
38+
{ "type": "test", "section": "Tests", "hidden": false },
39+
{ "type": "build", "section": "Build System", "hidden": false },
40+
{ "type": "ci", "section": "Continuous Integration", "hidden": false }
41+
]
42+
}
2743
}
2844
],
2945
"@semantic-release/changelog",
46+
"@anolilab/semantic-release-clean-package-json",
3047
"@anolilab/semantic-release-pnpm",
3148
[
32-
"@semantic-release/github",
49+
"@semantic-release/git",
3350
{
34-
"successComment": false,
35-
"failComment": false
51+
"message": "chore(release): ${nextRelease.gitTag} [skip ci]\\n\\n${nextRelease.notes}"
3652
}
3753
],
3854
[
39-
"@semantic-release/git",
55+
"@semantic-release/github",
4056
{
41-
"message": "chore(release): ${nextRelease.gitTag} [skip ci]\\n\\n${nextRelease.notes}"
57+
"successComment": false,
58+
"failComment": false
4259
}
4360
]
4461
]
45-
}
62+
}

pnpm-lock.yaml

Lines changed: 13 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)