-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchangelog.config.js
44 lines (43 loc) · 1.15 KB
/
changelog.config.js
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
const config = {
disableEmoji: true,
format: "{type}{scope}: {subject}",
list: ["feat", "fix", "chore", "refactor", "docs", "version"],
maxMessageLength: 64,
minMessageLength: 3,
questions: ["type", "scope", "subject", "body"],
scopes: ["www", "core", "*"],
types: {
chore: {
description: "Changes that don't fix a bug or add a feature",
value: "chore",
},
feat: {
description: "A new feature",
value: "feat",
},
fix: {
description: "A bug fix",
value: "fix",
},
refactor: {
description: "A code refactor",
value: "refactor",
},
docs: {
description: "Documentation changes",
value: "docs",
},
version: {
description: "New version",
value: "version",
},
messages: {
type: "Select the type of change that you're committing:",
customScope: "Select the scope this component affects:",
subject: "Write a short, imperative mood description of the change:\n",
body: "Provide a longer description of the change:\n ",
confirmCommit: "The packages that this commit has affected\n",
},
},
}
module.exports = config