git-message-ai-commit 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 +16 -3
- package/package.json +2 -3
- package/git-message-ai-commit-1.0.0.tgz +0 -0
package/README.md
CHANGED
|
@@ -11,9 +11,11 @@ A CLI tool that uses a local [Ollama](https://ollama.com/) instance to generate
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
|
|
15
|
-
npm
|
|
16
|
-
|
|
14
|
+
# Global installation
|
|
15
|
+
npm install -g git-message-ai-commit
|
|
16
|
+
|
|
17
|
+
# Or run directly with npx
|
|
18
|
+
npx git-message-ai-commit
|
|
17
19
|
```
|
|
18
20
|
|
|
19
21
|
## Usage
|
|
@@ -37,3 +39,14 @@ git-ai-commit
|
|
|
37
39
|
- `--max-chars <n>`: Max diff characters sent (default: `16000`)
|
|
38
40
|
- `--type <type>`: Force a commit type (feat, fix, etc.)
|
|
39
41
|
- `--dry-run`: Print message to stdout without committing
|
|
42
|
+
|
|
43
|
+
## Tips
|
|
44
|
+
|
|
45
|
+
### Set an alias
|
|
46
|
+
|
|
47
|
+
You can set a shorter alias (e.g. `gmac`) in your shell config (`.zshrc`, `.bashrc`, etc.):
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
alias gmac="git-ai-commit"
|
|
51
|
+
```
|
|
52
|
+
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "git-message-ai-commit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "AI git commit messages using local Ollama",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "dist/cli.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
8
|
"build": "tsc",
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
"license": "ISC",
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"-": "^0.0.1",
|
|
19
18
|
"commander": "^14.0.2",
|
|
20
19
|
"execa": "^9.6.1",
|
|
21
20
|
"prompts": "^2.4.2"
|
|
Binary file
|