aicommits 0.0.7 → 0.0.9

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.
Files changed (2) hide show
  1. package/index.js +2 -0
  2. package/package.json +3 -2
package/index.js CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  import { execSync } from "child_process";
4
4
  import inquirer from "inquirer";
5
+ import fetch from "node-fetch";
6
+
5
7
  let OPENAI_API_KEY = process.env.OPENAI_API_KEY;
6
8
 
7
9
  async function main() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aicommits",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "Writes your git commit messages for you with AI",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -11,6 +11,7 @@
11
11
  "author": "Hassan El Mghari (@nutlope)",
12
12
  "license": "MIT",
13
13
  "dependencies": {
14
- "inquirer": "^9.1.4"
14
+ "inquirer": "^9.1.4",
15
+ "node-fetch": "^3.3.0"
15
16
  }
16
17
  }