git-stack-cli 2.7.3 → 2.7.4
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/dist/js/index.js +8 -5
- package/package.json +1 -1
- package/src/app/AutoUpdate.tsx +7 -3
package/dist/js/index.js
CHANGED
|
@@ -37533,7 +37533,7 @@ function AutoUpdate(props) {
|
|
|
37533
37533
|
async function init_state() {
|
|
37534
37534
|
if (state.latest_version !== null)
|
|
37535
37535
|
return;
|
|
37536
|
-
const local_version = "2.7.
|
|
37536
|
+
const local_version = "2.7.4";
|
|
37537
37537
|
const latest_version = await get_latest_version();
|
|
37538
37538
|
const is_brew_bun_standalone = get_is_brew_bun_standalone();
|
|
37539
37539
|
patch({ local_version, latest_version, is_brew_bun_standalone });
|
|
@@ -37586,7 +37586,7 @@ function AutoUpdate(props) {
|
|
|
37586
37586
|
}, JSON.stringify({ semver_result })));
|
|
37587
37587
|
switch (semver_result) {
|
|
37588
37588
|
case 0: {
|
|
37589
|
-
|
|
37589
|
+
info_quiet(/* @__PURE__ */ React19.createElement(Text, null, "✅ Everything up to date. ", /* @__PURE__ */ React19.createElement(Brackets, null, latest_version)));
|
|
37590
37590
|
return patch({ status: "done" });
|
|
37591
37591
|
}
|
|
37592
37592
|
case 1: {
|
|
@@ -37606,7 +37606,7 @@ function AutoUpdate(props) {
|
|
|
37606
37606
|
return patch({ status: "prompt" });
|
|
37607
37607
|
}
|
|
37608
37608
|
case -1: {
|
|
37609
|
-
|
|
37609
|
+
info_quiet(/* @__PURE__ */ React19.createElement(FormatText, {
|
|
37610
37610
|
message: "⚠️ Local version {local_version} is newer than latest version {latest_version}",
|
|
37611
37611
|
values: {
|
|
37612
37612
|
local_version: /* @__PURE__ */ React19.createElement(Brackets, null, local_version),
|
|
@@ -37622,6 +37622,9 @@ function AutoUpdate(props) {
|
|
|
37622
37622
|
}
|
|
37623
37623
|
}
|
|
37624
37624
|
function info(node) {
|
|
37625
|
+
handle_output(node);
|
|
37626
|
+
}
|
|
37627
|
+
function info_quiet(node) {
|
|
37625
37628
|
if (props_ref.current.verbose || props_ref.current.force) {
|
|
37626
37629
|
handle_output(node);
|
|
37627
37630
|
}
|
|
@@ -37632,7 +37635,7 @@ function AutoUpdate(props) {
|
|
|
37632
37635
|
}
|
|
37633
37636
|
}
|
|
37634
37637
|
function abort(error) {
|
|
37635
|
-
|
|
37638
|
+
info_quiet(/* @__PURE__ */ React19.createElement(Text, {
|
|
37636
37639
|
key: "error",
|
|
37637
37640
|
color: colors.red
|
|
37638
37641
|
}, error.message));
|
|
@@ -45579,7 +45582,7 @@ async function command2(argv, options = {}) {
|
|
|
45579
45582
|
builder2 = builder2.config(options.env_config);
|
|
45580
45583
|
}
|
|
45581
45584
|
return builder2;
|
|
45582
|
-
}).command("fixup [commit]", "Amend staged changes to a specific commit in history", (yargs) => yargs.positional("commit", FixupOptions.commit)).command("log [args...]", "Print an abbreviated log with numbered commits, useful for git stack fixup", (yargs) => yargs.strict(false)).command("rebase", "Update local branch via rebase with latest changes from origin master branch", (yargs) => yargs).command(["update", "upgrade"], "Check and install the latest version of git stack", (yargs) => yargs).command("config", "Generate a one-time configuration json based on the passed arguments", (yargs) => yargs.options(DefaultOptions)).option("verbose", GlobalOptions.verbose).wrap(123).strict().version("2.7.
|
|
45585
|
+
}).command("fixup [commit]", "Amend staged changes to a specific commit in history", (yargs) => yargs.positional("commit", FixupOptions.commit)).command("log [args...]", "Print an abbreviated log with numbered commits, useful for git stack fixup", (yargs) => yargs.strict(false)).command("rebase", "Update local branch via rebase with latest changes from origin master branch", (yargs) => yargs).command(["update", "upgrade"], "Check and install the latest version of git stack", (yargs) => yargs).command("config", "Generate a one-time configuration json based on the passed arguments", (yargs) => yargs.options(DefaultOptions)).option("verbose", GlobalOptions.verbose).wrap(123).strict().version("2.7.4").showHidden("show-hidden", "Show hidden options via `git stack help --show-hidden`").help("help", "Show usage via `git stack help`");
|
|
45583
45586
|
const result = parsed.argv;
|
|
45584
45587
|
return result;
|
|
45585
45588
|
}
|
package/package.json
CHANGED
package/src/app/AutoUpdate.tsx
CHANGED
|
@@ -218,7 +218,7 @@ export function AutoUpdate(props: Props) {
|
|
|
218
218
|
|
|
219
219
|
switch (semver_result) {
|
|
220
220
|
case 0: {
|
|
221
|
-
|
|
221
|
+
info_quiet(
|
|
222
222
|
<Ink.Text>
|
|
223
223
|
✅ Everything up to date. <Brackets>{latest_version}</Brackets>
|
|
224
224
|
</Ink.Text>,
|
|
@@ -248,7 +248,7 @@ export function AutoUpdate(props: Props) {
|
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
case -1: {
|
|
251
|
-
|
|
251
|
+
info_quiet(
|
|
252
252
|
<FormatText
|
|
253
253
|
message="⚠️ Local version {local_version} is newer than latest version {latest_version}"
|
|
254
254
|
values={{
|
|
@@ -269,6 +269,10 @@ export function AutoUpdate(props: Props) {
|
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
function info(node: React.ReactNode) {
|
|
272
|
+
handle_output(node);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
function info_quiet(node: React.ReactNode) {
|
|
272
276
|
if (props_ref.current.verbose || props_ref.current.force) {
|
|
273
277
|
handle_output(node);
|
|
274
278
|
}
|
|
@@ -280,7 +284,7 @@ export function AutoUpdate(props: Props) {
|
|
|
280
284
|
}
|
|
281
285
|
}
|
|
282
286
|
function abort(error: Error) {
|
|
283
|
-
|
|
287
|
+
info_quiet(
|
|
284
288
|
<Ink.Text key="error" color={colors.red}>
|
|
285
289
|
{error.message}
|
|
286
290
|
</Ink.Text>,
|