Skip to content

Commit 94af0c3

Browse files
committed
fix: handle types in uppercase
1 parent bd3fe69 commit 94af0c3

File tree

4 files changed

+781
-490
lines changed

4 files changed

+781
-490
lines changed

dist/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -28250,6 +28250,7 @@ async function main () {
2825028250
const cAst = cc.toConventionalChangelogFormat(cc.parser(commit.commit.message))
2825128251
commitsParsed.push({
2825228252
...cAst,
28253+
type: cAst.type.toLowerCase(),
2825328254
sha: commit.sha,
2825428255
url: commit.html_url,
2825528256
author: commit.author.login,

index.js

+1
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ async function main () {
165165
const cAst = cc.toConventionalChangelogFormat(cc.parser(commit.commit.message))
166166
commitsParsed.push({
167167
...cAst,
168+
type: cAst.type.toLowerCase(),
168169
sha: commit.sha,
169170
url: commit.html_url,
170171
author: commit.author.login,

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
"@actions/core": "1.10.0",
2727
"@actions/github": "5.1.1",
2828
"@conventional-commits/parser": "0.4.1",
29-
"jest": "29.3.1",
29+
"jest": "29.5.0",
3030
"lodash": "4.17.21"
3131
},
3232
"devDependencies": {
33-
"@vercel/ncc": "0.34.0",
34-
"eslint": "8.27.0",
33+
"@vercel/ncc": "0.36.1",
34+
"eslint": "8.36.0",
3535
"eslint-config-standard": "17.0.0",
36-
"eslint-plugin-import": "2.26.0",
36+
"eslint-plugin-import": "2.27.5",
3737
"eslint-plugin-node": "11.1.0",
3838
"eslint-plugin-promise": "6.1.1"
3939
}

0 commit comments

Comments
 (0)