Merge remote-tracking branch 'origin/master' into dev
This commit is contained in:
+7
-4
@@ -27331,7 +27331,7 @@ function G3(t2, e3) {
|
|||||||
// package.json
|
// package.json
|
||||||
var package_default = {
|
var package_default = {
|
||||||
name: "opencommit",
|
name: "opencommit",
|
||||||
version: "3.1.2",
|
version: "3.2.1",
|
||||||
description: "Auto-generate impressive commits in 1 second. Killing lame commits with AI \u{1F92F}\u{1F52B}",
|
description: "Auto-generate impressive commits in 1 second. Killing lame commits with AI \u{1F92F}\u{1F52B}",
|
||||||
keywords: [
|
keywords: [
|
||||||
"git",
|
"git",
|
||||||
@@ -27377,8 +27377,9 @@ var package_default = {
|
|||||||
"dev:gemini": "OCO_AI_PROVIDER='gemini' ts-node ./src/cli.ts",
|
"dev:gemini": "OCO_AI_PROVIDER='gemini' ts-node ./src/cli.ts",
|
||||||
build: "rimraf out && node esbuild.config.js",
|
build: "rimraf out && node esbuild.config.js",
|
||||||
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
|
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
|
||||||
deploy: "npm run build:push && git push --tags && npm publish --tag latest",
|
deploy: "npm publish --tag latest",
|
||||||
"deploy:patch": "npm version patch && npm run deploy",
|
"deploy:build": "npm run build:push && git push --tags && npm run deploy",
|
||||||
|
"deploy:patch": "npm version patch && npm run deploy:build",
|
||||||
lint: "eslint src --ext ts && tsc --noEmit",
|
lint: "eslint src --ext ts && tsc --noEmit",
|
||||||
format: "prettier --write src",
|
format: "prettier --write src",
|
||||||
test: "node --no-warnings --experimental-vm-modules $( [ -f ./node_modules/.bin/jest ] && echo ./node_modules/.bin/jest || which jest ) test/unit",
|
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
|
|||||||
);
|
);
|
||||||
ce(stdout);
|
ce(stdout);
|
||||||
const remotes = await getGitRemotes();
|
const remotes = await getGitRemotes();
|
||||||
|
if (config6.OCO_GITPUSH === false)
|
||||||
|
return;
|
||||||
if (!remotes.length) {
|
if (!remotes.length) {
|
||||||
const { stdout: stdout2 } = await execa("git", ["push"]);
|
const { stdout: stdout2 } = await execa("git", ["push"]);
|
||||||
if (stdout2)
|
if (stdout2)
|
||||||
ce(stdout2);
|
ce(stdout2);
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
}
|
}
|
||||||
if (remotes.length === 1 && config6.OCO_GITPUSH !== true) {
|
if (remotes.length === 1) {
|
||||||
const isPushConfirmedByUser = await Q3({
|
const isPushConfirmedByUser = await Q3({
|
||||||
message: "Do you want to run `git push`?"
|
message: "Do you want to run `git push`?"
|
||||||
});
|
});
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "opencommit",
|
"name": "opencommit",
|
||||||
"version": "3.1.2",
|
"version": "3.2.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "opencommit",
|
"name": "opencommit",
|
||||||
"version": "3.1.2",
|
"version": "3.2.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.10.0",
|
"@actions/core": "^1.10.0",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "opencommit",
|
"name": "opencommit",
|
||||||
"version": "3.2.0",
|
"version": "3.2.1",
|
||||||
"description": "Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
|
"description": "Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"git",
|
"git",
|
||||||
|
|||||||
Reference in New Issue
Block a user