opencommit 2.0.6 → 2.0.8
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/out/cli.cjs +6 -6
- package/package.json +1 -1
package/out/cli.cjs
CHANGED
|
@@ -16076,7 +16076,7 @@ function G3(t, e2) {
|
|
|
16076
16076
|
// package.json
|
|
16077
16077
|
var package_default = {
|
|
16078
16078
|
name: "opencommit",
|
|
16079
|
-
version: "2.0.
|
|
16079
|
+
version: "2.0.7",
|
|
16080
16080
|
description: "GPT CLI to auto-generate impressive commits in 1 second. Killing lame commits with AI \u{1F92F}\u{1F52B}",
|
|
16081
16081
|
keywords: [
|
|
16082
16082
|
"git",
|
|
@@ -17501,7 +17501,7 @@ var setConfig = (keyValues) => {
|
|
|
17501
17501
|
config3[configKey] = validValue;
|
|
17502
17502
|
}
|
|
17503
17503
|
(0, import_fs.writeFileSync)(configPath, (0, import_ini.stringify)(config3), "utf8");
|
|
17504
|
-
ce(`${source_default.green("\u2714")}
|
|
17504
|
+
ce(`${source_default.green("\u2714")} Config successfully set`);
|
|
17505
17505
|
};
|
|
17506
17506
|
var configCommand = G3(
|
|
17507
17507
|
{
|
|
@@ -18607,7 +18607,7 @@ var hookCommand = G3(
|
|
|
18607
18607
|
return ce(`${source_default.green("\u2714")} Hook is removed`);
|
|
18608
18608
|
}
|
|
18609
18609
|
throw new Error(
|
|
18610
|
-
`
|
|
18610
|
+
`Unsupported mode: ${mode2}. Supported modes are: 'set' or 'unset'`
|
|
18611
18611
|
);
|
|
18612
18612
|
} catch (error) {
|
|
18613
18613
|
ce(`${source_default.red("\u2716")} ${error}`);
|
|
@@ -21747,7 +21747,7 @@ ${source_default.grey("\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2
|
|
|
21747
21747
|
commitMessage,
|
|
21748
21748
|
...extraArgs2
|
|
21749
21749
|
]);
|
|
21750
|
-
ce(`${source_default.green("\u2714")}
|
|
21750
|
+
ce(`${source_default.green("\u2714")} Successfully committed`);
|
|
21751
21751
|
ce(stdout);
|
|
21752
21752
|
const remotes = await getGitRemotes();
|
|
21753
21753
|
if (!remotes.length) {
|
|
@@ -21769,7 +21769,7 @@ ${source_default.grey("\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2
|
|
|
21769
21769
|
remotes[0]
|
|
21770
21770
|
]);
|
|
21771
21771
|
pushSpinner.stop(
|
|
21772
|
-
`${source_default.green("\u2714")}
|
|
21772
|
+
`${source_default.green("\u2714")} Successfully pushed all commits to ${remotes[0]}`
|
|
21773
21773
|
);
|
|
21774
21774
|
if (stdout2)
|
|
21775
21775
|
ce(stdout2);
|
|
@@ -21789,7 +21789,7 @@ ${source_default.grey("\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2
|
|
|
21789
21789
|
pushSpinner.stop(
|
|
21790
21790
|
`${source_default.green(
|
|
21791
21791
|
"\u2714"
|
|
21792
|
-
)}
|
|
21792
|
+
)} Successfully pushed all commits to ${selectedRemote}`
|
|
21793
21793
|
);
|
|
21794
21794
|
if (stdout2)
|
|
21795
21795
|
ce(stdout2);
|