Skip to content

Commit 8801736

Browse files
committed
fix: update types structure in version configuration for consistency
1 parent a0f4e96 commit 8801736

File tree

1 file changed

+26
-13
lines changed

1 file changed

+26
-13
lines changed

.versionrc.json

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,62 @@
11
{
2-
"types": {
3-
"feat": {
2+
"types": [
3+
{
4+
"type": "feat",
45
"section": "Features"
56
},
6-
"fix": {
7+
{
8+
"type": "fix",
79
"section": "Bug Fixes"
810
},
9-
"perf": {
11+
{
12+
"type": "perf",
1013
"section": "Performance Improvements",
1114
"hidden": true
1215
},
13-
"docs": {
16+
{
17+
"type": "docs",
1418
"section": "Documentation",
1519
"hidden": true
1620
},
17-
"style": {
21+
{
22+
"type": "style",
1823
"section": "Styles",
1924
"hidden": true
2025
},
21-
"refactor": {
26+
{
27+
"type": "refactor",
2228
"section": "Code Refactoring",
2329
"hidden": true
2430
},
25-
"test": {
31+
{
32+
"type": "test",
2633
"section": "Tests",
2734
"hidden": true
2835
},
29-
"build": {
36+
{
37+
"type": "build",
3038
"section": "Build System",
3139
"hidden": true
3240
},
33-
"ci": {
41+
{
42+
"type": "ci",
3443
"section": "Continuous Integration",
3544
"hidden": true
3645
},
37-
"chore": {
46+
{
47+
"type": "chore",
3848
"section": "Chores",
3949
"hidden": true
4050
}
41-
},
51+
],
4252
"commitUrlFormat": "https://github.com/andrewmolyuk/eslint-plugin-vue-modular/commit/{{hash}}",
4353
"compareUrlFormat": "https://github.com/andrewmolyuk/eslint-plugin-vue-modular/compare/{{previousTag}}...{{currentTag}}",
4454
"issueUrlFormat": "https://github.com/andrewmolyuk/eslint-plugin-vue-modular/issues/{{id}}",
4555
"userUrlFormat": "https://github.com/{{user}}",
4656
"releaseCommitMessageFormat": "chore(release): {{currentTag}}",
4757
"issuePrefixes": ["#"],
48-
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
58+
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"],
59+
"scripts": {
60+
"postchangelog": "sed -i '' -e '/^### \\[[^]]*\\]([^)]*) ([^)]*)$/d' -e '/./,$!d' CHANGELOG.md && echo '✓ Cleaned up changelog format'"
61+
}
4962
}

0 commit comments

Comments
 (0)