@cenk1cenk2/cz-cc 2.2.2 → 2.2.4

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 +13 -13
  2. package/package.json +11 -11
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- //#region rolldown:runtime
1
+ //#region \0rolldown/runtime.js
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -109,9 +109,9 @@ function engine_default(options) {
109
109
  } },
110
110
  { task: (ctx, task) => task.newListr([
111
111
  {
112
- skip: (ctx$1) => !ctx$1.prompts.additional.includes("scope"),
113
- task: async (ctx$1, task$1) => {
114
- ctx$1.prompts.scope = await task$1.prompt(_listr2_prompt_adapter_inquirer.ListrInquirerPromptAdapter).run(_inquirer_prompts.input, {
112
+ skip: (ctx) => !ctx.prompts.additional.includes("scope"),
113
+ task: async (ctx, task) => {
114
+ ctx.prompts.scope = await task.prompt(_listr2_prompt_adapter_inquirer.ListrInquirerPromptAdapter).run(_inquirer_prompts.input, {
115
115
  message: "Please state the scope of the change:",
116
116
  default: options.defaultScope,
117
117
  transformer: (value) => {
@@ -121,27 +121,27 @@ function engine_default(options) {
121
121
  }
122
122
  },
123
123
  {
124
- skip: (ctx$1) => !ctx$1.prompts.additional.some((property) => ["long-description"].includes(property)),
125
- task: async (ctx$1, task$1) => {
126
- ctx$1.prompts.body = await task$1.prompt(_listr2_prompt_adapter_inquirer.ListrInquirerPromptAdapter).run(_inquirer_prompts.editor, {
124
+ skip: (ctx) => !ctx.prompts.additional.some((property) => ["long-description"].includes(property)),
125
+ task: async (ctx, task) => {
126
+ ctx.prompts.body = await task.prompt(_listr2_prompt_adapter_inquirer.ListrInquirerPromptAdapter).run(_inquirer_prompts.editor, {
127
127
  message: "Please give a long description:",
128
128
  default: options.defaultBody
129
129
  });
130
130
  }
131
131
  },
132
132
  {
133
- skip: (ctx$1) => !ctx$1.prompts.additional.includes("issue"),
134
- task: async (ctx$1, task$1) => {
135
- ctx$1.prompts.issues = await task$1.prompt(_listr2_prompt_adapter_inquirer.ListrInquirerPromptAdapter).run(_inquirer_prompts.input, {
133
+ skip: (ctx) => !ctx.prompts.additional.includes("issue"),
134
+ task: async (ctx, task) => {
135
+ ctx.prompts.issues = await task.prompt(_listr2_prompt_adapter_inquirer.ListrInquirerPromptAdapter).run(_inquirer_prompts.input, {
136
136
  message: "Add issue references:",
137
137
  default: options.defaultIssues
138
138
  });
139
139
  }
140
140
  },
141
141
  {
142
- skip: (ctx$1) => !ctx$1.prompts.additional.includes("breaking-changes"),
143
- task: async (ctx$1, task$1) => {
144
- ctx$1.prompts.breaking = await task$1.prompt(_listr2_prompt_adapter_inquirer.ListrInquirerPromptAdapter).run(_inquirer_prompts.editor, { message: "Describe the breaking changes:" });
142
+ skip: (ctx) => !ctx.prompts.additional.includes("breaking-changes"),
143
+ task: async (ctx, task) => {
144
+ ctx.prompts.breaking = await task.prompt(_listr2_prompt_adapter_inquirer.ListrInquirerPromptAdapter).run(_inquirer_prompts.editor, { message: "Describe the breaking changes:" });
145
145
  }
146
146
  }
147
147
  ]) }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cenk1cenk2/cz-cc",
3
- "version": "2.2.2",
3
+ "version": "2.2.4",
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>",
@@ -33,25 +33,25 @@
33
33
  "node": ">= 22"
34
34
  },
35
35
  "dependencies": {
36
- "@inquirer/prompts": "^8.1.0",
37
- "@listr2/prompt-adapter-inquirer": "^4.0.0",
36
+ "@inquirer/prompts": "^8.2.1",
37
+ "@listr2/prompt-adapter-inquirer": "^4.1.0",
38
38
  "commitizen": "^4.3.1",
39
39
  "conventional-commit-types": "^3.0.0",
40
- "find-git-root": "^1.0.4",
41
- "listr2": "^10.0.0"
40
+ "find-git-root": "^1.1.0",
41
+ "listr2": "^10.1.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@cenk1cenk2/eslint-config": "^3.1.69",
45
- "eslint": "^9.35.0",
46
- "lint-staged": "^16.1.6",
47
- "prettier": "^3.6.2",
44
+ "@cenk1cenk2/eslint-config": "^3.1.74",
45
+ "eslint": "^9.39.2",
46
+ "lint-staged": "^16.2.7",
47
+ "prettier": "^3.8.1",
48
48
  "simple-git-hooks": "^2.13.1",
49
- "tsdown": "^0.19.0"
49
+ "tsdown": "^0.20.3"
50
50
  },
51
51
  "config": {
52
52
  "commitizen": {
53
53
  "path": "./dist/index.cjs"
54
54
  }
55
55
  },
56
- "packageManager": "pnpm@10.28.0"
56
+ "packageManager": "pnpm@10.29.3"
57
57
  }