nocommit 0.0.3 → 0.0.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Asim Sk
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 CHANGED
@@ -34,8 +34,9 @@ feat: add user authentication with JWT tokens
34
34
  ## Quick Start
35
35
 
36
36
  ```bash
37
- # Install globally
38
- npm install -g nocommit
37
+ # Install (choose one)
38
+ brew tap asimar007/no-commit https://github.com/asimar007/no-commit && brew install nocommit # Homebrew
39
+ npm install -g nocommit # npm
39
40
 
40
41
  # Set your Gemini API key
41
42
  nocommit config set GEMINI_API_KEY=your_api_key_here
@@ -54,6 +55,15 @@ Get your API key from [Google AI Studio](https://aistudio.google.com/apikey).
54
55
 
55
56
  ## Installation
56
57
 
58
+ ### Using Homebrew (macOS/Linux)
59
+
60
+ ```bash
61
+ brew tap asimar007/no-commit https://github.com/asimar007/no-commit
62
+ brew install nocommit
63
+ ```
64
+
65
+ ### Using npm
66
+
57
67
  ```bash
58
68
  npm install -g nocommit
59
69
  ```
@@ -67,6 +77,10 @@ nocommit --version
67
77
  ### Upgrading
68
78
 
69
79
  ```bash
80
+ # Homebrew
81
+ brew upgrade nocommit
82
+
83
+ # npm
70
84
  npm update -g nocommit
71
85
  ```
72
86
 
@@ -100,7 +114,7 @@ nocommit
100
114
  nocommit -a
101
115
 
102
116
  # Stage all and commit without confirmation
103
- nocommit -ay
117
+ nocommit --yes
104
118
  ```
105
119
 
106
120
  ### Interactive Menu
@@ -178,3 +192,7 @@ Contributions are welcome! Check out the [GitHub repository](https://github.com/
178
192
  ## Maintainers
179
193
 
180
194
  - **Asim Sk** — [@asimar007](https://github.com/asimar007)
195
+
196
+ ## License
197
+
198
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import { KnownError, handleCliError } from "./error.js";
9
9
  const program = new Command();
10
10
  program
11
11
  .name("nocommit")
12
- .version("0.0.3")
12
+ .version("0.0.4")
13
13
  .description("AI-powered git commit message generator")
14
14
  .option("-a, --all", "Stage all tracked changes before committing")
15
15
  .option("-y, --yes", "Skip confirmation and commit with first suggestion");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nocommit",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "AI-powered CLI that writes your git commit messages using Google Gemini. Never write a commit message again.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -37,6 +37,7 @@
37
37
  "bugs": {
38
38
  "url": "https://github.com/asimar007/no-commit/issues"
39
39
  },
40
+ "license": "MIT",
40
41
  "files": [
41
42
  "dist"
42
43
  ],