Skip to content

Commit e3529e9

Browse files
committed
Merge remote-tracking branch 'origin/master' into dev
2 parents 2d7e384 + 8ae927e commit e3529e9

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

out/cli.cjs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27331,7 +27331,7 @@ function G3(t2, e3) {
2733127331
// package.json
2733227332
var package_default = {
2733327333
name: "opencommit",
27334-
version: "3.1.2",
27334+
version: "3.2.1",
2733527335
description: "Auto-generate impressive commits in 1 second. Killing lame commits with AI \u{1F92F}\u{1F52B}",
2733627336
keywords: [
2733727337
"git",
@@ -27377,8 +27377,9 @@ var package_default = {
2737727377
"dev:gemini": "OCO_AI_PROVIDER='gemini' ts-node ./src/cli.ts",
2737827378
build: "rimraf out && node esbuild.config.js",
2737927379
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
27380-
deploy: "npm run build:push && git push --tags && npm publish --tag latest",
27381-
"deploy:patch": "npm version patch && npm run deploy",
27380+
deploy: "npm publish --tag latest",
27381+
"deploy:build": "npm run build:push && git push --tags && npm run deploy",
27382+
"deploy:patch": "npm version patch && npm run deploy:build",
2738227383
lint: "eslint src --ext ts && tsc --noEmit",
2738327384
format: "prettier --write src",
2738427385
test: "node --no-warnings --experimental-vm-modules $( [ -f ./node_modules/.bin/jest ] && echo ./node_modules/.bin/jest || which jest ) test/unit",
@@ -45277,13 +45278,15 @@ ${source_default.grey("\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2
4527745278
);
4527845279
ce(stdout);
4527945280
const remotes = await getGitRemotes();
45281+
if (config6.OCO_GITPUSH === false)
45282+
return;
4528045283
if (!remotes.length) {
4528145284
const { stdout: stdout2 } = await execa("git", ["push"]);
4528245285
if (stdout2)
4528345286
ce(stdout2);
4528445287
process.exit(0);
4528545288
}
45286-
if (remotes.length === 1 && config6.OCO_GITPUSH !== true) {
45289+
if (remotes.length === 1) {
4528745290
const isPushConfirmedByUser = await Q3({
4528845291
message: "Do you want to run `git push`?"
4528945292
});

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencommit",
3-
"version": "3.2.0",
3+
"version": "3.2.1",
44
"description": "Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
55
"keywords": [
66
"git",

0 commit comments

Comments
 (0)