@govbr-ds/release-config 5.0.0 → 5.0.1
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 +2 -3
- package/src/index.js +3 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@govbr-ds/release-config",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Configuração compartilhada do semantic-release para projetos do GovBR-DS",
|
|
6
6
|
"keywords": [
|
|
@@ -28,8 +28,7 @@
|
|
|
28
28
|
"src"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@govbr-ds/commit-types": "5.0.
|
|
32
|
-
"@semantic-release/changelog": "^6.0.3",
|
|
31
|
+
"@govbr-ds/commit-types": "5.0.1",
|
|
33
32
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
34
33
|
"@semantic-release/git": "^10.0.1",
|
|
35
34
|
"@semantic-release/gitlab": "^13.3.3",
|
package/src/index.js
CHANGED
|
@@ -157,13 +157,6 @@ const releaseNotesGenerator = [
|
|
|
157
157
|
},
|
|
158
158
|
]
|
|
159
159
|
|
|
160
|
-
const changelog = [
|
|
161
|
-
'@semantic-release/changelog',
|
|
162
|
-
{
|
|
163
|
-
changelogTitle: '# CHANGELOG',
|
|
164
|
-
},
|
|
165
|
-
]
|
|
166
|
-
|
|
167
160
|
const gitlab = [
|
|
168
161
|
'@semantic-release/gitlab',
|
|
169
162
|
{
|
|
@@ -179,18 +172,18 @@ const gitlab = [
|
|
|
179
172
|
const git = [
|
|
180
173
|
'@semantic-release/git',
|
|
181
174
|
{
|
|
182
|
-
assets: ['package.json'
|
|
175
|
+
assets: ['package.json'],
|
|
183
176
|
message:
|
|
184
177
|
'chore(release): v${nextRelease.version} [skip ci] \n\n${nextRelease.notes} \n\nCommit gerado automaticamente durante o processo de release',
|
|
185
178
|
},
|
|
186
179
|
]
|
|
187
180
|
|
|
188
|
-
const basePlugins = [commitAnalyzer, releaseNotesGenerator,
|
|
181
|
+
const basePlugins = [commitAnalyzer, releaseNotesGenerator, gitlab]
|
|
189
182
|
|
|
190
183
|
const releaseConfig = {
|
|
191
184
|
branches,
|
|
192
185
|
plugins: [...basePlugins, git],
|
|
193
186
|
}
|
|
194
187
|
|
|
195
|
-
export { basePlugins, branches,
|
|
188
|
+
export { basePlugins, branches, commitAnalyzer, git, gitlab, releaseConfig, releaseNotesGenerator }
|
|
196
189
|
export default releaseConfig
|