Skip to content

Commit b335f5e

Browse files
committed
chore: update release configuration and dependencies for semantic-release
1 parent 0010b17 commit b335f5e

File tree

3 files changed

+23
-54
lines changed

3 files changed

+23
-54
lines changed

.releaserc.json

Lines changed: 4 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,15 @@
11
{
22
"branches": ["main", "master"],
33
"plugins": [
4-
[
5-
"@semantic-release/commit-analyzer",
6-
{
7-
"preset": "conventionalcommits",
8-
"releaseRules": [
9-
{ "type": "feat", "release": "minor" },
10-
{ "type": "fix", "release": "patch" },
11-
{ "type": "perf", "release": "patch" },
12-
{ "type": "revert", "release": "patch" },
13-
{ "type": "docs", "release": false },
14-
{ "type": "style", "release": false },
15-
{ "type": "chore", "release": false },
16-
{ "type": "refactor", "release": "patch" },
17-
{ "type": "test", "release": false },
18-
{ "type": "build", "release": false },
19-
{ "type": "ci", "release": false },
20-
{ "scope": "no-release", "release": false }
21-
]
22-
}
23-
],
24-
[
25-
"@semantic-release/release-notes-generator",
26-
{
27-
"preset": "conventionalcommits",
28-
"presetConfig": {
29-
"types": [
30-
{ "type": "feat", "section": "✨ Features" },
31-
{ "type": "fix", "section": "🐛 Bug Fixes" },
32-
{ "type": "perf", "section": "⚡ Performance Improvements" },
33-
{ "type": "revert", "section": "⏪ Reverts" },
34-
{ "type": "refactor", "section": "♻️ Code Refactoring" },
35-
{ "type": "docs", "section": "📚 Documentation", "hidden": false },
36-
{ "type": "style", "section": "💄 Styles", "hidden": true },
37-
{ "type": "chore", "section": "🔧 Maintenance", "hidden": true },
38-
{ "type": "test", "section": "✅ Tests", "hidden": true },
39-
{ "type": "build", "section": "📦 Build System", "hidden": true },
40-
{ "type": "ci", "section": "🔄 CI/CD", "hidden": true }
41-
]
42-
}
43-
}
44-
],
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
456
"@semantic-release/changelog",
467
"@semantic-release/npm",
47-
[
48-
"@semantic-release/github",
49-
{
50-
"assets": [
51-
{
52-
"path": "dist/**/*",
53-
"label": "Distribution files"
54-
}
55-
]
56-
}
57-
],
8+
"@semantic-release/github",
589
[
5910
"@semantic-release/git",
6011
{
61-
"assets": ["CHANGELOG.md", "package.json", "package-lock.json"],
12+
"assets": ["CHANGELOG.md", "package.json"],
6213
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
6314
}
6415
]

package-lock.json

Lines changed: 18 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"@vitejs/plugin-vue": "^6.0.1",
7171
"@vitest/ui": "^3.2.4",
7272
"@vue/test-utils": "^2.4.6",
73+
"conventional-changelog-conventionalcommits": "^9.1.0",
7374
"jsdom": "^27.0.0",
7475
"semantic-release": "^25.0.0",
7576
"typescript": "^5.9.3",

0 commit comments

Comments
 (0)