git-sync-tui 0.1.8 → 0.1.9

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/dist/cli.js +8 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -86,10 +86,14 @@ function StatusPanel({ type, title, children }) {
86
86
  children
87
87
  ] });
88
88
  }
89
- function AppHeader({ step, stashed, noCommit }) {
89
+ function AppHeader({ step, stashed, noCommit, version }) {
90
90
  return /* @__PURE__ */ jsxs(Box, { flexDirection: "column", marginBottom: 1, children: [
91
91
  /* @__PURE__ */ jsxs(Box, { gap: 1, children: [
92
92
  /* @__PURE__ */ jsx(Text, { backgroundColor: "cyan", color: "white", bold: true, children: " git-sync-tui " }),
93
+ version && /* @__PURE__ */ jsxs(Text, { color: "gray", dimColor: true, children: [
94
+ "v",
95
+ version
96
+ ] }),
93
97
  /* @__PURE__ */ jsxs(Text, { color: "gray", children: [
94
98
  "cherry-pick",
95
99
  noCommit ? " --no-commit" : ""
@@ -1746,7 +1750,7 @@ function UpdateBanner({ currentVersion }) {
1746
1750
  // src/app.tsx
1747
1751
  import { execSync as execSync2 } from "child_process";
1748
1752
  import { jsx as jsx11, jsxs as jsxs11 } from "react/jsx-runtime";
1749
- var APP_VERSION = "0.1.8";
1753
+ var APP_VERSION = "0.1.9";
1750
1754
  var STEP_NUMBER = {
1751
1755
  checking: 0,
1752
1756
  "stash-recovery": 0,
@@ -1874,7 +1878,7 @@ function App({ initialRemote, initialBranch }) {
1874
1878
  }
1875
1879
  }, [setStep, restoreStashSync, exit]);
1876
1880
  return /* @__PURE__ */ jsxs11(Box11, { flexDirection: "column", children: [
1877
- /* @__PURE__ */ jsx11(AppHeader, { step: STEP_NUMBER[step], stashed, noCommit }),
1881
+ /* @__PURE__ */ jsx11(AppHeader, { step: STEP_NUMBER[step], stashed, noCommit, version: APP_VERSION }),
1878
1882
  step === "checking" && /* @__PURE__ */ jsx11(Spinner7, { label: "\u68C0\u67E5\u5DE5\u4F5C\u533A\u72B6\u6001..." }),
1879
1883
  step === "stash-recovery" && inputReady && /* @__PURE__ */ jsx11(
1880
1884
  StashRecovery,
@@ -1969,7 +1973,7 @@ function App({ initialRemote, initialBranch }) {
1969
1973
 
1970
1974
  // src/cli-runner.ts
1971
1975
  import { createInterface } from "readline";
1972
- var APP_VERSION2 = "0.1.8";
1976
+ var APP_VERSION2 = "0.1.9";
1973
1977
  function log(msg) {
1974
1978
  process.stdout.write(msg + "\n");
1975
1979
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "git-sync-tui",
3
3
  "type": "module",
4
- "version": "0.1.8",
4
+ "version": "0.1.9",
5
5
  "packageManager": "pnpm@10.32.1",
6
6
  "description": "Interactive TUI tool for cross-repo git commit synchronization (cherry-pick --no-commit)",
7
7
  "author": "KiWi233333",