opencommit 3.0.3 → 3.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.
Files changed (3) hide show
  1. package/README.md +18 -4
  2. package/out/cli.cjs +3461 -3403
  3. package/package.json +6 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencommit",
3
- "version": "3.0.3",
3
+ "version": "3.0.5",
4
4
  "description": "Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
5
5
  "keywords": [
6
6
  "git",
@@ -12,7 +12,8 @@
12
12
  "aicommit",
13
13
  "aicommits",
14
14
  "gptcommit",
15
- "commit"
15
+ "commit",
16
+ "ollama"
16
17
  ],
17
18
  "main": "cli.js",
18
19
  "bin": {
@@ -40,10 +41,11 @@
40
41
  "scripts": {
41
42
  "watch": "npm run -S build -- --sourcemap --watch",
42
43
  "start": "node ./out/cli.cjs",
44
+ "ollama:start": "OCO_AI_PROVIDER='ollama' node ./out/cli.cjs",
43
45
  "dev": "ts-node ./src/cli.ts",
44
46
  "build": "rimraf out && node esbuild.config.js",
45
47
  "build:push": "npm run build && git add . && git commit -m 'build' && git push",
46
- "deploy": "npm run build:push && npm version patch && git push --follow-tags && npm publish --tag latest",
48
+ "deploy": "npm version patch && npm run build:push && git push --tags && npm publish --tag latest",
47
49
  "lint": "eslint src --ext ts && tsc --noEmit",
48
50
  "format": "prettier --write src"
49
51
  },
@@ -69,6 +71,7 @@
69
71
  "@dqbd/tiktoken": "^1.0.2",
70
72
  "@octokit/webhooks-schemas": "^6.11.0",
71
73
  "@octokit/webhooks-types": "^6.11.0",
74
+ "ai": "^2.2.14",
72
75
  "axios": "^1.3.4",
73
76
  "chalk": "^5.2.0",
74
77
  "cleye": "^1.3.2",