mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-01-13 15:47:58 -05:00
Compare commits
3 Commits
refactorin
...
v3.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a9050fda39 | ||
|
|
b98b892ba1 | ||
|
|
ba5dd848b8 |
1
.opencommitignore
Normal file
1
.opencommitignore
Normal file
@@ -0,0 +1 @@
|
||||
out
|
||||
@@ -326,4 +326,8 @@ Interactive rebase (`rebase -i`) changes commits' SHA, so the commit history in
|
||||
|
||||
## Payments
|
||||
|
||||
You pay for your requests to OpenAI API. OpenCommit uses ChatGPT (3.5-turbo) official model, which is ~15x times cheaper than GPT-4.
|
||||
You pay for your requests to OpenAI API on your own.
|
||||
|
||||
OpenCommit stores your key locally.
|
||||
|
||||
OpenCommit by default uses ChatGPT (3.5-turbo-16k) official model, which is a lot cheaper than gpt-4.
|
||||
|
||||
@@ -16384,7 +16384,7 @@ function G3(t, e2) {
|
||||
// package.json
|
||||
var package_default = {
|
||||
name: "opencommit",
|
||||
version: "2.4.2",
|
||||
version: "3.0.0",
|
||||
description: "Auto-generate impressive commits in 1 second. Killing lame commits with AI \u{1F92F}\u{1F52B}",
|
||||
keywords: [
|
||||
"git",
|
||||
@@ -16426,7 +16426,7 @@ var package_default = {
|
||||
dev: "ts-node ./src/cli.ts",
|
||||
build: "rimraf out && node esbuild.config.js",
|
||||
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
|
||||
deploy: "npm run build:push && npm version patch && git push --tags && git push && npm publish --tag latest",
|
||||
deploy: "npm run build:push && npm version patch && git push --follow-tags && npm publish --tag latest",
|
||||
lint: "eslint src --ext ts && tsc --noEmit",
|
||||
format: "prettier --write src"
|
||||
},
|
||||
@@ -22312,7 +22312,7 @@ var generateCommitMessageFromGitDiff = async (diff, extraArgs2) => {
|
||||
try {
|
||||
let commitMessage = await generateCommitMessageByDiff(diff);
|
||||
const messageTemplate = checkMessageTemplate(extraArgs2);
|
||||
if (typeof messageTemplate === "string") {
|
||||
if (config7?.OCO_MESSAGE_TEMPLATE_PLACEHOLDER && typeof messageTemplate === "string") {
|
||||
commitMessage = messageTemplate.replace(
|
||||
config7?.OCO_MESSAGE_TEMPLATE_PLACEHOLDER,
|
||||
commitMessage
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "opencommit",
|
||||
"version": "2.4.2",
|
||||
"version": "3.0.0",
|
||||
"description": "Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
|
||||
"keywords": [
|
||||
"git",
|
||||
@@ -42,7 +42,7 @@
|
||||
"dev": "ts-node ./src/cli.ts",
|
||||
"build": "rimraf out && node esbuild.config.js",
|
||||
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
|
||||
"deploy": "npm run build:push && npm version patch && git push --tags && git push && npm publish --tag latest",
|
||||
"deploy": "npm run build:push && npm version patch && git push --follow-tags && npm publish --tag latest",
|
||||
"lint": "eslint src --ext ts && tsc --noEmit",
|
||||
"format": "prettier --write src"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user