ccommit 1.1.0-enquirer.3 → 1.1.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 (3) hide show
  1. package/README.md +1 -3
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -164,11 +164,9 @@ By providing configuration options for your project.
164
164
 
165
165
  ## Roadmap
166
166
 
167
- 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.)
167
+ 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, and with this using `enquirer` probably less and less of a chance.)
168
168
 
169
169
  As a result it is a mash-up of both and I have tried to add references where applicable:
170
170
 
171
171
  - 🔗 [`gitmoji-cli`](https://github.com/carloscuesta/gitmoji-cli)
172
- - This repo started from scratch, but then reworked to be more close to above for potential future feature addition
173
- - 📄 Additional MIT LICENSE provided as `LICENSE-gitmoji-cli`
174
172
  - 🔗 [`@jeromefitz/git-cz`](https://github.com/jeromefitz/packages)
package/index.js CHANGED
@@ -6,8 +6,8 @@ import Ce from 'enquirer';
6
6
  import Y from 'node:fs';
7
7
  import { execa } from 'execa';
8
8
  import d from 'ansi-colors';
9
- import { execSync } from 'child_process';
10
- import { join } from 'path';
9
+ import { execSync } from 'node:child_process';
10
+ import { join } from 'node:path';
11
11
 
12
12
  var C={COMMIT:"commit",HOOK:"hook",LIST:"list"},l={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"}),D={[l.CONVENTIONAL]:"{type}{scope}{breaking}: {emoji}{title}",[l.CONVENTIONAL_NO_EMOJI]:"{type}{scope}{breaking}: {title}",[l.GITMOJI]:"{emoji}{breaking}{scope}{title}"},m={TYPES:{ERROR:"error",INFO:"info",SUCCESS:"success",WARNING:"warning"},MESSAGES:{COMMAND_LINE_WITHOUT_REQUIRED:"\u276F Command line option requires both: --title, --type",COMMIT_FAIL:`\u276F
13
13
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "license": "MIT",
4
- "version": "1.1.0-enquirer.3",
4
+ "version": "1.1.1",
5
5
  "name": "ccommit",
6
6
  "description": "😜 ➕ 👔 🟰 ccommit \n Conventional Commit Generator that interprets commit types from gitmoji and conventional",
7
7
  "author": {