@govbr-ds/release-config 5.0.2 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/src/index.js +2 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@govbr-ds/release-config",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Configuração compartilhada do semantic-release para projetos do GovBR-DS",
|
|
6
6
|
"keywords": [
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"src"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@govbr-ds/commit-types": "5.0
|
|
32
|
-
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
31
|
+
"@govbr-ds/commit-types": "5.1.0",
|
|
33
32
|
"@semantic-release/changelog": "^7.0.0",
|
|
33
|
+
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
34
34
|
"@semantic-release/git": "^11.0.1",
|
|
35
35
|
"@semantic-release/gitlab": "^13.3.3",
|
|
36
36
|
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
37
|
-
"conventional-changelog-conventionalcommits": "10.
|
|
37
|
+
"conventional-changelog-conventionalcommits": "10.4.0",
|
|
38
38
|
"semantic-release": "^25.0.8"
|
|
39
39
|
}
|
|
40
40
|
}
|
package/src/index.js
CHANGED
|
@@ -149,7 +149,7 @@ const releaseNotesGenerator = [
|
|
|
149
149
|
|
|
150
150
|
{{/if}}
|
|
151
151
|
{{#each commits}}
|
|
152
|
-
{{
|
|
152
|
+
* {{#if scope}}**{{scope}}:** {{/if}}{{subject}}
|
|
153
153
|
{{/each}}
|
|
154
154
|
{{/each}}
|
|
155
155
|
`,
|
|
@@ -157,13 +157,6 @@ const releaseNotesGenerator = [
|
|
|
157
157
|
},
|
|
158
158
|
]
|
|
159
159
|
|
|
160
|
-
const changelogGenerator = [
|
|
161
|
-
'@semantic-release/changelog',
|
|
162
|
-
{
|
|
163
|
-
changelogTitle: '# CHANGELOG',
|
|
164
|
-
},
|
|
165
|
-
]
|
|
166
|
-
|
|
167
160
|
const gitlab = [
|
|
168
161
|
'@semantic-release/gitlab',
|
|
169
162
|
{
|
|
@@ -185,7 +178,7 @@ const git = [
|
|
|
185
178
|
},
|
|
186
179
|
]
|
|
187
180
|
|
|
188
|
-
const basePlugins = [commitAnalyzer,
|
|
181
|
+
const basePlugins = [commitAnalyzer, releaseNotesGenerator, gitlab]
|
|
189
182
|
|
|
190
183
|
const releaseConfig = {
|
|
191
184
|
branches,
|