conventional-changelog-conventionalcommits
Advanced tools
Comparing version 6.0.0 to 6.1.0
{ | ||
"name": "conventional-changelog-conventionalcommits", | ||
"version": "6.0.0", | ||
"version": "6.1.0", | ||
"description": "conventional-changelog conventionalcommits.org preset", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -76,2 +76,4 @@ 'use strict' | ||
const commitGroupOrder = config.types.flatMap(t => t.section).filter(t => t) | ||
return { | ||
@@ -164,10 +166,5 @@ transform: (commit, context) => { | ||
commitGroupsSort: (a, b) => { | ||
const commitGroupOrder = ['Reverts', 'Performance Improvements', 'Bug Fixes', 'Features'] | ||
const gRankA = commitGroupOrder.indexOf(a.title) | ||
const gRankB = commitGroupOrder.indexOf(b.title) | ||
if (gRankA >= gRankB) { | ||
return -1 | ||
} else { | ||
return 1 | ||
} | ||
return gRankA - gRankB | ||
}, | ||
@@ -174,0 +171,0 @@ commitsSort: ['scope', 'subject'], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15916
311