aicommits 0.2.2 → 0.2.3
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 +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -13,6 +13,8 @@ Install the CLI then grab your [OpenAI key](https://openai.com/api/) and add it
|
|
|
13
13
|
|
|
14
14
|
Then after running a `git add .` command in a git repo, use this CLI by simply running `aicommits` to generate your commit.
|
|
15
15
|
|
|
16
|
+
> Note: If you get a EACCESS error on mac/linux when running the first command, try running it with `sudo npm install -g aicommits` and putting in your password.
|
|
17
|
+
|
|
16
18
|
## How it works
|
|
17
19
|
|
|
18
20
|
This CLI tool runs a `git diff` command to grab all the latest changes, sends this to OpenAI's GPT-3, then returns the AI generated commit message. Video coming soon where I rebuild it from scratch to show you how to easily build your own CLI tools powered by AI.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aicommits",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Writes your git commit messages for you with AI",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"chalk": "^4.1.2",
|
|
21
|
-
"inquirer": "^
|
|
21
|
+
"inquirer": "^8.0.0",
|
|
22
22
|
"node-fetch": "^3.3.0"
|
|
23
23
|
}
|
|
24
24
|
}
|