@cenk1cenk2/cz-cc 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -3
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -19,7 +19,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
}
|
|
20
20
|
return to;
|
|
21
21
|
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
23
23
|
value: mod,
|
|
24
24
|
enumerable: true
|
|
25
25
|
}) : target, mod));
|
|
@@ -173,7 +173,7 @@ function engine_default(options) {
|
|
|
173
173
|
//#region src/index.js
|
|
174
174
|
function bootstrap() {
|
|
175
175
|
const config = commitizen.configLoader.load() || {};
|
|
176
|
-
|
|
176
|
+
const options = {
|
|
177
177
|
types: config.types || conventional_commit_types.default.types,
|
|
178
178
|
defaultType: process.env.CZ_TYPE || config.defaultType || "fix",
|
|
179
179
|
defaultScope: process.env.CZ_SCOPE || config.defaultScope,
|
|
@@ -183,7 +183,8 @@ function bootstrap() {
|
|
|
183
183
|
disableScopeLowerCase: process.env.DISABLE_SCOPE_LOWERCASE || config.disableScopeLowerCase,
|
|
184
184
|
maxHeaderWidth: process.env.CZ_MAX_HEADER_WIDTH && Number.parseInt(process.env.CZ_MAX_HEADER_WIDTH, 10) || config.maxHeaderWidth || 100,
|
|
185
185
|
maxLineWidth: process.env.CZ_MAX_LINE_WIDTH && Number.parseInt(process.env.CZ_MAX_LINE_WIDTH, 10) || config.maxLineWidth || 100
|
|
186
|
-
}
|
|
186
|
+
};
|
|
187
|
+
return engine_default(options);
|
|
187
188
|
}
|
|
188
189
|
var src_default = bootstrap();
|
|
189
190
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cenk1cenk2/cz-cc",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "Commitizen adapter following the conventional-changelog format.",
|
|
5
5
|
"repository": "git@gitlab.kilic.dev:libraries/cz-cc.git",
|
|
6
6
|
"author": "Cenk Kilic <cenk@kilic.dev>",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@inquirer/prompts": "^8.6.0",
|
|
37
|
-
"@listr2/prompt-adapter-inquirer": "^4.2.
|
|
37
|
+
"@listr2/prompt-adapter-inquirer": "^4.2.7",
|
|
38
38
|
"commitizen": "^4.3.2",
|
|
39
39
|
"conventional-commit-types": "^3.0.0",
|
|
40
40
|
"find-git-root": "^1.1.0",
|
|
41
|
-
"listr2": "^11.0
|
|
41
|
+
"listr2": "^11.1.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@cenk1cenk2/eslint-config": "^3.
|
|
44
|
+
"@cenk1cenk2/eslint-config": "^3.3.0",
|
|
45
45
|
"@types/node": "^24.13.3",
|
|
46
46
|
"eslint": "^10.9.1",
|
|
47
|
-
"lint-staged": "^17.
|
|
47
|
+
"lint-staged": "^17.3.0",
|
|
48
48
|
"prettier": "^3.9.6",
|
|
49
49
|
"simple-git-hooks": "^2.13.1",
|
|
50
50
|
"tsdown": "^0.22.14",
|