@commitlint/prompt 13.2.0
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/CHANGELOG.md +630 -0
- package/README.md +34 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +23 -0
- package/lib/index.js.map +1 -0
- package/lib/input.d.ts +10 -0
- package/lib/input.d.ts.map +1 -0
- package/lib/input.js +53 -0
- package/lib/input.js.map +1 -0
- package/lib/library/format.d.ts +10 -0
- package/lib/library/format.d.ts.map +1 -0
- package/lib/library/format.js +32 -0
- package/lib/library/format.js.map +1 -0
- package/lib/library/get-forced-case-fn.d.ts +8 -0
- package/lib/library/get-forced-case-fn.d.ts.map +1 -0
- package/lib/library/get-forced-case-fn.js +52 -0
- package/lib/library/get-forced-case-fn.js.map +1 -0
- package/lib/library/get-forced-leading-fn.d.ts +8 -0
- package/lib/library/get-forced-leading-fn.d.ts.map +1 -0
- package/lib/library/get-forced-leading-fn.js +24 -0
- package/lib/library/get-forced-leading-fn.js.map +1 -0
- package/lib/library/get-prompt.d.ts +14 -0
- package/lib/library/get-prompt.d.ts.map +1 -0
- package/lib/library/get-prompt.js +177 -0
- package/lib/library/get-prompt.js.map +1 -0
- package/lib/library/meta.d.ts +7 -0
- package/lib/library/meta.d.ts.map +1 -0
- package/lib/library/meta.js +22 -0
- package/lib/library/meta.js.map +1 -0
- package/lib/library/types.d.ts +41 -0
- package/lib/library/types.d.ts.map +1 -0
- package/lib/library/types.js +3 -0
- package/lib/library/types.js.map +1 -0
- package/lib/library/utils.d.ts +53 -0
- package/lib/library/utils.d.ts.map +1 -0
- package/lib/library/utils.js +98 -0
- package/lib/library/utils.js.map +1 -0
- package/lib/settings.d.ts +56 -0
- package/lib/settings.d.ts.map +1 -0
- package/lib/settings.js +57 -0
- package/lib/settings.js.map +1 -0
- package/license.md +21 -0
- package/package.json +51 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,630 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# [13.2.0](https://github.com/conventional-changelog/commitlint/compare/v13.1.0...v13.2.0) (2021-09-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [13.1.0](https://github.com/conventional-changelog/commitlint/compare/v13.0.0...v13.1.0) (2021-07-24)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [13.0.0](https://github.com/conventional-changelog/commitlint/compare/v12.1.4...v13.0.0) (2021-05-24)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
* chore!: remove node 10 support (#2596) ([4db4ba1](https://github.com/conventional-changelog/commitlint/commit/4db4ba1b0b312410a0f62100a93a80c246a6c410)), closes [#2596](https://github.com/conventional-changelog/commitlint/issues/2596)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### BREAKING CHANGES
|
|
29
|
+
|
|
30
|
+
* minimum node version is 12
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## [12.1.3](https://github.com/conventional-changelog/commitlint/compare/v12.1.2...v12.1.3) (2021-05-12)
|
|
37
|
+
|
|
38
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## [12.1.2](https://github.com/conventional-changelog/commitlint/compare/v12.1.1...v12.1.2) (2021-04-29)
|
|
45
|
+
|
|
46
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Bug Fixes
|
|
56
|
+
|
|
57
|
+
* **prompt:** modify the entry point to pass commitizen's function check ([#2501](https://github.com/conventional-changelog/commitlint/issues/2501)) ([0173fb7](https://github.com/conventional-changelog/commitlint/commit/0173fb7cc01dc8442ed88a0ab8feec20c955deee)), closes [/github.com/conventional-changelog/commitlint/issues/2486#issuecomment-791682272](https://github.com//github.com/conventional-changelog/commitlint/issues/2486/issues/issuecomment-791682272) [/github.com/conventional-changelog/commitlint/issues/2486#issuecomment-791682272](https://github.com//github.com/conventional-changelog/commitlint/issues/2486/issues/issuecomment-791682272)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
# [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06)
|
|
64
|
+
|
|
65
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Bug Fixes
|
|
75
|
+
|
|
76
|
+
* update dependency throat to v6 ([#2417](https://github.com/conventional-changelog/commitlint/issues/2417)) ([6f7db1b](https://github.com/conventional-changelog/commitlint/commit/6f7db1b39c48561b84a4fce9623fb045c5467fe8))
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18)
|
|
83
|
+
|
|
84
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
# [11.0.0](https://github.com/conventional-changelog/commitlint/compare/v10.0.0...v11.0.0) (2020-09-05)
|
|
91
|
+
|
|
92
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
# [10.0.0](https://github.com/conventional-changelog/commitlint/compare/v9.1.2...v10.0.0) (2020-08-16)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
* refactor!: drop support for node 8 (#1999) ([751f39f](https://github.com/conventional-changelog/commitlint/commit/751f39f284ef232574a176c3c11b1982ee544166)), closes [#1999](https://github.com/conventional-changelog/commitlint/issues/1999)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### BREAKING CHANGES
|
|
105
|
+
|
|
106
|
+
* remove node 8 from circle-ci checks
|
|
107
|
+
|
|
108
|
+
also remove node 13 because we do not support experimental versions
|
|
109
|
+
|
|
110
|
+
* docs: update node v10 to latest LTS 10 version
|
|
111
|
+
|
|
112
|
+
Co-authored-by: Cedric van Putten <me@bycedric.com>
|
|
113
|
+
|
|
114
|
+
Co-authored-by: Cedric van Putten <me@bycedric.com>
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13)
|
|
121
|
+
|
|
122
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30)
|
|
129
|
+
|
|
130
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
### Bug Fixes
|
|
140
|
+
|
|
141
|
+
* update dependency chalk to v4 ([#1275](https://github.com/conventional-changelog/commitlint/issues/1275)) ([a5d8fa1](https://github.com/conventional-changelog/commitlint/commit/a5d8fa118e8221361f14f5fd2b21d7aaad008a27))
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26)
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
### Bug Fixes
|
|
151
|
+
|
|
152
|
+
* add missing @babel/runtime dep [#1738](https://github.com/conventional-changelog/commitlint/issues/1738) ([#1754](https://github.com/conventional-changelog/commitlint/issues/1754)) ([09afcd6](https://github.com/conventional-changelog/commitlint/commit/09afcd647a2c1d00538cf1c970e3790d936111f8))
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
### Bug Fixes
|
|
162
|
+
|
|
163
|
+
* [#840](https://github.com/conventional-changelog/commitlint/issues/840) add caret to lodash versions ([#843](https://github.com/conventional-changelog/commitlint/issues/843)) ([ffc0bac](https://github.com/conventional-changelog/commitlint/commit/ffc0bac26993acb2ab6a8fa51065f93c92b0d644))
|
|
164
|
+
* incorrect use of when in getForcedCaseFn ([#993](https://github.com/conventional-changelog/commitlint/issues/993)) ([34c11b8](https://github.com/conventional-changelog/commitlint/commit/34c11b8f3f233eca51866274a10d35231e8eb3d4))
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15)
|
|
171
|
+
|
|
172
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03)
|
|
179
|
+
|
|
180
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
## [8.3.1](https://github.com/conventional-changelog/commitlint/compare/v8.3.0...v8.3.1) (2019-10-16)
|
|
187
|
+
|
|
188
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
# [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16)
|
|
195
|
+
|
|
196
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
# [8.2.0](https://github.com/conventional-changelog/commitlint/compare/v8.1.0...v8.2.0) (2019-09-16)
|
|
203
|
+
|
|
204
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
# [8.1.0](https://github.com/conventional-changelog/commitlint/compare/v8.0.0...v8.1.0) (2019-07-15)
|
|
211
|
+
|
|
212
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
## [7.6.1](https://github.com/conventional-changelog/commitlint/compare/v7.6.0...v7.6.1) (2019-05-09)
|
|
219
|
+
|
|
220
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
|
|
227
|
+
|
|
228
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
<a name="7.5.0"></a>
|
|
235
|
+
# [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31)
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
### Bug Fixes
|
|
239
|
+
|
|
240
|
+
* all broken website references ([#564](https://github.com/conventional-changelog/commitlint/issues/564)) ([82eeb5a](https://github.com/conventional-changelog/commitlint/commit/82eeb5a))
|
|
241
|
+
* replace all repository references with conventional changelog ([#561](https://github.com/conventional-changelog/commitlint/issues/561)) ([6c3afcd](https://github.com/conventional-changelog/commitlint/commit/6c3afcd))
|
|
242
|
+
* replace all website references with conventional changelog ([#563](https://github.com/conventional-changelog/commitlint/issues/563)) ([6b86fb1](https://github.com/conventional-changelog/commitlint/commit/6b86fb1))
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
<a name="7.3.1"></a>
|
|
248
|
+
## [7.3.1](https://github.com/conventional-changelog/commitlint/compare/v7.3.0...v7.3.1) (2019-01-11)
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
254
|
+
|
|
255
|
+
<a name="7.3.0"></a>
|
|
256
|
+
# [7.3.0](https://github.com/conventional-changelog/commitlint/compare/v7.2.1...v7.3.0) (2019-01-11)
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
### Bug Fixes
|
|
260
|
+
|
|
261
|
+
* update to security-patched dependency versions ([97c033b](https://github.com/conventional-changelog/commitlint/commit/97c033b))
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
<a name="7.2.1"></a>
|
|
267
|
+
## [7.2.1](https://github.com/conventional-changelog/commitlint/compare/v7.2.0...v7.2.1) (2018-10-11)
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
273
|
+
|
|
274
|
+
<a name="7.2.0"></a>
|
|
275
|
+
# [7.2.0](https://github.com/conventional-changelog/commitlint/compare/v7.1.2...v7.2.0) (2018-10-05)
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
281
|
+
|
|
282
|
+
<a name="7.1.2"></a>
|
|
283
|
+
## [7.1.2](https://github.com/conventional-changelog/commitlint/compare/v7.1.1...v7.1.2) (2018-09-04)
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
289
|
+
|
|
290
|
+
<a name="6.1.1"></a>
|
|
291
|
+
## [6.1.1](https://github.com/conventional-changelog/commitlint/compare/v6.1.0...v6.1.1) (2018-02-22)
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
297
|
+
|
|
298
|
+
<a name="6.1.0"></a>
|
|
299
|
+
# [6.1.0](https://github.com/conventional-changelog/commitlint/compare/v6.0.5...v6.1.0) (2018-02-03)
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
305
|
+
|
|
306
|
+
<a name="6.0.5"></a>
|
|
307
|
+
## [6.0.5](https://github.com/conventional-changelog/commitlint/compare/v6.0.4...v6.0.5) (2018-01-31)
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
313
|
+
|
|
314
|
+
<a name="6.0.4"></a>
|
|
315
|
+
## [6.0.4](https://github.com/conventional-changelog/commitlint/compare/v6.0.3...v6.0.4) (2018-01-31)
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
321
|
+
|
|
322
|
+
<a name="6.0.3"></a>
|
|
323
|
+
## [6.0.3](https://github.com/conventional-changelog/commitlint/compare/v6.0.2...v6.0.3) (2018-01-31)
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
329
|
+
|
|
330
|
+
<a name="6.0.2"></a>
|
|
331
|
+
## [6.0.2](https://github.com/conventional-changelog/commitlint/compare/v6.0.0...v6.0.2) (2018-01-12)
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
337
|
+
|
|
338
|
+
<a name="6.0.1"></a>
|
|
339
|
+
## [6.0.1](https://github.com/conventional-changelog/commitlint/compare/v6.0.0...v6.0.1) (2018-01-09)
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
345
|
+
|
|
346
|
+
<a name="6.0.0"></a>
|
|
347
|
+
# [6.0.0](https://github.com/conventional-changelog/commitlint/compare/v5.2.6...v6.0.0) (2018-01-09)
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
353
|
+
|
|
354
|
+
<a name="5.2.6"></a>
|
|
355
|
+
## [5.2.6](https://github.com/conventional-changelog/commitlint/compare/v5.2.5...v5.2.6) (2017-12-21)
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
361
|
+
|
|
362
|
+
<a name="5.2.5"></a>
|
|
363
|
+
## [5.2.5](https://github.com/conventional-changelog/commitlint/compare/v5.2.4...v5.2.5) (2017-12-08)
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
369
|
+
|
|
370
|
+
<a name="5.2.4"></a>
|
|
371
|
+
## [5.2.4](https://github.com/conventional-changelog/commitlint/compare/v5.2.3...v5.2.4) (2017-12-08)
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
377
|
+
|
|
378
|
+
<a name="5.2.0"></a>
|
|
379
|
+
# [5.2.0](https://github.com/conventional-changelog/commitlint/compare/v5.1.3...v5.2.0) (2017-11-30)
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
385
|
+
|
|
386
|
+
<a name="5.1.2"></a>
|
|
387
|
+
## [5.1.2](https://github.com/conventional-changelog/commitlint/compare/v5.1.1...v5.1.2) (2017-11-24)
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
### Bug Fixes
|
|
391
|
+
|
|
392
|
+
* **prompt:** apply forced cases properly ([3a569a7](https://github.com/conventional-changelog/commitlint/commit/3a569a7)), closes [#145](https://github.com/conventional-changelog/commitlint/issues/145)
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
<a name="5.1.1"></a>
|
|
398
|
+
## [5.1.1](https://github.com/conventional-changelog/commitlint/compare/v5.1.0...v5.1.1) (2017-11-24)
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
404
|
+
|
|
405
|
+
<a name="5.1.0"></a>
|
|
406
|
+
# [5.1.0](https://github.com/conventional-changelog/commitlint/compare/v5.0.2...v5.1.0) (2017-11-24)
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
### Bug Fixes
|
|
410
|
+
|
|
411
|
+
* update dependency concurrently to v3.5.1 ([#147](https://github.com/conventional-changelog/commitlint/issues/147)) ([a809d0f](https://github.com/conventional-changelog/commitlint/commit/a809d0f))
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
### Features
|
|
415
|
+
|
|
416
|
+
* **prompt:** add description for build, ci and revert ([#148](https://github.com/conventional-changelog/commitlint/issues/148)) ([ee6ec6e](https://github.com/conventional-changelog/commitlint/commit/ee6ec6e))
|
|
417
|
+
* **travis-cli:** add reusable travis command line interface ([3e6e6a8](https://github.com/conventional-changelog/commitlint/commit/3e6e6a8))
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
<a name="5.0.1"></a>
|
|
423
|
+
## [5.0.1](https://github.com/conventional-changelog/commitlint/compare/v5.0.0...v5.0.1) (2017-11-19)
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
429
|
+
|
|
430
|
+
<a name="4.3.0"></a>
|
|
431
|
+
# [4.3.0](https://github.com/conventional-changelog/commitlint/compare/v4.2.2...v4.3.0) (2017-11-08)
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
437
|
+
|
|
438
|
+
<a name="4.2.2"></a>
|
|
439
|
+
## [4.2.2](https://github.com/conventional-changelog/commitlint/compare/v4.2.1...v4.2.2) (2017-10-26)
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
445
|
+
|
|
446
|
+
<a name="4.2.1"></a>
|
|
447
|
+
## [4.2.1](https://github.com/conventional-changelog/commitlint/compare/v4.2.0...v4.2.1) (2017-10-18)
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
453
|
+
|
|
454
|
+
<a name="4.2.0"></a>
|
|
455
|
+
# [4.2.0](https://github.com/conventional-changelog/commitlint/compare/v4.1.1...v4.2.0) (2017-10-14)
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
461
|
+
|
|
462
|
+
<a name="4.1.1"></a>
|
|
463
|
+
## [4.1.1](https://github.com/conventional-changelog/commitlint/compare/v4.1.0...v4.1.1) (2017-10-09)
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
469
|
+
|
|
470
|
+
<a name="4.1.0"></a>
|
|
471
|
+
# [4.1.0](https://github.com/conventional-changelog/commitlint/compare/v4.0.0...v4.1.0) (2017-10-05)
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
477
|
+
|
|
478
|
+
<a name="4.0.0"></a>
|
|
479
|
+
# [4.0.0](https://github.com/conventional-changelog/commitlint/compare/v3.2.0...v4.0.0) (2017-10-04)
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
**Note:** Version bump only for package @commitlint/prompt
|
|
485
|
+
|
|
486
|
+
<a name="3.2.0"></a>
|
|
487
|
+
# 3.2.0 (2017-09-05)
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
<a name="3.1.3"></a>
|
|
492
|
+
## 3.1.3 (2017-08-21)
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
<a name="3.1.2"></a>
|
|
497
|
+
## 3.1.2 (2017-08-07)
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
<a name="3.1.1"></a>
|
|
502
|
+
## 3.1.1 (2017-08-07)
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
<a name="3.0.4"></a>
|
|
507
|
+
## 3.0.4 (2017-08-04)
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
<a name="3.0.3"></a>
|
|
512
|
+
## 3.0.3 (2017-07-16)
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
<a name="3.0.2"></a>
|
|
517
|
+
## 3.0.2 (2017-07-11)
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
<a name="3.1.3"></a>
|
|
523
|
+
## 3.1.3 (2017-08-21)
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
<a name="3.1.2"></a>
|
|
528
|
+
## 3.1.2 (2017-08-07)
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
<a name="3.1.1"></a>
|
|
533
|
+
## 3.1.1 (2017-08-07)
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
<a name="3.0.4"></a>
|
|
538
|
+
## 3.0.4 (2017-08-04)
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
<a name="3.0.3"></a>
|
|
543
|
+
## 3.0.3 (2017-07-16)
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
<a name="3.0.2"></a>
|
|
548
|
+
## 3.0.2 (2017-07-11)
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
<a name="3.1.2"></a>
|
|
554
|
+
## 3.1.2 (2017-08-07)
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
<a name="3.1.1"></a>
|
|
559
|
+
## 3.1.1 (2017-08-07)
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
<a name="3.0.4"></a>
|
|
564
|
+
## 3.0.4 (2017-08-04)
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
<a name="3.0.3"></a>
|
|
569
|
+
## 3.0.3 (2017-07-16)
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
<a name="3.0.2"></a>
|
|
574
|
+
## 3.0.2 (2017-07-11)
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
<a name="3.0.4"></a>
|
|
580
|
+
## 3.0.4 (2017-08-04)
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
<a name="3.0.3"></a>
|
|
585
|
+
## 3.0.3 (2017-07-16)
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
<a name="3.0.2"></a>
|
|
590
|
+
## 3.0.2 (2017-07-11)
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
<a name="3.0.3"></a>
|
|
596
|
+
## 3.0.3 (2017-07-16)
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
<a name="3.0.2"></a>
|
|
601
|
+
## 3.0.2 (2017-07-11)
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
<a name="3.0.2"></a>
|
|
607
|
+
## 3.0.2 (2017-07-11)
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
<a name="3.0.1"></a>
|
|
613
|
+
## 3.0.1 (2017-07-11)
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
<a name="3.0.1"></a>
|
|
619
|
+
## 3.0.1 (2017-07-11)
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
<a name="3.0.0"></a>
|
|
624
|
+
# 3.0.0 (2017-07-10)
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
<a name="3.0.0"></a>
|
|
630
|
+
# 3.0.0 (2017-07-10)
|
package/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
> commitizen adapter using commitlint.config.js
|
|
2
|
+
|
|
3
|
+
# @commitlint/prompt
|
|
4
|
+
|
|
5
|
+
This is the library and commitizen adapter version of commitlint prompt.
|
|
6
|
+
A ready-to-use cli version is available at [@commitlint/prompt-cli](../prompt-cli).
|
|
7
|
+
Learn how to use it at [docs/prompt](https://conventional-changelog.github.io/commitlint/#/guides-use-prompt).
|
|
8
|
+
|
|
9
|
+
## Getting started
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install --save-dev @commitlint/prompt @commitlint/config-conventional commitizen
|
|
13
|
+
echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.js
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
In package.json
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
{
|
|
20
|
+
"scripts": {
|
|
21
|
+
"commit": "git-cz"
|
|
22
|
+
},
|
|
23
|
+
"config": {
|
|
24
|
+
"commitizen": {
|
|
25
|
+
"path": "@commitlint/prompt"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
git add .
|
|
33
|
+
npm run commit
|
|
34
|
+
```
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare type Commit = (input: string) => void;
|
|
2
|
+
/**
|
|
3
|
+
* Entry point for commitizen
|
|
4
|
+
* @param _ inquirer instance passed by commitizen, unused
|
|
5
|
+
* @param commit callback to execute with complete commit message
|
|
6
|
+
* @return {void}
|
|
7
|
+
*/
|
|
8
|
+
export declare function prompter(_: unknown, commit: Commit): void;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,aAAK,MAAM,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;AAEtC;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAIzD"}
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.prompter = void 0;
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
const vorpal_1 = __importDefault(require("vorpal"));
|
|
10
|
+
const input_1 = __importDefault(require("./input"));
|
|
11
|
+
/**
|
|
12
|
+
* Entry point for commitizen
|
|
13
|
+
* @param _ inquirer instance passed by commitizen, unused
|
|
14
|
+
* @param commit callback to execute with complete commit message
|
|
15
|
+
* @return {void}
|
|
16
|
+
*/
|
|
17
|
+
function prompter(_, commit) {
|
|
18
|
+
(0, input_1.default)(vorpal_1.default).then((message) => {
|
|
19
|
+
commit(message);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
exports.prompter = prompter;
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,6DAA6D;AAC7D,aAAa;AACb,oDAA4B;AAC5B,oDAA4B;AAI5B;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,CAAU,EAAE,MAAc;IAClD,IAAA,eAAK,EAAC,gBAAM,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE;QAC9B,MAAM,CAAC,OAAO,CAAC,CAAC;IACjB,CAAC,CAAC,CAAC;AACJ,CAAC;AAJD,4BAIC"}
|