ccommit 3.0.5 → 3.0.7
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/index.js +2 -11
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import Oe from
|
|
3
|
-
import M from 'node:process';
|
|
4
|
-
import je from 'enquirer';
|
|
5
|
-
import $ from 'node:fs';
|
|
6
|
-
import { execa } from 'execa';
|
|
7
|
-
import p from 'ansi-colors';
|
|
8
|
-
import { execSync } from 'node:child_process';
|
|
9
|
-
import { join } from 'node:path';
|
|
10
|
-
|
|
11
|
-
var C={COMMIT:"commit",HOOK:"hook",LIST:"list"},d={CONVENTIONAL:"conventional",CONVENTIONAL_NO_EMOJI:"conventional-no-emoji",GITMOJI:"gitmoji"},L={CLIENT:"client",HOOK:"hook"},T={EMOJI:"emoji",TYPE:"type"},n=Object.freeze({BREAKING:"breaking",COMMIT:"commit",DRYRUN:"dryrun",EMOJI:"emoji",HELP:"help",HOOK:"hook",LIST:"list",SKIP:"skip",VERSION:"version"}),G={[d.CONVENTIONAL]:"{type}{scope}{breaking}: {emoji}{title}",[d.CONVENTIONAL_NO_EMOJI]:"{type}{scope}{breaking}: {title}",[d.GITMOJI]:"{emoji}{breaking}{scope}{title}"},s={MESSAGES:{COMMAND_LINE_WITHOUT_REQUIRED:"\u276F Command line option requires both: --title, --type",COMMIT_FAIL:`\u276F
|
|
2
|
+
import Oe from'meow';import M from'node:process';import je from'enquirer';import $ from'node:fs';import {execa}from'execa';import p from'ansi-colors';import {execSync}from'node:child_process';import {join}from'node:path';var C={COMMIT:"commit",HOOK:"hook",LIST:"list"},d={CONVENTIONAL:"conventional",CONVENTIONAL_NO_EMOJI:"conventional-no-emoji",GITMOJI:"gitmoji"},L={CLIENT:"client",HOOK:"hook"},T={EMOJI:"emoji",TYPE:"type"},n=Object.freeze({BREAKING:"breaking",COMMIT:"commit",DRYRUN:"dryrun",EMOJI:"emoji",HELP:"help",HOOK:"hook",LIST:"list",SKIP:"skip",VERSION:"version"}),G={[d.CONVENTIONAL]:"{type}{scope}{breaking}: {emoji}{title}",[d.CONVENTIONAL_NO_EMOJI]:"{type}{scope}{breaking}: {title}",[d.GITMOJI]:"{emoji}{breaking}{scope}{title}"},s={MESSAGES:{COMMAND_LINE_WITHOUT_REQUIRED:"\u276F Command line option requires both: --title, --type",COMMIT_FAIL:`\u276F
|
|
12
3
|
|
|
13
4
|
\u276F Oops! An error occurred. There is likely additional logging output above.
|
|
14
5
|
|
|
@@ -56,4 +47,4 @@ ${e.messageBreaking}`),t?.dryrun?j(i):$.writeFileSync(Le,i);}catch(i){console.er
|
|
|
56
47
|
*/
|
|
57
48
|
/*!
|
|
58
49
|
* For license information please see index.js.LICENSE.txt
|
|
59
|
-
*/
|
|
50
|
+
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccommit",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "😜 ➕ 👔 🟰 ccommit \n Conventional Commit Generator that interprets commit types from gitmoji and conventional",
|
|
6
6
|
"repository": "jeromefitz/packages.git",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"ansi-colors": "4.1.3",
|
|
54
54
|
"enquirer": "2.4.1",
|
|
55
|
-
"execa": "9.
|
|
55
|
+
"execa": "9.5.0",
|
|
56
56
|
"fuse.js": "7.0.0",
|
|
57
57
|
"meow": "13.2.0"
|
|
58
58
|
},
|