Skip to content

Commit 569e258

Browse files
author
Tom Kirkpatrick
committed
build: ensure that all commit types trigger a semantic release
1 parent 136a731 commit 569e258

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

package.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
3939
},
4040
"devDependencies": {
41+
"@bubltechnology/customizable-commit-analyzer": "1.0.2-0",
4142
"chai": "3.5.0",
4243
"compression": "1.6.2",
4344
"condition-circle": "1.5.0",
@@ -70,7 +71,23 @@
7071
"fsm-as-promised": "0.14.4",
7172
"lodash": "4.17.4"
7273
},
74+
"config": {
75+
"commitTypeMap": {
76+
"feat": "minor",
77+
"fix": "patch",
78+
"docs": "patch",
79+
"style": "patch",
80+
"refactor": "patch",
81+
"perf": "patch",
82+
"test": "patch",
83+
"build": "patch",
84+
"ci": "patch",
85+
"chore": "patch",
86+
"revert": "patch"
87+
}
88+
},
7389
"release": {
74-
"verifyConditions": "condition-circle"
90+
"verifyConditions": "condition-circle",
91+
"analyzeCommits": "@bubltechnology/customizable-commit-analyzer"
7592
}
7693
}

0 commit comments

Comments
 (0)