git-coco 0.8.3 → 0.8.4

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.
@@ -1819,7 +1819,7 @@ const builder$2 = (yargs) => {
1819
1819
 
1820
1820
  var commit = {
1821
1821
  command: 'commit',
1822
- desc: 'Generate commit message',
1822
+ desc: 'Write a commit message summarizing the staged changes.',
1823
1823
  builder: builder$2,
1824
1824
  handler: commandExecutor(handler$2),
1825
1825
  options: options$2,
@@ -2369,17 +2369,17 @@ y.command([commit.command, '$0'], commit.desc,
2369
2369
  // TODO: fix type on builder
2370
2370
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2371
2371
  // @ts-ignore
2372
- commit.builder, commit.handler);
2372
+ commit.builder, commit.handler).options(commit.options);
2373
2373
  y.command(changelog.command, changelog.desc,
2374
2374
  // TODO: fix type on builder
2375
2375
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2376
2376
  // @ts-ignore
2377
- changelog.builder, changelog.handler);
2377
+ changelog.builder, changelog.handler).options(changelog.options);
2378
2378
  y.command(init.command, init.desc,
2379
2379
  // TODO: fix type on builder
2380
2380
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2381
2381
  // @ts-ignore
2382
- init.builder, init.handler);
2382
+ init.builder, init.handler).options(init.options);
2383
2383
  y.parse(process.argv.slice(2));
2384
2384
 
2385
2385
  export { changelog, commit, init, types };
package/dist/index.js CHANGED
@@ -1840,7 +1840,7 @@ const builder$2 = (yargs) => {
1840
1840
 
1841
1841
  var commit = {
1842
1842
  command: 'commit',
1843
- desc: 'Generate commit message',
1843
+ desc: 'Write a commit message summarizing the staged changes.',
1844
1844
  builder: builder$2,
1845
1845
  handler: commandExecutor(handler$2),
1846
1846
  options: options$2,
@@ -2390,17 +2390,17 @@ y.command([commit.command, '$0'], commit.desc,
2390
2390
  // TODO: fix type on builder
2391
2391
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2392
2392
  // @ts-ignore
2393
- commit.builder, commit.handler);
2393
+ commit.builder, commit.handler).options(commit.options);
2394
2394
  y.command(changelog.command, changelog.desc,
2395
2395
  // TODO: fix type on builder
2396
2396
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2397
2397
  // @ts-ignore
2398
- changelog.builder, changelog.handler);
2398
+ changelog.builder, changelog.handler).options(changelog.options);
2399
2399
  y.command(init.command, init.desc,
2400
2400
  // TODO: fix type on builder
2401
2401
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2402
2402
  // @ts-ignore
2403
- init.builder, init.handler);
2403
+ init.builder, init.handler).options(init.options);
2404
2404
  y.parse(process.argv.slice(2));
2405
2405
 
2406
2406
  exports.changelog = changelog;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-coco",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "zero-effort git commits with coco.",
5
5
  "author": "gfargo <ghfargo@gmail.com>",
6
6
  "license": "MIT",
@@ -43,7 +43,7 @@
43
43
  "coco:esm": "node dist/index.esm.mjs"
44
44
  },
45
45
  "devDependencies": {
46
- "@rollup/plugin-commonjs": "^25.0.2",
46
+ "@rollup/plugin-commonjs": "^26.0.1",
47
47
  "@rollup/plugin-eslint": "^9.0.5",
48
48
  "@rollup/plugin-json": "^6.0.0",
49
49
  "@rollup/plugin-node-resolve": "^15.1.0",
@@ -93,7 +93,7 @@
93
93
  "p-queue": "5.0.0",
94
94
  "performance-now": "2.1.0",
95
95
  "pretty-ms": "7.0.1",
96
- "simple-git": "3.23.0",
96
+ "simple-git": "3.25.0",
97
97
  "tiktoken": "^1.0.15",
98
98
  "yargs": "17.7.2"
99
99
  }