opencommit 1.0.4 → 1.0.5
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 +1 -1
- package/out/cli.cjs +9 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
## Examples
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
All the commits in this repo are done with OpenCommit — look into [the commits](https://github.com/di-sukharev/opencommit/commit/eae7618d575ee8d2e9fff5de56da79d40c4bc5fc) to see how OpenCommit works. Emoji and long commit description text is configurable.
|
|
17
17
|
|
|
18
18
|
## Setup
|
|
19
19
|
|
package/out/cli.cjs
CHANGED
|
@@ -15412,7 +15412,7 @@ function G3(t, e2) {
|
|
|
15412
15412
|
// package.json
|
|
15413
15413
|
var package_default = {
|
|
15414
15414
|
name: "opencommit",
|
|
15415
|
-
version: "1.0.
|
|
15415
|
+
version: "1.0.4",
|
|
15416
15416
|
description: "AI generates conventional commits with mind-blowing accuracy.",
|
|
15417
15417
|
keywords: [
|
|
15418
15418
|
"git",
|
|
@@ -17541,6 +17541,14 @@ ${source_default.grey("\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2
|
|
|
17541
17541
|
const { stdout } = await execa("git", ["commit", "-m", commitMessage]);
|
|
17542
17542
|
ce(`${source_default.green("\u2714")} successfully committed`);
|
|
17543
17543
|
ce(stdout);
|
|
17544
|
+
const isPushConfirmedByUser = await Q2({
|
|
17545
|
+
message: "Do you want to run `git push`?"
|
|
17546
|
+
});
|
|
17547
|
+
if (isPushConfirmedByUser) {
|
|
17548
|
+
const { stdout: stdout2 } = await execa("git", ["push"]);
|
|
17549
|
+
ce(`${source_default.green("\u2714")} successfully pushed all commits`);
|
|
17550
|
+
ce(stdout2);
|
|
17551
|
+
}
|
|
17544
17552
|
} else
|
|
17545
17553
|
ce(`${source_default.gray("\u2716")} process cancelled`);
|
|
17546
17554
|
};
|