aicommits 1.0.1 → 1.0.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 CHANGED
@@ -19,7 +19,9 @@ Install the CLI then grab your [OpenAI key](https://openai.com/api/) and add it
19
19
  1. `npm install -g aicommits`
20
20
  2. `export OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxx`
21
21
 
22
- After that, generate your commit running `aicommits`.
22
+ It's recommended to add the line in #2 to your `.zshrc` or `.bashrc` so it persists instead of having to define it in each terminal session.
23
+
24
+ After doing the two steps above, generate your commit by running `aicommits`.
23
25
 
24
26
  > Note: If you get a EACCESS error on mac/linux when running the first command, try running it with `sudo npm install -g aicommits`.
25
27
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "aicommits",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Writes your git commit messages for you with AI",
5
- "main": "bin/index.js",
6
- "bin": {
7
- "aicommits": "bin/index.js"
8
- },
5
+ "files": [
6
+ "bin"
7
+ ],
8
+ "bin": "bin/index.js",
9
9
  "repository": "https://github.com/Nutlope/aicommits",
10
10
  "author": "Hassan El Mghari (@nutlope)",
11
11
  "license": "MIT",
package/tsconfig.json DELETED
@@ -1,11 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es2016",
4
- "module": "commonjs",
5
- "outDir": "./bin",
6
- "esModuleInterop": true,
7
- "forceConsistentCasingInFileNames": true,
8
- "skipLibCheck": true /* Skip type checking all .d.ts files. */
9
- },
10
- "exclude": ["node_modules"]
11
- }