opencommit 3.0.2 → 3.0.4
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 +3 -1
- package/out/cli.cjs +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -332,4 +332,6 @@ You pay for your requests to OpenAI API on your own.
|
|
|
332
332
|
|
|
333
333
|
OpenCommit stores your key locally.
|
|
334
334
|
|
|
335
|
-
OpenCommit by default uses
|
|
335
|
+
OpenCommit by default uses 3.5-turbo-16k model, it should not exceed $0.10 per casual working day.
|
|
336
|
+
|
|
337
|
+
You may switch to gpt-4, it's better, but more expensive.
|
package/out/cli.cjs
CHANGED
|
@@ -16384,7 +16384,7 @@ function G3(t, e2) {
|
|
|
16384
16384
|
// package.json
|
|
16385
16385
|
var package_default = {
|
|
16386
16386
|
name: "opencommit",
|
|
16387
|
-
version: "3.0.
|
|
16387
|
+
version: "3.0.4",
|
|
16388
16388
|
description: "Auto-generate impressive commits in 1 second. Killing lame commits with AI \u{1F92F}\u{1F52B}",
|
|
16389
16389
|
keywords: [
|
|
16390
16390
|
"git",
|
|
@@ -16427,7 +16427,7 @@ var package_default = {
|
|
|
16427
16427
|
dev: "ts-node ./src/cli.ts",
|
|
16428
16428
|
build: "rimraf out && node esbuild.config.js",
|
|
16429
16429
|
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
|
|
16430
|
-
deploy: "npm
|
|
16430
|
+
deploy: "npm version patch && npm run build:push && git push --tags && npm publish --tag latest",
|
|
16431
16431
|
lint: "eslint src --ext ts && tsc --noEmit",
|
|
16432
16432
|
format: "prettier --write src"
|
|
16433
16433
|
},
|
|
@@ -21478,7 +21478,7 @@ var validateConfig = (key, condition, validationMessage) => {
|
|
|
21478
21478
|
}
|
|
21479
21479
|
};
|
|
21480
21480
|
var configValidators = {
|
|
21481
|
-
["OCO_OPENAI_API_KEY" /* OCO_OPENAI_API_KEY */](value, config8) {
|
|
21481
|
+
["OCO_OPENAI_API_KEY" /* OCO_OPENAI_API_KEY */](value, config8 = {}) {
|
|
21482
21482
|
validateConfig("OCO_OPENAI_API_KEY" /* OCO_OPENAI_API_KEY */, value, "Cannot be empty");
|
|
21483
21483
|
validateConfig(
|
|
21484
21484
|
"OCO_OPENAI_API_KEY" /* OCO_OPENAI_API_KEY */,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencommit",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"git",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"dev": "ts-node ./src/cli.ts",
|
|
44
44
|
"build": "rimraf out && node esbuild.config.js",
|
|
45
45
|
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
|
|
46
|
-
"deploy": "npm
|
|
46
|
+
"deploy": "npm version patch && npm run build:push && git push --tags && npm publish --tag latest",
|
|
47
47
|
"lint": "eslint src --ext ts && tsc --noEmit",
|
|
48
48
|
"format": "prettier --write src"
|
|
49
49
|
},
|