@cenk1cenk2/cz-cc 2.2.1 → 2.2.3
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 +13 -13
- package/package.json +11 -11
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region
|
|
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
|
|
113
|
-
task: async (ctx
|
|
114
|
-
ctx
|
|
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
|
|
125
|
-
task: async (ctx
|
|
126
|
-
ctx
|
|
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
|
|
134
|
-
task: async (ctx
|
|
135
|
-
ctx
|
|
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
|
|
143
|
-
task: async (ctx
|
|
144
|
-
ctx
|
|
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.
|
|
3
|
+
"version": "2.2.3",
|
|
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.
|
|
37
|
-
"@listr2/prompt-adapter-inquirer": "^
|
|
36
|
+
"@inquirer/prompts": "^8.2.0",
|
|
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
|
|
41
|
-
"listr2": "^10.
|
|
40
|
+
"find-git-root": "^1.1.0",
|
|
41
|
+
"listr2": "^10.1.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@cenk1cenk2/eslint-config": "^3.1.
|
|
45
|
-
"eslint": "^9.
|
|
46
|
-
"lint-staged": "^16.
|
|
47
|
-
"prettier": "^3.
|
|
44
|
+
"@cenk1cenk2/eslint-config": "^3.1.71",
|
|
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.
|
|
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.
|
|
56
|
+
"packageManager": "pnpm@10.29.1"
|
|
57
57
|
}
|