nocommit 0.0.3 → 0.0.5
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 +21 -0
- package/README.md +24 -3
- package/dist/index.js +1 -1
- package/package.json +3 -2
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
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
+
|
|
3
|
+
<h1 align="center">nocommit</h1>
|
|
4
|
+
<img width="2816" height="1536" alt="nocommit" src="https://ik.imagekit.io/mwaidhd9z/No%20Commit/No%20Commit.png" />
|
|
2
5
|
|
|
3
6
|
# nocommit
|
|
4
7
|
|
|
@@ -34,8 +37,9 @@ feat: add user authentication with JWT tokens
|
|
|
34
37
|
## Quick Start
|
|
35
38
|
|
|
36
39
|
```bash
|
|
37
|
-
# Install
|
|
38
|
-
|
|
40
|
+
# Install (choose one)
|
|
41
|
+
brew tap asimar007/no-commit https://github.com/asimar007/no-commit && brew install nocommit # Homebrew
|
|
42
|
+
npm install -g nocommit # npm
|
|
39
43
|
|
|
40
44
|
# Set your Gemini API key
|
|
41
45
|
nocommit config set GEMINI_API_KEY=your_api_key_here
|
|
@@ -54,6 +58,15 @@ Get your API key from [Google AI Studio](https://aistudio.google.com/apikey).
|
|
|
54
58
|
|
|
55
59
|
## Installation
|
|
56
60
|
|
|
61
|
+
### Using Homebrew (macOS/Linux)
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
brew tap asimar007/no-commit https://github.com/asimar007/no-commit
|
|
65
|
+
brew install nocommit
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Using npm
|
|
69
|
+
|
|
57
70
|
```bash
|
|
58
71
|
npm install -g nocommit
|
|
59
72
|
```
|
|
@@ -67,6 +80,10 @@ nocommit --version
|
|
|
67
80
|
### Upgrading
|
|
68
81
|
|
|
69
82
|
```bash
|
|
83
|
+
# Homebrew
|
|
84
|
+
brew upgrade nocommit
|
|
85
|
+
|
|
86
|
+
# npm
|
|
70
87
|
npm update -g nocommit
|
|
71
88
|
```
|
|
72
89
|
|
|
@@ -100,7 +117,7 @@ nocommit
|
|
|
100
117
|
nocommit -a
|
|
101
118
|
|
|
102
119
|
# Stage all and commit without confirmation
|
|
103
|
-
nocommit
|
|
120
|
+
nocommit --yes
|
|
104
121
|
```
|
|
105
122
|
|
|
106
123
|
### Interactive Menu
|
|
@@ -178,3 +195,7 @@ Contributions are welcome! Check out the [GitHub repository](https://github.com/
|
|
|
178
195
|
## Maintainers
|
|
179
196
|
|
|
180
197
|
- **Asim Sk** — [@asimar007](https://github.com/asimar007)
|
|
198
|
+
|
|
199
|
+
## License
|
|
200
|
+
|
|
201
|
+
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.
|
|
12
|
+
.version("0.0.5")
|
|
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
|
+
"version": "0.0.5",
|
|
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",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"name": "Asim Sk",
|
|
30
30
|
"url": "https://github.com/asimar007"
|
|
31
31
|
},
|
|
32
|
-
"homepage": "https://
|
|
32
|
+
"homepage": "https://nocommit.asimsk.site",
|
|
33
33
|
"repository": {
|
|
34
34
|
"type": "git",
|
|
35
35
|
"url": "git+https://github.com/asimar007/no-commit.git"
|
|
@@ -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
|
],
|