lazycommitt 1.0.0 → 1.0.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.
package/README.md CHANGED
@@ -3,9 +3,9 @@
3
3
  <h1 align="center">lazycommit</h1>
4
4
  </div>
5
5
  <p>A CLI that writes your git commit messages for you with AI using Groq. Never write a commit message again.</p>
6
- <a href="https://www.npmjs.com/package/lazycommitz"><img src="https://img.shields.io/npm/v/lazycommitz" alt="Current version"></a>
6
+ <a href="https://www.npmjs.com/package/lazycommitz"><img src="https://img.shields.io/npm/v/lazycommitt" alt="Current version"></a>
7
7
  <a href="https://github.com/KartikLabhshetwar/lazycommit"><img src="https://img.shields.io/github/stars/KartikLabhshetwar/lazycommit" alt="GitHub stars"></a>
8
- <a href="https://github.com/KartikLabhshetwar/lazycommit/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/lazycommitz" alt="License"></a>
8
+ <a href="https://github.com/KartikLabhshetwar/lazycommit/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/lazycommitt" alt="License"></a>
9
9
  </div>
10
10
 
11
11
  ---
@@ -17,7 +17,7 @@
17
17
  1. Install _lazycommit_:
18
18
 
19
19
  ```sh
20
- npm install -g lazycommitz
20
+ npm install -g lazycommitt
21
21
  ```
22
22
 
23
23
  2. Retrieve your API key from [Groq Console](https://console.groq.com/keys)
@@ -43,7 +43,7 @@ lazycommit --version
43
43
  If it's not the [latest version](https://github.com/KartikLabhshetwar/lazycommit/releases/latest), run:
44
44
 
45
45
  ```sh
46
- npm update -g lazycommitz
46
+ npm update -g lazycommitt
47
47
  ```
48
48
 
49
49
  ## Usage
@@ -267,4 +267,4 @@ If you want to help fix a bug or implement a feature in [Issues](https://github.
267
267
 
268
268
  ## License
269
269
 
270
- This project is licensed under the Apache-2.0 License - see the [LICENSE](LICENSE) file for details.
270
+ This project is licensed under the Apache-2.0 License - see the [LICENSE](LICENSE) file for details.
package/dist/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- var se=Object.defineProperty;var n=(e,t)=>se(e,"name",{value:t,configurable:!0});import{command as S,cli as oe}from"cleye";import{readFileSync as ae}from"fs";import{fileURLToPath as F,pathToFileURL as ne}from"url";import P,{dirname as ie,join as re}from"path";import{execa as $}from"execa";import{dim as C,bgCyan as z,black as G,green as b,red as v}from"kolorist";import{intro as Y,spinner as _,confirm as ce,isCancel as N,outro as w,select as le}from"@clack/prompts";import p from"fs/promises";import me from"os";import j from"ini";import U from"groq-sdk";var fe="1.0.0",ge={version:fe};const R=class R extends Error{};n(R,"KnownError");let m=R;const I=" ",k=n(e=>{e instanceof Error&&!(e instanceof m)&&(e.stack&&console.error(C(e.stack.split(`
2
+ var se=Object.defineProperty;var n=(e,t)=>se(e,"name",{value:t,configurable:!0});import{command as S,cli as oe}from"cleye";import{readFileSync as ae}from"fs";import{fileURLToPath as F,pathToFileURL as ne}from"url";import P,{dirname as ie,join as re}from"path";import{execa as $}from"execa";import{dim as C,bgCyan as z,black as G,green as b,red as v}from"kolorist";import{intro as Y,spinner as _,confirm as ce,isCancel as N,outro as w,select as le}from"@clack/prompts";import p from"fs/promises";import me from"os";import j from"ini";import U from"groq-sdk";var fe="1.0.1",ge={version:fe};const R=class R extends Error{};n(R,"KnownError");let m=R;const I=" ",k=n(e=>{e instanceof Error&&!(e instanceof m)&&(e.stack&&console.error(C(e.stack.split(`
3
3
  `).slice(1).join(`
4
4
  `))),console.error(`
5
5
  ${I}${C(`lazycommit v${ge.version}`)}`),console.error(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lazycommitt",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Writes your git commit messages for you with AI using Groq",
5
5
  "main": "index.js",
6
6
  "keywords": [