From 2b646ec8807a2e493c68cab23071c47d385acbd6 Mon Sep 17 00:00:00 2001 From: Tycho Bokdam Date: Tue, 5 Oct 2021 23:42:20 +0200 Subject: [PATCH] fix: Make sure the angular preset is loaded --- package-lock.json | 2 +- package.json | 3 ++- src/index.js | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 39c3e4c..4d0eaae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "conventional-changelog-action", - "version": "3.1.0", + "version": "3.9.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index e4374d8..f008c30 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "@actions/exec": "1.1.0", "@iarna/toml": "^2.2.5", "conventional-changelog": "3.1.24", + "conventional-changelog-angular": "^5.0.13", "conventional-recommended-bump": "6.1.0", "git-semver-tags": "4.1.1", "object-path": "^0.11.8", @@ -45,4 +46,4 @@ "@vercel/ncc": "^0.31.1", "husky": "4.3.6" } -} \ No newline at end of file +} diff --git a/src/index.js b/src/index.js index f36e63d..d87ccfe 100644 --- a/src/index.js +++ b/src/index.js @@ -2,6 +2,9 @@ const core = require('@actions/core') const conventionalRecommendedBump = require('conventional-recommended-bump') const path = require('path') +// Make sure the angular preset is loaded +require('conventional-changelog-angular') + const getVersioning = require('./version') const git = require('./helpers/git') const changelog = require('./helpers/generateChangelog')