From 569e2581320611304ae021fcdd461787d2e99b20 Mon Sep 17 00:00:00 2001 From: Tom Kirkpatrick Date: Fri, 30 Jun 2017 09:39:19 +0200 Subject: [PATCH] build: ensure that all commit types trigger a semantic release --- package.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 578dca5..3f10068 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "semantic-release": "semantic-release pre && npm publish && semantic-release post" }, "devDependencies": { + "@bubltechnology/customizable-commit-analyzer": "1.0.2-0", "chai": "3.5.0", "compression": "1.6.2", "condition-circle": "1.5.0", @@ -70,7 +71,23 @@ "fsm-as-promised": "0.14.4", "lodash": "4.17.4" }, + "config": { + "commitTypeMap": { + "feat": "minor", + "fix": "patch", + "docs": "patch", + "style": "patch", + "refactor": "patch", + "perf": "patch", + "test": "patch", + "build": "patch", + "ci": "patch", + "chore": "patch", + "revert": "patch" + } + }, "release": { - "verifyConditions": "condition-circle" + "verifyConditions": "condition-circle", + "analyzeCommits": "@bubltechnology/customizable-commit-analyzer" } }