ccommit 1.0.0-ccommit.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 (88) hide show
  1. package/LICENSE +21 -0
  2. package/LICENSE-gitmoji-cli +21 -0
  3. package/README.md +142 -0
  4. package/chunk-2DSXPOM7.js +3 -0
  5. package/chunk-2LPBNK4P.js +5 -0
  6. package/chunk-2T4Q2JKX.js +11 -0
  7. package/chunk-4U66XFH5.js +6 -0
  8. package/chunk-5G4NZZCD.js +1 -0
  9. package/chunk-66FW7ROH.js +5 -0
  10. package/chunk-BYWR53VH.js +5 -0
  11. package/chunk-DKTSYYG7.js +5 -0
  12. package/chunk-EZBSOYFU.js +5 -0
  13. package/chunk-HYPQ3SZH.js +12 -0
  14. package/chunk-I37OINLR.js +5 -0
  15. package/chunk-JVMHPT7N.js +10 -0
  16. package/chunk-K2XWQRSU.js +5 -0
  17. package/chunk-LB3CYPQF.js +15 -0
  18. package/chunk-MNNN6TUZ.js +6 -0
  19. package/chunk-P4KUXMAK.js +14 -0
  20. package/chunk-PTTHNJU4.js +5 -0
  21. package/chunk-R7UWR6EN.js +3 -0
  22. package/chunk-S3EB6GIM.js +8 -0
  23. package/chunk-URQ27UIO.js +5 -0
  24. package/chunk-V2UIRJOD.js +5 -0
  25. package/chunk-V5NV6QXN.js +6 -0
  26. package/chunk-WKR7FN4J.js +6 -0
  27. package/chunk-XUBGBYPW.js +5 -0
  28. package/chunk-YQAGIQKO.js +6 -0
  29. package/chunk-Z5NCK6ON.js +6 -0
  30. package/commands/commit/commit.d.ts +12 -0
  31. package/commands/commit/commit.js +22 -0
  32. package/commands/commit/index.d.ts +3 -0
  33. package/commands/commit/index.js +23 -0
  34. package/commands/commit/prompts.d.ts +71 -0
  35. package/commands/commit/prompts.js +19 -0
  36. package/commands/commit/validate.d.ts +7 -0
  37. package/commands/commit/validate.js +18 -0
  38. package/commands/commit/withClient.d.ts +3 -0
  39. package/commands/commit/withClient.js +18 -0
  40. package/commands/commit/withHook.d.ts +3 -0
  41. package/commands/commit/withHook.js +18 -0
  42. package/commands/index.d.ts +3 -0
  43. package/commands/index.js +26 -0
  44. package/commands/list/index.d.ts +2 -0
  45. package/commands/list/index.js +19 -0
  46. package/commands/list/list.d.ts +3 -0
  47. package/commands/list/list.js +18 -0
  48. package/data/types.d.ts +612 -0
  49. package/data/types.js +2 -0
  50. package/index.d.ts +1 -0
  51. package/index.js +54 -0
  52. package/lib/index.d.ts +79 -0
  53. package/lib/index.js +1 -0
  54. package/package.json +66 -0
  55. package/utils/cancelIf.d.ts +6 -0
  56. package/utils/cancelIf.js +1 -0
  57. package/utils/filter.d.ts +3 -0
  58. package/utils/filter.js +1 -0
  59. package/utils/findBy.d.ts +3 -0
  60. package/utils/findBy.js +3 -0
  61. package/utils/findCommand.d.ts +3 -0
  62. package/utils/findCommand.js +17 -0
  63. package/utils/format.d.ts +9 -0
  64. package/utils/format.js +2 -0
  65. package/utils/generateLog.d.ts +4 -0
  66. package/utils/generateLog.js +2 -0
  67. package/utils/getDefaultCommitContent.d.ts +7 -0
  68. package/utils/getDefaultCommitContent.js +17 -0
  69. package/utils/getEmojis.d.ts +8 -0
  70. package/utils/getEmojis.js +1 -0
  71. package/utils/getGitRootDir.d.ts +3 -0
  72. package/utils/getGitRootDir.js +1 -0
  73. package/utils/getIssueTracker.d.ts +3 -0
  74. package/utils/getIssueTracker.js +1 -0
  75. package/utils/getStagedFiles.d.ts +3 -0
  76. package/utils/getStagedFiles.js +1 -0
  77. package/utils/index.d.ts +17 -0
  78. package/utils/index.js +17 -0
  79. package/utils/printDryRun.d.ts +3 -0
  80. package/utils/printDryRun.js +1 -0
  81. package/utils/promptInputLimited.d.ts +14 -0
  82. package/utils/promptInputLimited.js +1 -0
  83. package/utils/promptInputPrepopulate.d.ts +17 -0
  84. package/utils/promptInputPrepopulate.js +1 -0
  85. package/utils/promptInputPrepopulateLimited.d.ts +18 -0
  86. package/utils/promptInputPrepopulateLimited.js +1 -0
  87. package/utils/registerHookInterruptionHandler.d.ts +6 -0
  88. package/utils/registerHookInterruptionHandler.js +1 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Nice Group of People, LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2016-2022 Carlos Cuesta
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,142 @@
1
+ # 😜 ➕ 👔 🟰 `ccommit`
2
+
3
+ `ccommit` is a conventional commit generator that interprets commit types from `gitmoji` through `conventional-commits` to propose a bridged gap through multiple formats.
4
+
5
+ For developers that use `gitmoji` it is not always possible to do so in every project. However, to keep workflows the same it would be ideal to introduce a configuration that would provide standards to applications while having some modicum of “fun.”
6
+
7
+ This can hook into your release system to create release notes.
8
+
9
+ > **📝 Note:** This package is ESM
10
+
11
+ ## Usage
12
+
13
+ ### Local
14
+
15
+ Install as a `devDependencies`:
16
+
17
+ ```bash
18
+ # pnpm
19
+ pnpm add ccommit --save-dev
20
+
21
+ ```
22
+
23
+ <!--
24
+ ```bash
25
+
26
+ # npm
27
+ npm install ccommit --save-dev
28
+
29
+ # yarn
30
+ yarn add ccommit --dev
31
+ ```
32
+ -->
33
+
34
+ > **📝 Note:** This is my preference as I try to limit globals wherever possible.
35
+
36
+ ### Global
37
+
38
+ ```bash
39
+ # pnpm
40
+ pnpm add ccommit --global
41
+ ```
42
+
43
+ <!--
44
+ ```bash
45
+ # npm
46
+ npm install ccommit --g
47
+
48
+ # yarn
49
+ yarn global add ccommit
50
+
51
+ # homebrew
52
+ brew install ccommit
53
+ ```
54
+ -->
55
+
56
+ > **📝 Note:** For non-node projects this _can_ be helpful, but again, try to limit globals.
57
+
58
+ ### Client
59
+
60
+ Call directly after staging files
61
+
62
+ ```bash
63
+ # local
64
+ pnpm ccommit -c
65
+
66
+ # global
67
+ ccommit -c
68
+ ```
69
+
70
+ <!--
71
+ ```bash
72
+ # packages
73
+ # node ./packages/ccommit/dist/index.js -c
74
+ ```
75
+ -->
76
+
77
+ > **📝 Note:** Choose `local` or `global`
78
+
79
+ ### Hook
80
+
81
+ Add this to your `prepare-commit-msg` for `git`:
82
+
83
+ ```bash
84
+ exec < /dev/tty
85
+ # local
86
+ pnpm ccommit --hook || true
87
+
88
+ # global
89
+ ccommit --hook || true
90
+ ```
91
+
92
+ <!--
93
+ ```bash
94
+ # packages
95
+ # node ./packages/ccommit/dist/index.js --hook || true
96
+ ```
97
+ -->
98
+
99
+ > **📝 Note:** Choose `local` or `global`
100
+
101
+ ## Options
102
+
103
+ ```bash
104
+ pnpm ccommit -h
105
+ ```
106
+
107
+ You can pass `option` arguments via the command line directly. If you choose this method, you are opting-out of the command line generator and will need to supply at least `type|title`.
108
+
109
+ ## Formats
110
+
111
+ ### Gitmoji
112
+
113
+ - 😜 [gitmoji](https://gitmoji.dev)
114
+
115
+ ### Conventional
116
+
117
+ - 👔 [conventional](https://www.conventionalcommits.org)
118
+ - a mapping of `gitmoji` to what could be construed as it’s more in-depth `conventional` counterparts
119
+ - can pass `--noemoji|-xe` and turn emojis off within `conventional`
120
+
121
+ <!--
122
+ ### Custom
123
+
124
+ 🍕 Creating a `custom` configuration can be ideal if you want more control, or have more specific business needs for your application. Using `cosmiconfig` you can create:
125
+
126
+ - `.ccommit`
127
+ - `.ccommit.json`
128
+ - `.ccommit.js`
129
+
130
+ By providing configuration options for your project.
131
+ -->
132
+
133
+ ## Roadmap
134
+
135
+ This was meant to sunset `@jeromefitz/git-cz` as a year-end personal hackathon. This will keep up with `gitmoji` and ideally some tenets of ‘best of both worlds’ could make it to `gitmoji-cli` some day. (There are a few closed issues on ‘boring’ versions already.)
136
+
137
+ As a result it is a mash-up of both and I have tried to add references where applicable:
138
+
139
+ - 🔗 [`gitmoji-cli`](https://github.com/carloscuesta/gitmoji-cli)
140
+ - This repo started from scratch, but then reworked to be more close to above for potential future feature addition
141
+ - 📄 Additional MIT LICENSE provided as `LICENSE-gitmoji-cli`
142
+ - 🔗 [`@jeromefitz/git-cz`](https://github.com/jeromefitz/packages)
@@ -0,0 +1,3 @@
1
+ var n=r=>{console.dir(" [dryrun] "),console.dir(r);};
2
+
3
+ export { n as a };
@@ -0,0 +1,5 @@
1
+ import { a } from './chunk-P4KUXMAK.js';
2
+
3
+ var t=a;
4
+
5
+ export { t as a };
@@ -0,0 +1,11 @@
1
+ var t={COMMIT:"commit",HOOK:"hook",LIST:"list"},o={CONVENTIONAL:"conventional",CONVENTIONAL_NO_EMOJI:"conventional-no-emoji",GITMOJI:"gitmoji"},e={CLIENT:"client",HOOK:"hook"},i={EMOJI:"emoji",TYPE:"type"},E=Object.freeze({BREAKING:"breaking",COMMIT:"commit",DRYRUN:"dryrun",EMOJI:"emoji",HELP:"help",HOOK:"hook",LIST:"list",SKIP:"skip",VERSION:"version"}),c={[o.CONVENTIONAL]:"{type}{scope}: {emoji}{title}",[o.CONVENTIONAL_NO_EMOJI]:"{type}{scope}: {title}",[o.GITMOJI]:"{emoji}{scope}{title}"},O={TYPES:{ERROR:"error",INFO:"info",SUCCESS:"success",WARNING:"warning"},MESSAGES:{COMMAND_LINE_WITHOUT_REQUIRED:">> [ccommit] Command line option requires both: --title, --type",COMMIT_FAIL:`
2
+
3
+ Oops! An error occurred. There is likely additional logging output above.
4
+
5
+ You can run the same commit with this command:
6
+
7
+
8
+ {REPLACE}
9
+ `,GENERATOR_TAKING_OVER:">> [ccommit] Generator will take it from here (CTRL+C to quit)",LENGTH_MAX:"[ccommit] Cannot exceed {REPLACE} characters",LENGTH_MIN:"[ccommit] Must have at least {REPLACE} characters",MODE_CONFLICT:">> [ccommit] Please choose one or the other: --commit, -c | --hook, -u",REPLACE:"{REPLACE}",STAGED_FILES:">> [commit] There are no staged files for git. Did you mean to do a dry-run (-n)?",TYPE_INCORRECT:">> [ccommit] There is no gitmoji/type associated with: {REPLACE}"}},n=Object.freeze({FORMAT:"format",MESSAGE:"message",SCOPE:"scope",TITLE:"title",TYPE:"type"}),I={MIN:3,MAX:12},s={MAJOR:"major",MINOR:"minor",PATCH:"patch",NULL:"null"},T={MIN:3,MIN_SWAG:15,MAX:48,MAX_SWAG:40},m={MAX:15};
10
+
11
+ export { t as a, o as b, e as c, i as d, E as e, c as f, O as g, n as h, I as i, s as j, T as k, m as l };
@@ -0,0 +1,6 @@
1
+ import t from 'fs';
2
+ import { execa } from 'execa';
3
+
4
+ var i=()=>execa("git",["rev-parse","--absolute-git-dir"]).then(({stdout:e})=>{(t.existsSync(e+"/rebase-merge")||t.existsSync(e+"/rebase-apply"))&&process.exit(0);}),r=4,c=()=>new Promise(e=>{let s=process.argv[r];s&&(s.startsWith("commit")||s.startsWith("merge"))&&process.exit(0),e();}),a=()=>c().then(i);
5
+
6
+ export { i as a, r as b, c, a as d };
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,5 @@
1
+ import { execSync } from 'child_process';
2
+
3
+ var s=()=>!!execSync("git diff --name-only --staged").toString().trim();
4
+
5
+ export { s as a };
@@ -0,0 +1,5 @@
1
+ import t from 'inquirer/lib/prompts/input.js';
2
+
3
+ var s=class extends t{onKeypress(){this.rl.line.length>this.opt.inputMax&&(this.rl.line=this.rl.line.slice(0,this.opt.inputMax),this.rl.cursor--),this.render();}},l=s;
4
+
5
+ export { l as a };
@@ -0,0 +1,5 @@
1
+ import { execSync } from 'child_process';
2
+
3
+ var b=()=>{let i="",t=execSync("git rev-parse --abbrev-ref HEAD").toString().trim().split("/"),n=t[0],e=(t[1]?t[1]:n).split("-"),c=e[0],r=e[1]?e[1]:c,s=`${c}-${r}`;return !isNaN(parseFloat(r))&&isFinite(parseFloat(r))&&(i=s),i};
4
+
5
+ export { b as a };
@@ -0,0 +1,5 @@
1
+ import i from 'inquirer/lib/prompts/input.js';
2
+
3
+ var t=class extends i{onKeypress(){(this.rl.line===" "||this.rl.line===" ")&&this.opt.default&&(this.rl.line=`${this.opt.default} `,this.rl.cursor=this.rl.line.length),this.opt.default&&(this.opt.default=void 0),this.render();}},l=t;
4
+
5
+ export { l as a };
@@ -0,0 +1,12 @@
1
+ import { a as a$1 } from './chunk-2DSXPOM7.js';
2
+ import { a } from './chunk-PTTHNJU4.js';
3
+ import c from 'fs';
4
+ import { join } from 'path';
5
+
6
+ var f=join(a(),".git","COMMIT_EDITMSG"),l=(i,m)=>{try{let t=i==null?void 0:i.subject;i!=null&&i.message&&(t+=`
7
+
8
+ ${i.message}`),i!=null&&i.messageBreaking&&(t+=`
9
+
10
+ ${i.messageBreaking}`),m!=null&&m.dryrun?a$1(t):c.writeFileSync(f,t);}catch(t){console.error(t),process.exit(1);}finally{process.exit(0);}},u=l;
11
+
12
+ export { u as a };
@@ -0,0 +1,5 @@
1
+ import o from 'fuse.js';
2
+
3
+ var r={threshold:.4,keys:[{name:"type",weight:.44},{name:"description",weight:.56}]},m=(e,t)=>{let s=new o(t,r);return e?s.search(e).map(n=>n.item):t};
4
+
5
+ export { m as a };
@@ -0,0 +1,10 @@
1
+ import { a as a$2 } from './chunk-MNNN6TUZ.js';
2
+ import { a } from './chunk-DKTSYYG7.js';
3
+ import { a as a$1 } from './chunk-66FW7ROH.js';
4
+ import { c as c$1, e, g, h, b } from './chunk-2T4Q2JKX.js';
5
+ import T from 'fs';
6
+
7
+ var l=3,M=0,c=2,C=n=>{let t=process.argv[l];if(n.mode===c$1.CLIENT||!T.existsSync(t))return {message:n.message||null,scope:n.scope||null,title:n.title||a()||null};let e=T.readFileSync(t).toString().split(`
8
+ `);return {message:e.length>c?e[c]:null,scope:n.scope,title:e[M]}};var u=(n,t)=>[e.COMMIT,e.HOOK].includes(n)?{dryrun:t[e.DRYRUN],emoji:t[e.EMOJI],mode:n===e.HOOK?c$1.HOOK:c$1.CLIENT,format:t[h.FORMAT]===b.CONVENTIONAL?t[e.EMOJI]?b.CONVENTIONAL:b.CONVENTIONAL_NO_EMOJI:b.GITMOJI,message:t[h.MESSAGE],scope:t[h.SCOPE],skip:t[e.SKIP],title:t[h.TITLE],type:t[h.TYPE]}:null,d=(n,t)=>{let e$1=n.flags,I=Object.keys(e$1).map(p=>e$1[p]&&p).find(p=>t[p]),S=a$1();!e$1[e.DRYRUN]&&!S&&(console.log(a$2(g.TYPES.WARNING,g.MESSAGES.STAGED_FILES)),process.exit(2)),e$1[e.COMMIT]&&e$1[e.HOOK]&&(console.log(a$2(g.TYPES.ERROR,g.MESSAGES.MODE_CONFLICT)),process.exit(2)),(e$1[h.MESSAGE]||e$1[h.SCOPE]||e$1[h.TITLE]||e$1[h.TYPE])&&(e$1[e.SKIP]=!0),e$1[e.SKIP]&&(e$1[h.TITLE]&&e$1[h.TYPE]?e$1[e.SKIP]=!0:(e$1[e.SKIP]=!1,console.log(a$2(g.TYPES.WARNING,g.MESSAGES.COMMAND_LINE_WITHOUT_REQUIRED)),e$1[h.TITLE]=void 0,e$1[h.TYPE]=void 0));let a=u(I,e$1);return t[I]?t[I](a):n.showHelp()};
9
+
10
+ export { d as a, C as b };
@@ -0,0 +1,5 @@
1
+ import m from 'lodash/map.js';
2
+
3
+ var s=t=>m(t,e=>{let{description:o,emoji:n,emojiLength:r,type:i}=e;return {emoji:n,emojiLength:r,description:o,type:i}});
4
+
5
+ export { s as a };
@@ -0,0 +1,15 @@
1
+ import { a as a$4 } from './chunk-Z5NCK6ON.js';
2
+ import { b } from './chunk-JVMHPT7N.js';
3
+ import { a as a$2 } from './chunk-BYWR53VH.js';
4
+ import { a as a$3 } from './chunk-XUBGBYPW.js';
5
+ import { a as a$6, b as b$1 } from './chunk-V5NV6QXN.js';
6
+ import { a } from './chunk-K2XWQRSU.js';
7
+ import { a as a$5 } from './chunk-I37OINLR.js';
8
+ import { a as a$1 } from './chunk-URQ27UIO.js';
9
+ import { i, k as k$1 } from './chunk-2T4Q2JKX.js';
10
+ import n from 'inquirer';
11
+ import P from 'inquirer-autocomplete-prompt';
12
+
13
+ var j=a(a$1);n.registerPrompt("autocomplete",P);n.registerPrompt("inputLimited",a$2);n.registerPrompt("inputPrepopulateLimited",a$3);var L=(s,i)=>a$5(i,j).map(t=>({name:` ${a$6({emoji:t.emoji,emojiLength:t.emojiLength})} ${b$1(t.type)} ${t.description}`,value:t.emoji})),M=s=>{let{title:i$1,message:t,scope:a}=b(s);return [{name:"breaking",type:"confirm",message:"Is there a breaking change?:",default:!1},{name:"messageBreaking",type:"input",message:"Please share breaking change information:",filter:e=>`BREAKING CHANGE: ${e.trim()}`,when:e=>e.breaking},{name:"gitmoji",message:"Choose a commit type:",type:"autocomplete",source:L,filter:e=>e.trim()},{name:"scope",type:"inputLimited",inputMin:i.MIN,inputMax:i.MAX,message:"Enter the scope (if any)",validate:a$4.scope,filter:e=>e.trim(),transformer:e=>`(${e.length}/${i.MAX}): ${e}`,...a?{default:a}:{}},{type:"inputPrepopulateLimited",name:"title",inputMax:k$1.MAX,inputMin:k$1.MIN,message:"Enter the commit title",validate:a$4.title,filter:e=>e.trim(),transformer:e=>`(${a$4.getCharsLeftText(e)}/${k$1.MAX}): ${e}`,...i$1?{default:i$1}:{}},{name:"message",message:"Enter the commit message:",...t?{default:t}:{}}]},k=M;
14
+
15
+ export { k as a };
@@ -0,0 +1,6 @@
1
+ import { g } from './chunk-2T4Q2JKX.js';
2
+ import g$1 from 'picocolors';
3
+
4
+ var {green:i,yellow:s,red:E}=g$1,m=(t,n,o)=>{let r=o?n.replace(/\{REPLACE\}/g,o):n;return t===g.TYPES.ERROR?E(r):t===g.TYPES.INFO?r:t===g.TYPES.WARNING?s(r):i(r)};
5
+
6
+ export { m as a };
@@ -0,0 +1,14 @@
1
+ import { a as a$5 } from './chunk-S3EB6GIM.js';
2
+ import { a as a$4 } from './chunk-HYPQ3SZH.js';
3
+ import { a as a$3 } from './chunk-LB3CYPQF.js';
4
+ import { a } from './chunk-R7UWR6EN.js';
5
+ import { d as d$2 } from './chunk-V5NV6QXN.js';
6
+ import { a as a$2 } from './chunk-MNNN6TUZ.js';
7
+ import { d } from './chunk-4U66XFH5.js';
8
+ import { a as a$1 } from './chunk-YQAGIQKO.js';
9
+ import { c, d as d$1, g } from './chunk-2T4Q2JKX.js';
10
+ import S from 'inquirer';
11
+
12
+ var C=async t=>{let e;if(t.skip)e=t,e.gitmoji=a$1(e.type,d$1.TYPE,d$1.EMOJI),e.gitmoji||(console.log(a$2(g.TYPES.ERROR,g.MESSAGES.TYPE_INCORRECT,e.type)),process.exit(2));else {let M=a$3(t);await S.prompt(M).then(o=>{o.type=a$1(o.gitmoji,d$1.EMOJI,d$1.TYPE),o.gitmoji||(console.log(a$2(g.TYPES.ERROR,g.MESSAGES.TYPE_INCORRECT,o.gitmoji)),process.exit(2)),e=o;});}let l=d$2(t,e);return e.subject=l,t.mode===c.HOOK?a$4(e,t):a$5(e,t)},T=t=>t.mode===c.HOOK?(a(),d().then(()=>C(t))):C(t),j=T;
13
+
14
+ export { j as a };
@@ -0,0 +1,5 @@
1
+ import { execSync } from 'child_process';
2
+
3
+ var i=()=>{let t=process.platform==="win32"?" nul":"/dev/null";return execSync("git rev-parse --show-toplevel 2>"+t).toString().trim()};
4
+
5
+ export { i as a };
@@ -0,0 +1,3 @@
1
+ var e=()=>{process.on("SIGINT",()=>{console.warn(">> [ccommit] was interrupted"),process.exit(0);});};
2
+
3
+ export { e as a };
@@ -0,0 +1,8 @@
1
+ import { a } from './chunk-2DSXPOM7.js';
2
+ import { a as a$1 } from './chunk-MNNN6TUZ.js';
3
+ import { g } from './chunk-2T4Q2JKX.js';
4
+ import { execa } from 'execa';
5
+
6
+ var l=async(t,e)=>{try{let i=t==null?void 0:t.subject,o=t==null?void 0:t.message,r=t==null?void 0:t.messageBreaking,m=["commit","-m",i];o&&m.push("-m",o),r&&m.push("-m",r),e!=null&&e.dryrun?a(["git",...m]):await execa("git",m,{buffer:!1,stdio:"inherit"});}catch(i){console.error(a$1(g.TYPES.ERROR,g.MESSAGES.COMMIT_FAIL,i.escapedCommand)),process.exit(1);}},p=l;
7
+
8
+ export { p as a };
@@ -0,0 +1,5 @@
1
+ import { j } from './chunk-2T4Q2JKX.js';
2
+
3
+ var o={access:{code:":wheelchair:",description:"Improve Accessibility",emoji:"\u267F\uFE0F",emojiLength:1,semver:j.PATCH,type:"access"},analytics:{code:":chart_with_upwards_trend:",description:"Add or Update Analytics or Track Code",emoji:"\u{1F4C8}",emojiLength:1,semver:j.PATCH,type:"analytics"},animation:{code:":dizzy:",description:"Add or Update Animations and Transitions",emoji:"\u{1F4AB}",emojiLength:1,semver:j.PATCH,type:"animation"},arch:{code:":building_construction:",description:"Make Architectural Changes",emoji:"\u{1F3D7}\uFE0F",emojiLength:0,semver:j.NULL,type:"arch"},assets:{code:":bento:",description:"Add or Update Assets",emoji:"\u{1F371}",emojiLength:1,semver:j.PATCH,type:"assets"},beer:{code:":beers:",description:"Write Code Drunkenly",emoji:"\u{1F37B}",emojiLength:1,semver:j.NULL,type:"beer"},breaking:{code:":boom:",description:"Introduce Breaking Changes",emoji:"\u{1F4A5}",emojiLength:1,semver:j.MAJOR,type:"breaking"},build:{code:":hammer:",description:"Add or Update Development Scripts",emoji:"\u{1F528}",emojiLength:1,semver:j.NULL,type:"build"},catch:{code:":goal_net:",description:"Catch Errors",emoji:"\u{1F945}",emojiLength:1,semver:j.PATCH,type:"catch"},chore:{code:":computer_disk:",description:"Changes That Don\u2019t Modify Src or Test Files",emoji:"\u{1F4BD}\uFE0F",emojiLength:1,semver:j.NULL,type:"chore"},ci:{code:":construction_worker:",description:"Add or Update CI Build System",emoji:"\u{1F477}",emojiLength:1,semver:j.NULL,type:"ci"},clean:{code:":wastebasket:",description:"Deprecate Code That Needs to Be Cleaned Up",emoji:"\u{1F5D1}\uFE0F",emojiLength:0,semver:j.PATCH,type:"clean"},compat:{code:":alien:",description:"Update Code Due to External API Changes",emoji:"\u{1F47D}\uFE0F",emojiLength:1,semver:j.PATCH,type:"compat"},concurrency:{code:":thread:",description:"Add or Update Code Related to Multithreading or Concurrency",emoji:"\u{1F9F5}",emojiLength:1,semver:j.NULL,type:"concurrency"},config:{code:":wrench:",description:"Add or Update Configuration Files",emoji:"\u{1F527}",emojiLength:1,semver:j.PATCH,type:"config"},"contrib-add":{code:":busts_in_silhouette:",description:"Add or Update Contributor(s)",emoji:"\u{1F465}",emojiLength:1,semver:j.NULL,type:"contrib-add"},data:{code:":monocle_face:",description:"Data Exploration/inspection",emoji:"\u{1F9D0}",emojiLength:1,semver:j.NULL,type:"data"},db:{code:":card_file_box:",description:"Perform Database Related Changes",emoji:"\u{1F5C3}\uFE0F",emojiLength:0,semver:j.PATCH,type:"db"},"dep-add":{code:":heavy_plus_sign:",description:"Add a Dependency",emoji:"\u2795",emojiLength:1,semver:j.PATCH,type:"dep-add"},"dep-rm":{code:":heavy_minus_sign:",description:"Remove a Dependency",emoji:"\u2796",emojiLength:1,semver:j.PATCH,type:"dep-rm"},"dep-up":{code:":package:",description:"Add or Update Compiled Files or Packages",emoji:"\u{1F4E6}\uFE0F",emojiLength:1,semver:j.PATCH,type:"dep-up"},deploy:{code:":rocket:",description:"Deploy Stuff",emoji:"\u{1F680}",emojiLength:1,semver:j.NULL,type:"deploy"},"docs-code":{code:":bulb:",description:"Add or Update Comments in Source Code",emoji:"\u{1F4A1}",emojiLength:1,semver:j.NULL,type:"docs-code"},docs:{code:":memo:",description:"Add or Update Documentation",emoji:"\u{1F4DD}",emojiLength:1,semver:j.NULL,type:"docs"},downgrade:{code:":arrow_down:",description:"Downgrade Dependencies",emoji:"\u2B07\uFE0F",emojiLength:0,semver:j.PATCH,type:"downgrade"},dx:{code:":technologist:",description:"Improve Developer Experience",emoji:"\u{1F4BB}",emojiLength:1,semver:j.NULL,type:"dx"},egg:{code:":egg:",description:"Add or Update an Easter Egg",emoji:"\u{1F95A}",emojiLength:1,semver:j.PATCH,type:"egg"},experiment:{code:":alembic:",description:"Perform Experiments",emoji:"\u2697\uFE0F",emojiLength:0,semver:j.PATCH,type:"experiment"},feat:{code:":sparkles:",description:"Introduce New Features",emoji:"\u2728",emojiLength:1,semver:j.MINOR,type:"feat"},fix:{code:":bug:",description:"Fix a Bug",emoji:"\u{1F41B}",emojiLength:1,semver:j.PATCH,type:"fix"},"fix-ci":{code:":green_heart:",description:"Fix CI Build",emoji:"\u{1F49A}",emojiLength:1,semver:j.NULL,type:"fix-ci"},flags:{code:":triangular_flag_on_post:",description:"Add Update or Remove Feature Flags",emoji:"\u{1F6A9}",emojiLength:1,semver:j.PATCH,type:"flags"},healthcheck:{code:":stethoscope:",description:"Add or Update Healthcheck",emoji:"\u{1FA7A}",emojiLength:1,semver:j.NULL,type:"healthcheck"},hotfix:{code:":ambulance:",description:"Critical Hotfix",emoji:"\u{1F691}\uFE0F",emojiLength:1,semver:j.PATCH,type:"hotfix"},i18n:{code:":globe_with_meridians:",description:"Internationalization and Localization",emoji:"\u{1F310}",emojiLength:1,semver:j.PATCH,type:"i18n"},ignore:{code:":see_no_evil:",description:"Add or Update a Gitignore File.",emoji:"\u{1F648}",emojiLength:1,semver:j.NULL,type:"ignore"},inf:{code:":bricks:",description:"Infrastructure Related Changes",emoji:"\u{1F9F1}",emojiLength:1,semver:j.NULL,type:"inf"},init:{code:":tada:",description:"Begin a Project",emoji:"\u{1F389}",emojiLength:1,semver:j.PATCH,type:"init"},iphone:{code:":iphone:",description:"Work on Responsive Design",emoji:"\u{1F4F1}",emojiLength:1,semver:j.PATCH,type:"iphone"},license:{code:":page_facing_up:",description:"Add or Update License",emoji:"\u{1F4C4}",emojiLength:1,semver:j.NULL,type:"license"},lint:{code:":rotating_light:",description:"Fix Compiler / Linter Warnings",emoji:"\u{1F6A8}",emojiLength:1,semver:j.NULL,type:"lint"},"log-add":{code:":loud_sound:",description:"Add or Update Logs",emoji:"\u{1F50A}",emojiLength:1,semver:j.NULL,type:"log-add"},"log-rm":{code:":mute:",description:"Remove Logs",emoji:"\u{1F507}",emojiLength:1,semver:j.NULL,type:"log-rm"},logic:{code:":necktie:",description:"Add or Update Business Logic",emoji:"\u{1F454}",emojiLength:1,semver:j.PATCH,type:"logic"},merge:{code:":twisted_rightwards_arrows:",description:"Merge Branches",emoji:"\u{1F500}",emojiLength:1,semver:j.NULL,type:"merge"},mock:{code:":clown_face:",description:"Mock Things",emoji:"\u{1F921}",emojiLength:1,semver:j.NULL,type:"mock"},mv:{code:":truck:",description:"Move or Rename Resources (Eg.: Files Paths Routes).",emoji:"\u{1F69A}",emojiLength:1,semver:j.NULL,type:"mv"},patch:{code:":adhesive_bandage:",description:"Simple Fix for a Non-Critical Issue",emoji:"\u{1FA79}",emojiLength:1,semver:j.PATCH,type:"patch"},perf:{code:":zap:",description:"Improve Performance",emoji:"\u26A1\uFE0F",emojiLength:1,semver:j.PATCH,type:"perf"},poo:{code:":poop:",description:"Write Bad Code That Needs to Be Improved",emoji:"\u{1F4A9}",emojiLength:1,semver:j.NULL,type:"poo"},prune:{code:":fire:",description:"Remove Code or Files",emoji:"\u{1F525}",emojiLength:1,semver:j.NULL,type:"prune"},pushpin:{code:":pushpin:",description:"Pin Dependencies to Specific Versions",emoji:"\u{1F4CC}",emojiLength:1,semver:j.PATCH,type:"pushpin"},refactor:{code:":recycle:",description:"Refactor Code",emoji:"\u267B\uFE0F",emojiLength:0,semver:j.NULL,type:"refactor"},release:{code:":bookmark:",description:"Release / Version Tags",emoji:"\u{1F516}",emojiLength:1,semver:j.NULL,type:"release"},revert:{code:":rewind:",description:"Revert Changes",emoji:"\u23EA\uFE0F",emojiLength:1,semver:j.PATCH,type:"revert"},rip:{code:":coffin:",description:"Remove Dead Code",emoji:"\u26B0\uFE0F",emojiLength:0,semver:j.NULL,type:"rip"},roles:{code:":passport_control:",description:"Work on Code Related to Authorization Roles and Permissions",emoji:"\u{1F6C2}",emojiLength:1,semver:j.PATCH,type:"roles"},rollforward:{code:":fast_forward:",description:"Create Rollforward Version",emoji:"\u23E9\uFE0F",emojiLength:1,semver:j.NULL,type:"rollforward"},"run-build":{code:":rocket:",description:"Custom Type for CI/CD to Hook into Run Build Override",emoji:"\u{1F680}\uFE0F",emojiLength:1,semver:j.PATCH,type:"run-build"},secrets:{code:":closed_lock_with_key:",description:"Add or Update Secrets",emoji:"\u{1F510}",emojiLength:1,semver:j.NULL,type:"secrets"},security:{code:":lock:",description:"Fix Security Issues",emoji:"\u{1F512}\uFE0F",emojiLength:1,semver:j.PATCH,type:"security"},seed:{code:":seedling:",description:"Add or Update Seed Files",emoji:"\u{1F331}",emojiLength:1,semver:j.NULL,type:"seed"},seo:{code:":mag:",description:"Improve Seo",emoji:"\u{1F50D}\uFE0F",emojiLength:1,semver:j.PATCH,type:"seo"},snapshot:{code:":camera_flash:",description:"Add or Update Snapshots",emoji:"\u{1F4F8}",emojiLength:1,semver:j.NULL,type:"snapshot"},sponsor:{code:":money_with_wings:",description:"Add Sponsorships or Money Related Infrastructure",emoji:"\u{1F4B8}",emojiLength:1,semver:j.NULL,type:"sponsor"},style:{code:":art:",description:"Improve Structure / Format of the Code",emoji:"\u{1F3A8}",emojiLength:1,semver:j.NULL,type:"style"},"test-fail":{code:":test_tube:",description:"Add a Failing Test",emoji:"\u{1F9EA}",emojiLength:1,semver:j.NULL,type:"test-fail"},test:{code:":white_check_mark:",description:"Add Update or Pass Tests",emoji:"\u2705",emojiLength:1,semver:j.NULL,type:"test"},texts:{code:":speech_balloon:",description:"Add or Update Text and Literals",emoji:"\u{1F4AC}",emojiLength:1,semver:j.PATCH,type:"texts"},types:{code:":label:",description:"Add or Update Types",emoji:"\u{1F3F7}\uFE0F",emojiLength:0,semver:j.PATCH,type:"types"},typo:{code:":pencil2:",description:"Fix Typos",emoji:"\u270F\uFE0F",emojiLength:0,semver:j.PATCH,type:"typo"},ui:{code:":lipstick:",description:"Add or Update the UI and Style Files",emoji:"\u{1F484}",emojiLength:1,semver:j.PATCH,type:"ui"},upgrade:{code:":arrow_up:",description:"Upgrade Dependencies",emoji:"\u2B06\uFE0F",emojiLength:0,semver:j.PATCH,type:"upgrade"},ux:{code:":children_crossing:",description:"Improve User Experience / Usability",emoji:"\u{1F6B8}",emojiLength:1,semver:j.PATCH,type:"ux"},validation:{code:":safety_vest:",description:"Add or update code related to validation",emoji:"\u{1F9BA}",emojiLength:1,semver:j.PATCH,type:"validation"},wip:{code:":construction:",description:"Work in Progress",emoji:"\u{1F6A7}",emojiLength:1,semver:j.NULL,type:"wip"}},t=o;
4
+
5
+ export { t as a };
@@ -0,0 +1,5 @@
1
+ import { a } from './chunk-WKR7FN4J.js';
2
+
3
+ var r=a;
4
+
5
+ export { r as a };
@@ -0,0 +1,6 @@
1
+ import { l, f, b } from './chunk-2T4Q2JKX.js';
2
+ import $ from 'lodash/map.js';
3
+
4
+ var j=({emoji:m,emojiLength:t})=>t===0?`${m} `:`${m} `,T=m=>m==null?void 0:m.padEnd(l.MAX),O=m=>$(m,t=>{let{description:o,emoji:l,emojiLength:c,type:p}=t;console.log(`${j({emoji:l,emojiLength:c})} ${T(p)} ${o}`);}),d=(m,t)=>{let o=f[m==null?void 0:m.format],l=t!=null&&t.gitmoji?`${t==null?void 0:t.gitmoji} `:"",c=t!=null&&t.scope?`(${t==null?void 0:t.scope.replace(/ {2}/g,"--").replace(/ /g,"-").toLowerCase().trim()})`:"";return c=c&&(m==null?void 0:m.format)===b.GITMOJI?`${c} `:c,o.replace(/\{emoji\}/g,l).replace(/\{scope\}/g,c).replace(/\{title\}/g,t==null?void 0:t.title).replace(/\{type\}/g,t==null?void 0:t.type)};
5
+
6
+ export { j as a, T as b, O as c, d };
@@ -0,0 +1,6 @@
1
+ import { c } from './chunk-V5NV6QXN.js';
2
+ import { a } from './chunk-URQ27UIO.js';
3
+
4
+ var m=()=>c(a),p=m;
5
+
6
+ export { p as a };
@@ -0,0 +1,5 @@
1
+ import i from 'inquirer/lib/prompts/input.js';
2
+
3
+ var t=class extends i{onKeypress(){(this.rl.line===" "||this.rl.line===" ")&&this.opt.default&&(this.rl.line=`${this.opt.default} `,this.rl.cursor=this.rl.line.length),this.opt.default&&(this.opt.default=void 0),this.rl.line.length>this.opt.inputMax&&(this.rl.line=this.rl.line.slice(0,this.opt.inputMax),this.rl.cursor--),this.render();}},e=t;
4
+
5
+ export { e as a };
@@ -0,0 +1,6 @@
1
+ import { a } from './chunk-URQ27UIO.js';
2
+ import e from 'lodash/find.js';
3
+
4
+ var s=(i,n,o)=>{let r=e(a,m=>m[n]===i);return r==null?void 0:r[o]};
5
+
6
+ export { s as a };
@@ -0,0 +1,6 @@
1
+ import { a } from './chunk-MNNN6TUZ.js';
2
+ import { g, k, i as i$1 } from './chunk-2T4Q2JKX.js';
3
+
4
+ var M=E=>{let e=E.length,o=e.toString(),s=g.TYPES.SUCCESS;return e<k.MIN||e>k.MAX?s=g.TYPES.ERROR:(e<k.MIN_SWAG||e>k.MAX_SWAG)&&(s=g.TYPES.WARNING),a(s,g.MESSAGES.REPLACE,o)},i=E=>{let e=E.length;return e===0?!0:e<i$1.MIN?a(g.TYPES.ERROR,g.MESSAGES.LENGTH_MIN,i$1.MIN.toString()):e>i$1.MAX?a(g.TYPES.ERROR,g.MESSAGES.LENGTH_MAX,i$1.MAX.toString()):!0},A=E=>{let e=E.length;return e<k.MIN?a(g.TYPES.ERROR,g.MESSAGES.LENGTH_MIN,k.MIN.toString()):e>k.MAX?a(g.TYPES.ERROR,g.MESSAGES.LENGTH_MAX,k.MAX.toString()):!0},R={getCharsLeftText:M,scope:i,title:A},l=R;
5
+
6
+ export { l as a };
@@ -0,0 +1,12 @@
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 };
@@ -0,0 +1,22 @@
1
+ export { a as default } from '../../chunk-P4KUXMAK.js';
2
+ import '../../chunk-S3EB6GIM.js';
3
+ import '../../chunk-HYPQ3SZH.js';
4
+ import '../../chunk-LB3CYPQF.js';
5
+ import '../../chunk-Z5NCK6ON.js';
6
+ import '../../chunk-JVMHPT7N.js';
7
+ import '../../chunk-2DSXPOM7.js';
8
+ import '../../chunk-BYWR53VH.js';
9
+ import '../../chunk-EZBSOYFU.js';
10
+ import '../../chunk-XUBGBYPW.js';
11
+ import '../../chunk-R7UWR6EN.js';
12
+ import '../../chunk-V5NV6QXN.js';
13
+ import '../../chunk-MNNN6TUZ.js';
14
+ import '../../chunk-K2XWQRSU.js';
15
+ import '../../chunk-PTTHNJU4.js';
16
+ import '../../chunk-DKTSYYG7.js';
17
+ import '../../chunk-66FW7ROH.js';
18
+ import '../../chunk-4U66XFH5.js';
19
+ import '../../chunk-I37OINLR.js';
20
+ import '../../chunk-YQAGIQKO.js';
21
+ import '../../chunk-URQ27UIO.js';
22
+ import '../../chunk-2T4Q2JKX.js';
@@ -0,0 +1,3 @@
1
+ import commit from './commit.js';
2
+ export { default } from './commit.js';
3
+ import '../../lib/index.js';
@@ -0,0 +1,23 @@
1
+ export { a as default } from '../../chunk-2LPBNK4P.js';
2
+ import '../../chunk-P4KUXMAK.js';
3
+ import '../../chunk-S3EB6GIM.js';
4
+ import '../../chunk-HYPQ3SZH.js';
5
+ import '../../chunk-LB3CYPQF.js';
6
+ import '../../chunk-Z5NCK6ON.js';
7
+ import '../../chunk-JVMHPT7N.js';
8
+ import '../../chunk-2DSXPOM7.js';
9
+ import '../../chunk-BYWR53VH.js';
10
+ import '../../chunk-EZBSOYFU.js';
11
+ import '../../chunk-XUBGBYPW.js';
12
+ import '../../chunk-R7UWR6EN.js';
13
+ import '../../chunk-V5NV6QXN.js';
14
+ import '../../chunk-MNNN6TUZ.js';
15
+ import '../../chunk-K2XWQRSU.js';
16
+ import '../../chunk-PTTHNJU4.js';
17
+ import '../../chunk-DKTSYYG7.js';
18
+ import '../../chunk-66FW7ROH.js';
19
+ import '../../chunk-4U66XFH5.js';
20
+ import '../../chunk-I37OINLR.js';
21
+ import '../../chunk-YQAGIQKO.js';
22
+ import '../../chunk-URQ27UIO.js';
23
+ import '../../chunk-2T4Q2JKX.js';
@@ -0,0 +1,71 @@
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 };
@@ -0,0 +1,19 @@
1
+ export { a as default } from '../../chunk-LB3CYPQF.js';
2
+ import '../../chunk-Z5NCK6ON.js';
3
+ import '../../chunk-JVMHPT7N.js';
4
+ import '../../chunk-2DSXPOM7.js';
5
+ import '../../chunk-BYWR53VH.js';
6
+ import '../../chunk-EZBSOYFU.js';
7
+ import '../../chunk-XUBGBYPW.js';
8
+ import '../../chunk-R7UWR6EN.js';
9
+ import '../../chunk-V5NV6QXN.js';
10
+ import '../../chunk-MNNN6TUZ.js';
11
+ import '../../chunk-K2XWQRSU.js';
12
+ import '../../chunk-PTTHNJU4.js';
13
+ import '../../chunk-DKTSYYG7.js';
14
+ import '../../chunk-66FW7ROH.js';
15
+ import '../../chunk-4U66XFH5.js';
16
+ import '../../chunk-I37OINLR.js';
17
+ import '../../chunk-YQAGIQKO.js';
18
+ import '../../chunk-URQ27UIO.js';
19
+ import '../../chunk-2T4Q2JKX.js';
@@ -0,0 +1,7 @@
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 };
@@ -0,0 +1,18 @@
1
+ export { a as default } from '../../chunk-Z5NCK6ON.js';
2
+ import '../../chunk-JVMHPT7N.js';
3
+ import '../../chunk-2DSXPOM7.js';
4
+ import '../../chunk-BYWR53VH.js';
5
+ import '../../chunk-EZBSOYFU.js';
6
+ import '../../chunk-XUBGBYPW.js';
7
+ import '../../chunk-R7UWR6EN.js';
8
+ import '../../chunk-V5NV6QXN.js';
9
+ import '../../chunk-MNNN6TUZ.js';
10
+ import '../../chunk-K2XWQRSU.js';
11
+ import '../../chunk-PTTHNJU4.js';
12
+ import '../../chunk-DKTSYYG7.js';
13
+ import '../../chunk-66FW7ROH.js';
14
+ import '../../chunk-4U66XFH5.js';
15
+ import '../../chunk-I37OINLR.js';
16
+ import '../../chunk-YQAGIQKO.js';
17
+ import '../../chunk-URQ27UIO.js';
18
+ import '../../chunk-2T4Q2JKX.js';
@@ -0,0 +1,3 @@
1
+ declare const withClient: (answers: any, options: any) => Promise<void>;
2
+
3
+ export { withClient as default };