ccommit 1.0.0-ccommit.4 → 1.0.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "license": "MIT",
4
- "version": "1.0.0-ccommit.4",
4
+ "version": "1.0.0",
5
5
  "name": "ccommit",
6
6
  "description": "Conventional Commit Generator that interprets commit types from gitmoji and conventional",
7
7
  "author": {
@@ -9,10 +9,11 @@
9
9
  "email": "j@jeromefitzgerald.com",
10
10
  "url": "https://jeromefitzgerald.com"
11
11
  },
12
+ "homepage": "https://github.com/JeromeFitz/packages/tree/main/packages/ccommit#readme",
13
+ "repository": "jeromefitz/packages.git",
12
14
  "publishConfig": {
13
15
  "registry": "https://registry.npmjs.org/"
14
16
  },
15
- "repository": "jeromefitz/packages.git",
16
17
  "keywords": [
17
18
  "commit",
18
19
  "conventional changelog",
@@ -44,7 +45,6 @@
44
45
  "semantic-release": "semantic-release"
45
46
  },
46
47
  "dependencies": {
47
- "ansi-styles": "6.2.1",
48
48
  "chalk": "5.2.0",
49
49
  "execa": "6.1.0",
50
50
  "fuse.js": "6.6.2",
@@ -55,8 +55,8 @@
55
55
  "pkg-dir": "7.0.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@types/inquirer-autocomplete-prompt": "3.0.0",
59
58
  "@types/inquirer": "9.0.3",
59
+ "@types/inquirer-autocomplete-prompt": "3.0.0",
60
60
  "pkg": "5.8.0"
61
61
  },
62
62
  "peerDependencies": {},
@@ -1,12 +0,0 @@
1
- import { COMMIT_MODES } from '../../lib/index.js';
2
-
3
- declare type CommitOptions = {
4
- message?: string;
5
- mode: typeof COMMIT_MODES.CLIENT | typeof COMMIT_MODES.HOOK;
6
- scope?: string;
7
- skip: boolean;
8
- title?: string;
9
- };
10
- declare const commit: (options: CommitOptions) => Promise<void>;
11
-
12
- export { CommitOptions, commit as default };
@@ -1,3 +0,0 @@
1
- import commit from './commit.js';
2
- export { default } from './commit.js';
3
- import '../../lib/index.js';
@@ -1,71 +0,0 @@
1
- declare type Gitmoji = {
2
- code: string;
3
- description: string;
4
- emoji: string;
5
- name: string;
6
- };
7
- declare type Answers = {
8
- gitmoji: string;
9
- scope?: string;
10
- title: string;
11
- message: string;
12
- };
13
- declare const prompts: (options: any) => ({
14
- name: string;
15
- type: string;
16
- message: string;
17
- default: boolean;
18
- filter?: undefined;
19
- when?: undefined;
20
- source?: undefined;
21
- } | {
22
- name: string;
23
- type: string;
24
- message: string;
25
- filter: (answer: any) => string;
26
- when: (answers: any) => any;
27
- default?: undefined;
28
- source?: undefined;
29
- } | {
30
- name: string;
31
- message: string;
32
- type: string;
33
- source: (answersSoFor: any, input: string) => any;
34
- filter: (answer: any) => any;
35
- default?: undefined;
36
- when?: undefined;
37
- } | {
38
- default?: any;
39
- name: string;
40
- type: string;
41
- inputMin: number;
42
- inputMax: number;
43
- message: string;
44
- validate: (str: string) => true | void;
45
- filter: (answer: any) => any;
46
- transformer: (input: string) => string;
47
- when?: undefined;
48
- source?: undefined;
49
- } | {
50
- default?: any;
51
- type: string;
52
- name: string;
53
- inputMax: number;
54
- inputMin: number;
55
- message: string;
56
- validate: (str: string) => true | void;
57
- filter: (answer: string) => string;
58
- transformer: (input: string) => string;
59
- when?: undefined;
60
- source?: undefined;
61
- } | {
62
- default?: any;
63
- name: string;
64
- message: string;
65
- type?: undefined;
66
- filter?: undefined;
67
- when?: undefined;
68
- source?: undefined;
69
- })[];
70
-
71
- export { Answers, Gitmoji, prompts as default };
@@ -1,7 +0,0 @@
1
- declare const validate: {
2
- getCharsLeftText: (str: string) => void;
3
- scope: (str: string) => true | void;
4
- title: (str: string) => true | void;
5
- };
6
-
7
- export { validate as default };
@@ -1,3 +0,0 @@
1
- declare const withClient: (answers: any, options: any) => Promise<void>;
2
-
3
- export { withClient as default };
@@ -1,3 +0,0 @@
1
- declare const withHook: (answers: any, options: any) => never;
2
-
3
- export { withHook as default };
@@ -1,3 +0,0 @@
1
- export { default as commit } from './commit/commit.js';
2
- export { default as list } from './list/list.js';
3
- import '../lib/index.js';
@@ -1,2 +0,0 @@
1
- import list from './list.js';
2
- export { default } from './list.js';
@@ -1,3 +0,0 @@
1
- declare const list: () => void[];
2
-
3
- export { list as default };
package/data/types.d.ts DELETED
@@ -1,612 +0,0 @@
1
- declare const types: {
2
- access: {
3
- code: string;
4
- description: string;
5
- emoji: string;
6
- emojiLength: number;
7
- semver: string;
8
- type: string;
9
- };
10
- analytics: {
11
- code: string;
12
- description: string;
13
- emoji: string;
14
- emojiLength: number;
15
- semver: string;
16
- type: string;
17
- };
18
- animation: {
19
- code: string;
20
- description: string;
21
- emoji: string;
22
- emojiLength: number;
23
- semver: string;
24
- type: string;
25
- };
26
- arch: {
27
- code: string;
28
- description: string;
29
- emoji: string;
30
- emojiLength: number;
31
- semver: string;
32
- type: string;
33
- };
34
- assets: {
35
- code: string;
36
- description: string;
37
- emoji: string;
38
- emojiLength: number;
39
- semver: string;
40
- type: string;
41
- };
42
- beer: {
43
- code: string;
44
- description: string;
45
- emoji: string;
46
- emojiLength: number;
47
- semver: string;
48
- type: string;
49
- };
50
- breaking: {
51
- code: string;
52
- description: string;
53
- emoji: string;
54
- emojiLength: number;
55
- semver: string;
56
- type: string;
57
- };
58
- build: {
59
- code: string;
60
- description: string;
61
- emoji: string;
62
- emojiLength: number;
63
- semver: string;
64
- type: string;
65
- };
66
- catch: {
67
- code: string;
68
- description: string;
69
- emoji: string;
70
- emojiLength: number;
71
- semver: string;
72
- type: string;
73
- };
74
- chore: {
75
- code: string;
76
- description: string;
77
- emoji: string;
78
- emojiLength: number;
79
- semver: string;
80
- type: string;
81
- };
82
- ci: {
83
- code: string;
84
- description: string;
85
- emoji: string;
86
- emojiLength: number;
87
- semver: string;
88
- type: string;
89
- };
90
- clean: {
91
- code: string;
92
- description: string;
93
- emoji: string;
94
- emojiLength: number;
95
- semver: string;
96
- type: string;
97
- };
98
- compat: {
99
- code: string;
100
- description: string;
101
- emoji: string;
102
- emojiLength: number;
103
- semver: string;
104
- type: string;
105
- };
106
- concurrency: {
107
- code: string;
108
- description: string;
109
- emoji: string;
110
- emojiLength: number;
111
- semver: string;
112
- type: string;
113
- };
114
- config: {
115
- code: string;
116
- description: string;
117
- emoji: string;
118
- emojiLength: number;
119
- semver: string;
120
- type: string;
121
- };
122
- 'contrib-add': {
123
- code: string;
124
- description: string;
125
- emoji: string;
126
- emojiLength: number;
127
- semver: string;
128
- type: string;
129
- };
130
- data: {
131
- code: string;
132
- description: string;
133
- emoji: string;
134
- emojiLength: number;
135
- semver: string;
136
- type: string;
137
- };
138
- db: {
139
- code: string;
140
- description: string;
141
- emoji: string;
142
- emojiLength: number;
143
- semver: string;
144
- type: string;
145
- };
146
- 'dep-add': {
147
- code: string;
148
- description: string;
149
- emoji: string;
150
- emojiLength: number;
151
- semver: string;
152
- type: string;
153
- };
154
- 'dep-rm': {
155
- code: string;
156
- description: string;
157
- emoji: string;
158
- emojiLength: number;
159
- semver: string;
160
- type: string;
161
- };
162
- 'dep-up': {
163
- code: string;
164
- description: string;
165
- emoji: string;
166
- emojiLength: number;
167
- semver: string;
168
- type: string;
169
- };
170
- deploy: {
171
- code: string;
172
- description: string;
173
- emoji: string;
174
- emojiLength: number;
175
- semver: string;
176
- type: string;
177
- };
178
- 'docs-code': {
179
- code: string;
180
- description: string;
181
- emoji: string;
182
- emojiLength: number;
183
- semver: string;
184
- type: string;
185
- };
186
- docs: {
187
- code: string;
188
- description: string;
189
- emoji: string;
190
- emojiLength: number;
191
- semver: string;
192
- type: string;
193
- };
194
- downgrade: {
195
- code: string;
196
- description: string;
197
- emoji: string;
198
- emojiLength: number;
199
- semver: string;
200
- type: string;
201
- };
202
- dx: {
203
- code: string;
204
- description: string;
205
- emoji: string;
206
- emojiLength: number;
207
- semver: string;
208
- type: string;
209
- };
210
- egg: {
211
- code: string;
212
- description: string;
213
- emoji: string;
214
- emojiLength: number;
215
- semver: string;
216
- type: string;
217
- };
218
- experiment: {
219
- code: string;
220
- description: string;
221
- emoji: string;
222
- emojiLength: number;
223
- semver: string;
224
- type: string;
225
- };
226
- feat: {
227
- code: string;
228
- description: string;
229
- emoji: string;
230
- emojiLength: number;
231
- semver: string;
232
- type: string;
233
- };
234
- fix: {
235
- code: string;
236
- description: string;
237
- emoji: string;
238
- emojiLength: number;
239
- semver: string;
240
- type: string;
241
- };
242
- 'fix-ci': {
243
- code: string;
244
- description: string;
245
- emoji: string;
246
- emojiLength: number;
247
- semver: string;
248
- type: string;
249
- };
250
- flags: {
251
- code: string;
252
- description: string;
253
- emoji: string;
254
- emojiLength: number;
255
- semver: string;
256
- type: string;
257
- };
258
- healthcheck: {
259
- code: string;
260
- description: string;
261
- emoji: string;
262
- emojiLength: number;
263
- semver: string;
264
- type: string;
265
- };
266
- hotfix: {
267
- code: string;
268
- description: string;
269
- emoji: string;
270
- emojiLength: number;
271
- semver: string;
272
- type: string;
273
- };
274
- i18n: {
275
- code: string;
276
- description: string;
277
- emoji: string;
278
- emojiLength: number;
279
- semver: string;
280
- type: string;
281
- };
282
- ignore: {
283
- code: string;
284
- description: string;
285
- emoji: string;
286
- emojiLength: number;
287
- semver: string;
288
- type: string;
289
- };
290
- inf: {
291
- code: string;
292
- description: string;
293
- emoji: string;
294
- emojiLength: number;
295
- semver: string;
296
- type: string;
297
- };
298
- init: {
299
- code: string;
300
- description: string;
301
- emoji: string;
302
- emojiLength: number;
303
- semver: string;
304
- type: string;
305
- };
306
- iphone: {
307
- code: string;
308
- description: string;
309
- emoji: string;
310
- emojiLength: number;
311
- semver: string;
312
- type: string;
313
- };
314
- license: {
315
- code: string;
316
- description: string;
317
- emoji: string;
318
- emojiLength: number;
319
- semver: string;
320
- type: string;
321
- };
322
- lint: {
323
- code: string;
324
- description: string;
325
- emoji: string;
326
- emojiLength: number;
327
- semver: string;
328
- type: string;
329
- };
330
- 'log-add': {
331
- code: string;
332
- description: string;
333
- emoji: string;
334
- emojiLength: number;
335
- semver: string;
336
- type: string;
337
- };
338
- 'log-rm': {
339
- code: string;
340
- description: string;
341
- emoji: string;
342
- emojiLength: number;
343
- semver: string;
344
- type: string;
345
- };
346
- logic: {
347
- code: string;
348
- description: string;
349
- emoji: string;
350
- emojiLength: number;
351
- semver: string;
352
- type: string;
353
- };
354
- merge: {
355
- code: string;
356
- description: string;
357
- emoji: string;
358
- emojiLength: number;
359
- semver: string;
360
- type: string;
361
- };
362
- mock: {
363
- code: string;
364
- description: string;
365
- emoji: string;
366
- emojiLength: number;
367
- semver: string;
368
- type: string;
369
- };
370
- mv: {
371
- code: string;
372
- description: string;
373
- emoji: string;
374
- emojiLength: number;
375
- semver: string;
376
- type: string;
377
- };
378
- patch: {
379
- code: string;
380
- description: string;
381
- emoji: string;
382
- emojiLength: number;
383
- semver: string;
384
- type: string;
385
- };
386
- perf: {
387
- code: string;
388
- description: string;
389
- emoji: string;
390
- emojiLength: number;
391
- semver: string;
392
- type: string;
393
- };
394
- poo: {
395
- code: string;
396
- description: string;
397
- emoji: string;
398
- emojiLength: number;
399
- semver: string;
400
- type: string;
401
- };
402
- prune: {
403
- code: string;
404
- description: string;
405
- emoji: string;
406
- emojiLength: number;
407
- semver: string;
408
- type: string;
409
- };
410
- pushpin: {
411
- code: string;
412
- description: string;
413
- emoji: string;
414
- emojiLength: number;
415
- semver: string;
416
- type: string;
417
- };
418
- refactor: {
419
- code: string;
420
- description: string;
421
- emoji: string;
422
- emojiLength: number;
423
- semver: string;
424
- type: string;
425
- };
426
- release: {
427
- code: string;
428
- description: string;
429
- emoji: string;
430
- emojiLength: number;
431
- semver: string;
432
- type: string;
433
- };
434
- revert: {
435
- code: string;
436
- description: string;
437
- emoji: string;
438
- emojiLength: number;
439
- semver: string;
440
- type: string;
441
- };
442
- rip: {
443
- code: string;
444
- description: string;
445
- emoji: string;
446
- emojiLength: number;
447
- semver: string;
448
- type: string;
449
- };
450
- roles: {
451
- code: string;
452
- description: string;
453
- emoji: string;
454
- emojiLength: number;
455
- semver: string;
456
- type: string;
457
- };
458
- rollforward: {
459
- code: string;
460
- description: string;
461
- emoji: string;
462
- emojiLength: number;
463
- semver: string;
464
- type: string;
465
- };
466
- 'run-build': {
467
- code: string;
468
- description: string;
469
- emoji: string;
470
- emojiLength: number;
471
- semver: string;
472
- type: string;
473
- };
474
- secrets: {
475
- code: string;
476
- description: string;
477
- emoji: string;
478
- emojiLength: number;
479
- semver: string;
480
- type: string;
481
- };
482
- security: {
483
- code: string;
484
- description: string;
485
- emoji: string;
486
- emojiLength: number;
487
- semver: string;
488
- type: string;
489
- };
490
- seed: {
491
- code: string;
492
- description: string;
493
- emoji: string;
494
- emojiLength: number;
495
- semver: string;
496
- type: string;
497
- };
498
- seo: {
499
- code: string;
500
- description: string;
501
- emoji: string;
502
- emojiLength: number;
503
- semver: string;
504
- type: string;
505
- };
506
- snapshot: {
507
- code: string;
508
- description: string;
509
- emoji: string;
510
- emojiLength: number;
511
- semver: string;
512
- type: string;
513
- };
514
- sponsor: {
515
- code: string;
516
- description: string;
517
- emoji: string;
518
- emojiLength: number;
519
- semver: string;
520
- type: string;
521
- };
522
- style: {
523
- code: string;
524
- description: string;
525
- emoji: string;
526
- emojiLength: number;
527
- semver: string;
528
- type: string;
529
- };
530
- 'test-fail': {
531
- code: string;
532
- description: string;
533
- emoji: string;
534
- emojiLength: number;
535
- semver: string;
536
- type: string;
537
- };
538
- test: {
539
- code: string;
540
- description: string;
541
- emoji: string;
542
- emojiLength: number;
543
- semver: string;
544
- type: string;
545
- };
546
- texts: {
547
- code: string;
548
- description: string;
549
- emoji: string;
550
- emojiLength: number;
551
- semver: string;
552
- type: string;
553
- };
554
- types: {
555
- code: string;
556
- description: string;
557
- emoji: string;
558
- emojiLength: number;
559
- semver: string;
560
- type: string;
561
- };
562
- typo: {
563
- code: string;
564
- description: string;
565
- emoji: string;
566
- emojiLength: number;
567
- semver: string;
568
- type: string;
569
- };
570
- ui: {
571
- code: string;
572
- description: string;
573
- emoji: string;
574
- emojiLength: number;
575
- semver: string;
576
- type: string;
577
- };
578
- upgrade: {
579
- code: string;
580
- description: string;
581
- emoji: string;
582
- emojiLength: number;
583
- semver: string;
584
- type: string;
585
- };
586
- ux: {
587
- code: string;
588
- description: string;
589
- emoji: string;
590
- emojiLength: number;
591
- semver: string;
592
- type: string;
593
- };
594
- validation: {
595
- code: string;
596
- description: string;
597
- emoji: string;
598
- emojiLength: number;
599
- semver: string;
600
- type: string;
601
- };
602
- wip: {
603
- code: string;
604
- description: string;
605
- emoji: string;
606
- emojiLength: number;
607
- semver: string;
608
- type: string;
609
- };
610
- };
611
-
612
- export { types as default };
package/index.d.ts DELETED
@@ -1 +0,0 @@
1
- #!/usr/bin/env node
package/lib/index.d.ts DELETED
@@ -1,79 +0,0 @@
1
- declare const COMMANDS: {
2
- COMMIT: string;
3
- HOOK: string;
4
- LIST: string;
5
- };
6
- declare const COMMIT_FORMATS: {
7
- CONVENTIONAL: string;
8
- CONVENTIONAL_NO_EMOJI: string;
9
- GITMOJI: string;
10
- };
11
- declare const COMMIT_MODES: {
12
- CLIENT: string;
13
- HOOK: string;
14
- };
15
- declare const FIND_BY: {
16
- EMOJI: string;
17
- TYPE: string;
18
- };
19
- declare const FLAGS: Readonly<{
20
- BREAKING: "breaking";
21
- COMMIT: "commit";
22
- DRYRUN: "dryrun";
23
- EMOJI: "emoji";
24
- HELP: "help";
25
- HOOK: "hook";
26
- LIST: "list";
27
- SKIP: "skip";
28
- VERSION: "version";
29
- }>;
30
- declare const FORMAT: {
31
- [x: string]: string;
32
- };
33
- declare const LOGS: {
34
- TYPES: {
35
- ERROR: string;
36
- INFO: string;
37
- SUCCESS: string;
38
- WARNING: string;
39
- };
40
- MESSAGES: {
41
- COMMAND_LINE_WITHOUT_REQUIRED: string;
42
- COMMIT_FAIL: string;
43
- GENERATOR_TAKING_OVER: string;
44
- LENGTH_MAX: string;
45
- LENGTH_MIN: string;
46
- MODE_CONFLICT: string;
47
- REPLACE: string;
48
- STAGED_FILES: string;
49
- TYPE_INCORRECT: string;
50
- };
51
- };
52
- declare const OPTIONS: Readonly<{
53
- FORMAT: "format";
54
- MESSAGE: "message";
55
- SCOPE: "scope";
56
- TITLE: "title";
57
- TYPE: "type";
58
- }>;
59
- declare const SCOPE: {
60
- MIN: number;
61
- MAX: number;
62
- };
63
- declare const SEMVER: {
64
- MAJOR: string;
65
- MINOR: string;
66
- PATCH: string;
67
- NULL: string;
68
- };
69
- declare const TITLE: {
70
- MIN: number;
71
- MIN_SWAG: number;
72
- MAX: number;
73
- MAX_SWAG: number;
74
- };
75
- declare const TYPE: {
76
- MAX: number;
77
- };
78
-
79
- export { COMMANDS, COMMIT_FORMATS, COMMIT_MODES, FIND_BY, FLAGS, FORMAT, LOGS, OPTIONS, SCOPE, SEMVER, TITLE, TYPE };
@@ -1,6 +0,0 @@
1
- declare const cancelIfRebasing: () => Promise<void>;
2
- declare const COMMIT_MESSAGE_SOURCE = 4;
3
- declare const cancelIfAmending: () => Promise<void>;
4
- declare const cancelIfNeeded: () => Promise<void>;
5
-
6
- export { COMMIT_MESSAGE_SOURCE, cancelIfAmending, cancelIfNeeded, cancelIfRebasing };
package/utils/filter.d.ts DELETED
@@ -1,3 +0,0 @@
1
- declare const filterGitmojis: (input: string, gitmojis: any) => any;
2
-
3
- export { filterGitmojis };
package/utils/findBy.d.ts DELETED
@@ -1,3 +0,0 @@
1
- declare const findBy: (str: any, from: any, to: any) => string | undefined;
2
-
3
- export { findBy };
@@ -1,3 +0,0 @@
1
- declare const findCommand: (cli: any, options: any) => void;
2
-
3
- export { findCommand };
package/utils/format.d.ts DELETED
@@ -1,9 +0,0 @@
1
- declare const formatCliEmoji: ({ emoji, emojiLength }: {
2
- emoji: any;
3
- emojiLength: any;
4
- }) => string;
5
- declare const formatCliType: (type: any) => any;
6
- declare const formatCliTypes: (commitTypes: any) => void[];
7
- declare const formatCommitSubject: (options: any, answers: any) => string;
8
-
9
- export { formatCliEmoji, formatCliType, formatCliTypes, formatCommitSubject };
@@ -1,4 +0,0 @@
1
- declare type GenerateLog = (type: string, message: string, replace?: string) => void;
2
- declare const generateLog: GenerateLog;
3
-
4
- export { generateLog };
@@ -1,7 +0,0 @@
1
- declare const getDefaultCommitContent: (options: any) => {
2
- message: any;
3
- scope: any;
4
- title: any;
5
- };
6
-
7
- export { getDefaultCommitContent };
@@ -1,8 +0,0 @@
1
- declare const getEmojis: (commitTypes: any) => {
2
- emoji: any;
3
- emojiLength: any;
4
- description: any;
5
- type: any;
6
- }[];
7
-
8
- export { getEmojis };
@@ -1,3 +0,0 @@
1
- declare const getGitRootDir: () => string;
2
-
3
- export { getGitRootDir };
@@ -1,3 +0,0 @@
1
- declare const getIssueTracker: () => string;
2
-
3
- export { getIssueTracker };
@@ -1,3 +0,0 @@
1
- declare const getStagedFiles: () => boolean;
2
-
3
- export { getStagedFiles };
package/utils/index.d.ts DELETED
@@ -1,17 +0,0 @@
1
- export { COMMIT_MESSAGE_SOURCE, cancelIfAmending, cancelIfNeeded, cancelIfRebasing } from './cancelIf.js';
2
- export { filterGitmojis } from './filter.js';
3
- export { findCommand } from './findCommand.js';
4
- export { findBy } from './findBy.js';
5
- export { formatCliEmoji, formatCliType, formatCliTypes, formatCommitSubject } from './format.js';
6
- export { generateLog } from './generateLog.js';
7
- export { getDefaultCommitContent } from './getDefaultCommitContent.js';
8
- export { getEmojis } from './getEmojis.js';
9
- export { getGitRootDir } from './getGitRootDir.js';
10
- export { getIssueTracker } from './getIssueTracker.js';
11
- export { getStagedFiles } from './getStagedFiles.js';
12
- export { printDryRun } from './printDryRun.js';
13
- export { default as PromptInputLimited } from './promptInputLimited.js';
14
- export { default as PromptInputPrepopulate } from './promptInputPrepopulate.js';
15
- export { default as PromptInputPrepopulateLimited } from './promptInputPrepopulateLimited.js';
16
- export { registerHookInterruptionHandler } from './registerHookInterruptionHandler.js';
17
- import 'inquirer/lib/prompts/input.js';
@@ -1,3 +0,0 @@
1
- declare const printDryRun: (v: any) => void;
2
-
3
- export { printDryRun };
@@ -1,14 +0,0 @@
1
- import Input from 'inquirer/lib/prompts/input.js';
2
-
3
- /**
4
- * @note(inquirer) Custom Input Prompt: Limited
5
- * @todo(inquirer) Not baked out enough to share outside of this repo
6
- *
7
- * If there is a MAX CHAR LIMIT for an input
8
- *
9
- */
10
- declare class PromptInputLimited extends Input {
11
- onKeypress(): void;
12
- }
13
-
14
- export { PromptInputLimited as default };
@@ -1,17 +0,0 @@
1
- import Input from 'inquirer/lib/prompts/input.js';
2
-
3
- /**
4
- * @note(inquirer) Custom Input Prompt: Prepopulate
5
- * @todo(inquirer) Not baked out enough to share outside of this repo
6
- *
7
- * If there is a `default` provided,
8
- * prepopulate the input if the user presses either:
9
- * - space
10
- * - tab
11
- *
12
- */
13
- declare class PromptInputPrepopulate extends Input {
14
- onKeypress(): void;
15
- }
16
-
17
- export { PromptInputPrepopulate as default };
@@ -1,18 +0,0 @@
1
- import Input from 'inquirer/lib/prompts/input.js';
2
-
3
- /**
4
- * @note(inquirer) Custom Input Prompt: PrepopulateLimited
5
- * @todo(inquirer) Not baked out enough to share outside of this repo
6
- *
7
- * If there is a `default` provided,
8
- * prepopulate the input if the user presses either:
9
- * - space
10
- * - tab
11
- *
12
- * If there is a MAX CHAR LIMIT for an input
13
- */
14
- declare class PromptInputPrepopulateLimited extends Input {
15
- onKeypress(): void;
16
- }
17
-
18
- export { PromptInputPrepopulateLimited as default };
@@ -1,6 +0,0 @@
1
- /**
2
- * reference: https://github.com/carloscuesta/gitmoji-cli
3
- */
4
- declare const registerHookInterruptionHandler: () => void;
5
-
6
- export { registerHookInterruptionHandler };