Skip to content

Commit cdca1bf

Browse files
committed
ci: replace semantic-release config with @vidavidorra/semantic-release-config
Refs. vidavidorra/semantic-release-config#3.
1 parent dd98c43 commit cdca1bf

2 files changed

Lines changed: 28 additions & 145 deletions

File tree

package-lock.json

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

package.json

Lines changed: 8 additions & 126 deletions
Original file line numberDiff line numberDiff line change
@@ -41,125 +41,7 @@
4141
"singleQuote": true
4242
},
4343
"release": {
44-
"branches": [
45-
"main",
46-
{
47-
"name": "beta",
48-
"prerelease": true
49-
}
50-
],
51-
"plugins": [
52-
[
53-
"@semantic-release/commit-analyzer",
54-
{
55-
"releaseRules": [
56-
{
57-
"type": "perf",
58-
"release": "patch"
59-
},
60-
{
61-
"type": "revert",
62-
"release": "patch"
63-
},
64-
{
65-
"type": "docs",
66-
"release": "patch"
67-
},
68-
{
69-
"type": "chore",
70-
"release": false
71-
},
72-
{
73-
"type": "refactor",
74-
"release": "patch"
75-
},
76-
{
77-
"type": "test",
78-
"release": "patch"
79-
},
80-
{
81-
"type": "build",
82-
"release": "patch"
83-
},
84-
{
85-
"type": "ci",
86-
"release": "patch"
87-
}
88-
]
89-
}
90-
],
91-
"@semantic-release/release-notes-generator",
92-
"@semantic-release/changelog",
93-
[
94-
"@semantic-release/exec",
95-
{
96-
"prepareCmd": "prettier --write CHANGELOG.md"
97-
}
98-
],
99-
[
100-
"@semantic-release/npm",
101-
{
102-
"tarballDir": "dist"
103-
}
104-
],
105-
"@semantic-release/git",
106-
[
107-
"@semantic-release/github",
108-
{
109-
"assets": "dist/*.tgz"
110-
}
111-
]
112-
],
113-
"preset": "conventionalcommits",
114-
"presetConfig": {
115-
"types": [
116-
{
117-
"type": "feat",
118-
"section": "Features"
119-
},
120-
{
121-
"type": "fix",
122-
"section": "Bug Fixes"
123-
},
124-
{
125-
"type": "perf",
126-
"section": "Performance Improvements"
127-
},
128-
{
129-
"type": "revert",
130-
"section": "Reverts"
131-
},
132-
{
133-
"type": "docs",
134-
"section": "Documentation"
135-
},
136-
{
137-
"type": "style",
138-
"section": "Styles"
139-
},
140-
{
141-
"type": "chore",
142-
"section": "Miscellaneous Chores",
143-
"hidden": true
144-
},
145-
{
146-
"type": "refactor",
147-
"section": "Code Refactoring"
148-
},
149-
{
150-
"type": "test",
151-
"section": "Tests"
152-
},
153-
{
154-
"type": "build",
155-
"section": "Build System"
156-
},
157-
{
158-
"type": "ci",
159-
"section": "Continuous Integration"
160-
}
161-
]
162-
}
44+
"extends": "@vidavidorra/semantic-release-config"
16345
},
16446
"ava": {
16547
"files": [
@@ -184,20 +66,23 @@
18466
"text-summary"
18567
]
18668
},
69+
"overrides": {
70+
"@commitlint/config-conventional": {
71+
"conventional-changelog-conventionalcommits": ">=9.0.0"
72+
}
73+
},
18774
"devDependencies": {
18875
"@ava/typescript": "6.0.0",
18976
"@commitlint/cli": "20.2.0",
19077
"@commitlint/config-conventional": "20.2.0",
19178
"@commitlint/lint-19.x": "npm:@commitlint/lint@19.8.1",
192-
"@commitlint/load-19.x": "npm:@commitlint/load@19.8.1",
19379
"@commitlint/lint-20.x": "npm:@commitlint/lint@20.2.0",
80+
"@commitlint/load-19.x": "npm:@commitlint/load@19.8.1",
19481
"@commitlint/load-20.x": "npm:@commitlint/load@20.2.0",
19582
"@commitlint/rules": "20.2.0",
19683
"@commitlint/types": "20.2.0",
197-
"@semantic-release/changelog": "6.0.3",
198-
"@semantic-release/exec": "7.1.0",
199-
"@semantic-release/git": "10.0.1",
20084
"@types/sinon": "21.0.0",
85+
"@vidavidorra/semantic-release-config": "1.0.4",
20186
"ava": "6.4.1",
20287
"c8": "10.1.3",
20388
"husky": "9.1.7",
@@ -213,8 +98,5 @@
21398
},
21499
"engines": {
215100
"node": ">=20"
216-
},
217-
"overrides": {
218-
"conventional-changelog-conventionalcommits": ">= 8.0.0"
219101
}
220102
}

0 commit comments

Comments
 (0)