@govbr-ds/release-config 4.2.0 → 4.2.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/README.md +24 -0
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -36,6 +36,30 @@ Configurações para o [Semantic Release](https://github.com/semantic-release/se
|
|
|
36
36
|
|
|
37
37
|
Para sobrescrever alguma configuração siga o padrão do [Semantic Release](https://github.com/semantic-release/semantic-release). A ordem definida será a ordem de execução!
|
|
38
38
|
|
|
39
|
+
## Method Date.prototype.toString called on incompatible receiver
|
|
40
|
+
|
|
41
|
+
A versão 14 do `@semantic-release/release-notes-generator` introduziu um bug com o `conventional-changelog-conventionalcommits`:
|
|
42
|
+
|
|
43
|
+
```log
|
|
44
|
+
TypeError: Method Date.prototype.toString called on incompatible receiver [object Date]
|
|
45
|
+
at Proxy.toString (<anonymous>)
|
|
46
|
+
at [Symbol.toPrimitive] (<anonymous>)
|
|
47
|
+
at new Date (<anonymous>)
|
|
48
|
+
at Object.formatDate (file:///home/runner/work/clean-self-hosted-runner/clean-self-hosted-runner/node_modules/conventional-changelog-writer/dist/utils.js:8:12)
|
|
49
|
+
at defaultCommitTransform (file:///home/runner/work/clean-self-hosted-runner/clean-self-hosted-runner/node_modules/conventional-changelog-writer/dist/options.js:23:23)
|
|
50
|
+
at transformCommit (file:///home/runner/work/clean-self-hosted-runner/clean-self-hosted-runner/node_modules/conventional-changelog-writer/dist/commit.js:29:23)
|
|
51
|
+
at write (file:///home/runner/work/clean-self-hosted-runner/clean-self-hosted-runner/node_modules/conventional-changelog-writer/dist/writers.js:39:28)
|
|
52
|
+
at async nextAsync (node:internal/streams/from:182:33) {
|
|
53
|
+
pluginName: '@semantic-release/release-notes-generator'
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Os detalhes da causa não são importantes agora, mas caso esteja com o problema tente atualizar suas dependências para uma nova versão que pode já ter corrigido o bug.
|
|
57
|
+
|
|
58
|
+
Outras alternativas para corrigir o bug são:
|
|
59
|
+
|
|
60
|
+
1. Incluir a dependência `"conventional-changelog-conventionalcommits": "^8.0.0"` no seu `package.json`.
|
|
61
|
+
1. Fazer o downgrade das suas dependências do semantic-release
|
|
62
|
+
|
|
39
63
|
## Como contribuir?
|
|
40
64
|
|
|
41
65
|
Antes de abrir um Merge Request tenha em mente algumas informações:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@govbr-ds/release-config",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Configuração compartilhada do semantic-release para projetos do GovBR-DS",
|
|
6
6
|
"keywords": [
|
|
@@ -26,11 +26,12 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@semantic-release/changelog": "^6.0.3",
|
|
29
|
-
"@semantic-release/commit-analyzer": "^
|
|
29
|
+
"@semantic-release/commit-analyzer": "^13.0.0",
|
|
30
|
+
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
30
31
|
"@semantic-release/git": "^10.0.1",
|
|
31
|
-
"@semantic-release/gitlab": "^13.
|
|
32
|
-
"@semantic-release/release-notes-generator": "^
|
|
32
|
+
"@semantic-release/gitlab": "^13.2.1",
|
|
33
|
+
"@semantic-release/release-notes-generator": "^14.0.1",
|
|
33
34
|
"compare-func": "^2.0.0",
|
|
34
|
-
"semantic-release": "^
|
|
35
|
+
"semantic-release": "^24.1.0"
|
|
35
36
|
}
|
|
36
37
|
}
|