-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.commitweaverc.json
More file actions
200 lines (200 loc) · 5.31 KB
/
.commitweaverc.json
File metadata and controls
200 lines (200 loc) · 5.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
{
"preset": "glinr-commit",
"config": {
"types": [
{
"type": "feat",
"section": "✨ Features",
"description": "A new feature",
"emoji": "✨",
"release": "minor"
},
{
"type": "fix",
"section": "🐛 Bug Fixes",
"description": "A bug fix",
"emoji": "🐛",
"release": "patch"
},
{
"type": "perf",
"section": "⚡ Performance",
"description": "A code change that improves performance",
"emoji": "⚡",
"release": "patch"
},
{
"type": "refactor",
"section": "♻️ Code Refactoring",
"description": "A code change that neither fixes a bug nor adds a feature",
"emoji": "♻️",
"release": "patch"
},
{
"type": "docs",
"section": "📚 Documentation",
"description": "Documentation only changes",
"emoji": "📚",
"release": "patch"
},
{
"type": "style",
"section": "💄 Styles",
"description": "Changes that do not affect the meaning of the code",
"emoji": "💄",
"release": "patch"
},
{
"type": "test",
"section": "✅ Tests",
"description": "Adding missing tests or correcting existing tests",
"emoji": "✅",
"release": "patch"
},
{
"type": "build",
"section": "📦 Build System",
"description": "Changes that affect the build system or external dependencies",
"emoji": "📦",
"release": "patch"
},
{
"type": "ci",
"section": "👷 CI/CD",
"description": "Changes to CI configuration files and scripts",
"emoji": "👷",
"release": "patch"
},
{
"type": "chore",
"section": "🔧 Maintenance",
"description": "Other changes that don't modify src or test files",
"emoji": "🔧",
"release": "patch"
},
{
"type": "release",
"section": "🚀 Releases",
"description": "Manual release commit",
"emoji": "🚀",
"release": "custom"
}
],
"scopes": [
{
"name": "core",
"description": "Core profanity detection engine"
},
{
"name": "filters",
"description": "Text filtering and processing"
},
{
"name": "multiframework",
"description": "Multi-framework integration support"
},
{
"name": "hooks",
"description": "React hooks and utilities"
},
{
"name": "types",
"description": "TypeScript type definitions"
},
{
"name": "python",
"description": "Python package implementation"
},
{
"name": "javascript",
"description": "JavaScript/TypeScript package"
},
{
"name": "tests",
"description": "Test suites and testing utilities"
},
{
"name": "ci",
"description": "Continuous integration and deployment"
},
{
"name": "docs",
"description": "Documentation and examples"
},
{
"name": "release",
"description": "Release automation and versioning"
},
{
"name": "deps",
"description": "Dependencies and package management"
}
],
"semanticRelease": {
"enabled": true,
"releaseRules": [
{ "type": "feat", "release": "minor" },
{ "type": "fix", "release": "patch" },
{ "type": "perf", "release": "patch" },
{ "type": "refactor", "release": "patch" },
{ "type": "docs", "release": "patch" },
{ "type": "style", "release": "patch" },
{ "type": "test", "release": "patch" },
{ "type": "build", "release": "patch" },
{ "type": "ci", "release": "patch" },
{ "type": "chore", "release": "patch" },
{ "breaking": true, "release": "major" }
],
"channels": [
{
"name": "stable",
"pattern": "main",
"prerelease": false
},
{
"name": "beta",
"pattern": "beta",
"prerelease": "beta"
},
{
"name": "alpha",
"pattern": "alpha",
"prerelease": "alpha"
}
]
},
"commitFormat": {
"template": "{emoji} {type}{scope}: {subject}",
"subjectCase": "sentence-case",
"subjectMaxLength": 72,
"bodyWrap": 100,
"footerWrap": 100
},
"prompts": {
"type": "Select the type of change you're committing:",
"scope": "What is the scope of this change (optional):",
"subject": "Write a short, imperative mood description:",
"body": "Provide a longer description (optional):",
"breaking": "Are there any breaking changes?",
"issues": "Add issue references (e.g. \"fix #123\", \"re #123\"):"
},
"integration": {
"syncVersions": {
"script": "scripts/sync-versions.js",
"autoRelease": true
},
"github": {
"releases": true,
"labels": true
},
"npm": {
"publish": true,
"tags": ["latest", "beta", "alpha"]
},
"pypi": {
"publish": true,
"classifiers": ["3 - Alpha", "4 - Beta", "5 - Production/Stable"]
}
}
}
}