gh-manager-cli 1.24.3 → 1.25.1
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/CHANGELOG.md +14 -0
- package/README.md +6 -2
- package/dist/index.js +5 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.25.1](https://github.com/wiiiimm/gh-manager-cli/compare/v1.25.0...v1.25.1) (2025-09-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* slow down OAuth loading spinner to update every 2 seconds ([bb2b9f0](https://github.com/wiiiimm/gh-manager-cli/commit/bb2b9f04f3410f5870884a3db74246ad4b8110bd))
|
|
7
|
+
|
|
8
|
+
# [1.25.0](https://github.com/wiiiimm/gh-manager-cli/compare/v1.24.3...v1.25.0) (2025-09-05)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* update demo assets and documentation ([84242cc](https://github.com/wiiiimm/gh-manager-cli/commit/84242cc1cb14d58d5f8777e8d2ca20fb158839cb))
|
|
14
|
+
|
|
1
15
|
## [1.24.3](https://github.com/wiiiimm/gh-manager-cli/compare/v1.24.2...v1.24.3) (2025-09-05)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -14,8 +14,10 @@
|
|
|
14
14
|
|
|
15
15
|
Interactive terminal app to browse and manage your personal GitHub repositories. Built with Ink (React for CLIs) and the GitHub GraphQL API.
|
|
16
16
|
|
|
17
|
+
🌐 **Visit our website:** [gh-manager-cli.dev](https://gh-manager-cli.dev) | [Source](https://github.com/wiiiimm/gh-manager-cli-site) | Hosted on [Vercel](https://vercel.com)
|
|
18
|
+
|
|
17
19
|
<p align="center">
|
|
18
|
-
<img src="docs/
|
|
20
|
+
<img src="docs/app-demo.gif" alt="Interactive demo of gh-manager-cli" width="900" />
|
|
19
21
|
<br />
|
|
20
22
|
<em>Fast, keyboard-first GitHub repo management from your terminal</em>
|
|
21
23
|
</p>
|
|
@@ -60,6 +62,8 @@ On first run, you'll be prompted to authenticate with GitHub (OAuth recommended)
|
|
|
60
62
|
- **Repository Actions**:
|
|
61
63
|
- View detailed info (`I`) - Shows repository metadata, language, size, and timestamps
|
|
62
64
|
- Open in browser (Enter/`O`)
|
|
65
|
+
- Rename repository (`Ctrl+R`) with inline validation and automatic cache update
|
|
66
|
+
- Copy repository URL to clipboard (`C`) with SSH/HTTPS options
|
|
63
67
|
- Delete repository (`Del` or `Backspace`) with secure two-step confirmation
|
|
64
68
|
- Archive/unarchive repositories (`Ctrl+A`) with confirmation prompts
|
|
65
69
|
- Change repository visibility (`Ctrl+V`) - Switch between Public, Private, and Internal (enterprise only)
|
|
@@ -107,7 +111,7 @@ npx gh-manager-cli@latest
|
|
|
107
111
|
Install globally for persistent `gh-manager-cli` command:
|
|
108
112
|
|
|
109
113
|
```bash
|
|
110
|
-
npm install -g gh-manager-cli
|
|
114
|
+
npm install -g gh-manager-cli@latest
|
|
111
115
|
gh-manager-cli
|
|
112
116
|
```
|
|
113
117
|
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ var require_package = __commonJS({
|
|
|
31
31
|
"package.json"(exports, module) {
|
|
32
32
|
module.exports = {
|
|
33
33
|
name: "gh-manager-cli",
|
|
34
|
-
version: "1.
|
|
34
|
+
version: "1.25.1",
|
|
35
35
|
private: false,
|
|
36
36
|
description: "Interactive CLI to manage your GitHub repos (personal) with Ink",
|
|
37
37
|
license: "MIT",
|
|
@@ -594,15 +594,15 @@ import chalk2 from "chalk";
|
|
|
594
594
|
import { useEffect as useEffect2, useState as useState2 } from "react";
|
|
595
595
|
import { Text as Text2 } from "ink";
|
|
596
596
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
597
|
-
function SlowSpinner() {
|
|
597
|
+
function SlowSpinner({ interval = 500 } = {}) {
|
|
598
598
|
const frames = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"];
|
|
599
599
|
const [frame, setFrame] = useState2(0);
|
|
600
600
|
useEffect2(() => {
|
|
601
601
|
const timer = setInterval(() => {
|
|
602
602
|
setFrame((f) => (f + 1) % frames.length);
|
|
603
|
-
},
|
|
603
|
+
}, interval);
|
|
604
604
|
return () => clearInterval(timer);
|
|
605
|
-
}, [frames.length]);
|
|
605
|
+
}, [frames.length, interval]);
|
|
606
606
|
return /* @__PURE__ */ jsx2(Text2, { children: frames[frame] });
|
|
607
607
|
}
|
|
608
608
|
|
|
@@ -3189,7 +3189,6 @@ function AuthMethodSelector({ onSelect, onQuit }) {
|
|
|
3189
3189
|
|
|
3190
3190
|
// src/ui/components/auth/OAuthProgress.tsx
|
|
3191
3191
|
import { Box as Box17, Text as Text18 } from "ink";
|
|
3192
|
-
import Spinner from "ink-spinner";
|
|
3193
3192
|
import { jsx as jsx18, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
3194
3193
|
function OAuthProgress({ status, error, deviceCode }) {
|
|
3195
3194
|
const statusMessages = {
|
|
@@ -3230,7 +3229,7 @@ function OAuthProgress({ status, error, deviceCode }) {
|
|
|
3230
3229
|
return /* @__PURE__ */ jsxs17(Box17, { flexDirection: "column", borderStyle: "single", borderColor: status === "error" ? "red" : "cyan", paddingX: 2, paddingY: 1, children: [
|
|
3231
3230
|
/* @__PURE__ */ jsx18(Text18, { bold: true, marginBottom: 1, children: "GitHub OAuth Authentication" }),
|
|
3232
3231
|
/* @__PURE__ */ jsx18(Box17, { marginY: 1, children: showSpinner ? /* @__PURE__ */ jsxs17(Box17, { children: [
|
|
3233
|
-
/* @__PURE__ */ jsx18(Text18, { color: "green", children: /* @__PURE__ */ jsx18(
|
|
3232
|
+
/* @__PURE__ */ jsx18(Text18, { color: "green", children: /* @__PURE__ */ jsx18(SlowSpinner, { interval: 2e3 }) }),
|
|
3234
3233
|
/* @__PURE__ */ jsxs17(Text18, { children: [
|
|
3235
3234
|
" ",
|
|
3236
3235
|
message
|