@cenk1cenk2/cz-cc 2.2.24 → 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.
Files changed (2) hide show
  1. package/dist/index.cjs +4 -3
  2. package/package.json +7 -7
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
- return engine_default({
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.2.24",
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.6",
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.1"
41
+ "listr2": "^11.1.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@cenk1cenk2/eslint-config": "^3.2.6",
44
+ "@cenk1cenk2/eslint-config": "^3.3.0",
45
45
  "@types/node": "^24.13.3",
46
- "eslint": "^10.8.1",
47
- "lint-staged": "^17.1.0",
46
+ "eslint": "^10.9.1",
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",
@@ -55,5 +55,5 @@
55
55
  "path": "./dist/index.cjs"
56
56
  }
57
57
  },
58
- "packageManager": "pnpm@11.15.1"
58
+ "packageManager": "pnpm@11.24.0"
59
59
  }