opencommit 1.0.5 → 1.0.7

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.
Files changed (2) hide show
  1. package/out/cli.cjs +6 -4
  2. package/package.json +2 -2
package/out/cli.cjs CHANGED
@@ -15412,8 +15412,8 @@ function G3(t, e2) {
15412
15412
  // package.json
15413
15413
  var package_default = {
15414
15414
  name: "opencommit",
15415
- version: "1.0.4",
15416
- description: "AI generates conventional commits with mind-blowing accuracy.",
15415
+ version: "1.0.6",
15416
+ description: "AI generates conventional commits with mind-blowing accuracy \u{1F92F}\u{1F52B}",
15417
15417
  keywords: [
15418
15418
  "git",
15419
15419
  "chatgpt",
@@ -17544,9 +17544,11 @@ ${source_default.grey("\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2
17544
17544
  const isPushConfirmedByUser = await Q2({
17545
17545
  message: "Do you want to run `git push`?"
17546
17546
  });
17547
- if (isPushConfirmedByUser) {
17547
+ if (isPushConfirmedByUser && !C3(isPushConfirmedByUser)) {
17548
+ const pushSpinner = le();
17549
+ pushSpinner.start("Running `git push`");
17548
17550
  const { stdout: stdout2 } = await execa("git", ["push"]);
17549
- ce(`${source_default.green("\u2714")} successfully pushed all commits`);
17551
+ pushSpinner.stop(`${source_default.green("\u2714")} successfully pushed all commits`);
17550
17552
  ce(stdout2);
17551
17553
  }
17552
17554
  } else
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "opencommit",
3
- "version": "1.0.5",
4
- "description": "AI generates conventional commits with mind-blowing accuracy.",
3
+ "version": "1.0.7",
4
+ "description": "AI generates conventional commits with mind-blowing accuracy 🤯🔫",
5
5
  "keywords": [
6
6
  "git",
7
7
  "chatgpt",