opencommit 3.0.15 → 3.0.17
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 +43 -11
- package/out/cli.cjs +7221 -1289
- package/package.json +9 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencommit",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.17",
|
|
4
4
|
"description": "Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"git",
|
|
@@ -43,16 +43,20 @@
|
|
|
43
43
|
"start": "node ./out/cli.cjs",
|
|
44
44
|
"ollama:start": "OCO_AI_PROVIDER='ollama' node ./out/cli.cjs",
|
|
45
45
|
"dev": "ts-node ./src/cli.ts",
|
|
46
|
+
"dev:gemini": "OCO_AI_PROVIDER='gemini' ts-node ./src/cli.ts",
|
|
46
47
|
"build": "rimraf out && node esbuild.config.js",
|
|
47
48
|
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
|
|
48
|
-
"deploy": "npm
|
|
49
|
+
"deploy": "npm run build:push && git push --tags && npm publish --tag latest",
|
|
50
|
+
"deploy:patch": "npm version patch && npm run deploy",
|
|
49
51
|
"lint": "eslint src --ext ts && tsc --noEmit",
|
|
50
52
|
"format": "prettier --write src",
|
|
53
|
+
"test": "node --no-warnings --experimental-vm-modules $( [ -f ./node_modules/.bin/jest ] && echo ./node_modules/.bin/jest || which jest ) test/unit",
|
|
51
54
|
"test:all": "npm run test:unit:docker && npm run test:e2e:docker",
|
|
52
55
|
"test:docker-build": "docker build -t oco-test -f test/Dockerfile .",
|
|
53
56
|
"test:unit": "NODE_OPTIONS=--experimental-vm-modules jest test/unit",
|
|
54
57
|
"test:unit:docker": "npm run test:docker-build && DOCKER_CONTENT_TRUST=0 docker run --rm oco-test npm run test:unit",
|
|
55
|
-
"test:e2e": "jest test/e2e",
|
|
58
|
+
"test:e2e": "npm run test:e2e:setup && jest test/e2e",
|
|
59
|
+
"test:e2e:setup": "sh test/e2e/setup.sh",
|
|
56
60
|
"test:e2e:docker": "npm run test:docker-build && DOCKER_CONTENT_TRUST=0 docker run --rm oco-test npm run test:e2e"
|
|
57
61
|
},
|
|
58
62
|
"devDependencies": {
|
|
@@ -77,9 +81,11 @@
|
|
|
77
81
|
"@actions/core": "^1.10.0",
|
|
78
82
|
"@actions/exec": "^1.1.1",
|
|
79
83
|
"@actions/github": "^5.1.1",
|
|
84
|
+
"@azure/openai": "^1.0.0-beta.12",
|
|
80
85
|
"@anthropic-ai/sdk": "^0.19.2",
|
|
81
86
|
"@clack/prompts": "^0.6.1",
|
|
82
87
|
"@dqbd/tiktoken": "^1.0.2",
|
|
88
|
+
"@google/generative-ai": "^0.11.4",
|
|
83
89
|
"@octokit/webhooks-schemas": "^6.11.0",
|
|
84
90
|
"@octokit/webhooks-types": "^6.11.0",
|
|
85
91
|
"ai": "^2.2.14",
|