-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cprc
136 lines (136 loc) · 4.18 KB
/
.cprc
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
{
"config": {
"commit-prompt": {
"questions": [
{
"name": "type",
"placeHolder": "Select the type of change you are committing (type)",
"type": "oneOf",
"scopes": [
{
"description": "Work in progress. Ignored in Changelog and SemVer.",
"name": "wip"
},
{
"description": "Maintenance and such. Maps to PATCH in SemVer.",
"name": "chore"
},
{
"description": "A bug fix. Correlates with PATCH in SemVer.",
"name": "fix"
},
{
"description": "A new feature. Correlates with MINOR in SemVer.",
"name": "feat"
},
{
"description": "A code change that improves performance.",
"name": "perf"
},
{
"description": "Adding missing tests or correcting existing tests.",
"name": "test"
},
{
"description": "Documentation only changes",
"name": "docs"
},
{
"description": "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.).",
"name": "style"
},
{
"description": "A code change that neither fixes a bug nor adds a feature.",
"name": "refactor"
},
{
"description": "Changes to the CI configuration or dev/build tools.",
"name": "ci"
},
{
"description": "build: Use this for ongoing work that should be tracked in the changelog.",
"name": "build"
},
{
"description": "Reverts a previous commit.",
"name": "reverts"
}
]
},
{
"name": "scope",
"placeHolder": "Specify a scope (scope)",
"type": "oneOf",
"scopes": [
{
"name": "back",
"description": "Changes to the back end not directly related to Strapi."
},
{
"name": "backstop",
"description": "BackstopJS-specific changes to scenarios, configuration, etc."
},
{
"name": "ci",
"description": "CI/CD changes like GitHub Workflows etc."
},
{
"name": "front",
"description": "Changes to Svelte and the front end."
},
{
"name": "github",
"description": "GitHub-specific changes to CI/CD, secrets, etc."
},
{
"name": "perf",
"description": "Perf testing, configuration, and/or enhancements."
},
{
"name": "project",
"description": "Configuration, CI/CD, Developer Experience, etc."
},
{
"name": "strapi",
"description": "CMS changes, updates, etc."
},
{
"name": "terraform",
"description": "Changes to Terraform/Infrastructure."
},
{
"name": "docker",
"description": "Changes to Dockerfiles/build steps."
},
{
"name": "testing",
"description": "Changes to testing utils/tests."
},
{
"name": "utils",
"description": "Changes to developer scripts and utils."
}
],
"format": "({value}): "
},
{
"name": "subject",
"placeHolder": "Write a short description (subject)",
"type": "input"
},
{
"name": "body",
"placeHolder": "Maybe provide a longer description (body)",
"type": "input",
"format": "\n\n{value}"
},
{
"name": "issues",
"placeHolder": "List any issue closed (issues)",
"type": "input",
"format": "\n\nCloses: #{value}"
}
]
}
}
}