From 4f2ebc5c5f9986e73184bd9d30698129cd561ae7 Mon Sep 17 00:00:00 2001 From: "John L. Armstrong IV" Date: Mon, 21 Mar 2022 08:15:40 -0400 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20support=20cjs=20config?= =?UTF-8?q?=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With nodejs transitioning from cjs to esm with type: module, supporting the cjs config helps with compatibility ✅ Closes: 401 --- lib/getConfig.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/getConfig.js b/lib/getConfig.js index cb753e81..8d317d0f 100644 --- a/lib/getConfig.js +++ b/lib/getConfig.js @@ -7,6 +7,7 @@ const defaults = require('./defaults'); const configFiles = [ '.git-cz.json', 'changelog.config.js', + 'changelog.config.cjs', 'changelog.config.json' ];