gh-manager-cli 1.36.0 → 1.38.0
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 +29 -24
- package/dist/index.js +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [1.38.0](https://github.com/wiiiimm/gh-manager-cli/compare/v1.37.0...v1.38.0) (2025-09-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add GitHub Sponsors integration ([b73a8c2](https://github.com/wiiiimm/gh-manager-cli/commit/b73a8c244aa6a336b249bc573a019c307b56bfc5))
|
|
7
|
+
|
|
8
|
+
# [1.37.0](https://github.com/wiiiimm/gh-manager-cli/compare/v1.36.0...v1.37.0) (2025-09-09)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add comprehensive environment variable documentation ([0493cf7](https://github.com/wiiiimm/gh-manager-cli/commit/0493cf7e1520609d4afffc4441021bc5b01194e3))
|
|
14
|
+
|
|
1
15
|
# [1.36.0](https://github.com/wiiiimm/gh-manager-cli/compare/v1.35.1...v1.36.0) (2025-09-09)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
[](https://opensource.org/licenses/MIT)
|
|
8
8
|
[](https://nodejs.org)
|
|
9
9
|
[](https://github.com/wiiiimm/gh-manager-cli/stargazers)
|
|
10
|
+
[](https://github.com/sponsors/wiiiimm)
|
|
10
11
|
[](https://www.anthropic.com)
|
|
11
12
|
[](https://openai.com)
|
|
12
13
|
|
|
@@ -327,10 +328,10 @@ pnpm start:dev # run with 5 repos per page and debug mode
|
|
|
327
328
|
|
|
328
329
|
### Release Process
|
|
329
330
|
|
|
330
|
-
The project uses
|
|
331
|
+
The project uses a **two-phase automated release workflow**:
|
|
331
332
|
|
|
332
|
-
#### 1
|
|
333
|
-
- **Triggers**: On
|
|
333
|
+
#### Phase 1: Version Creation
|
|
334
|
+
- **Triggers**: On feature/fix commits to `main` branch
|
|
334
335
|
- **Version Calculation**: Uses [semantic-release](https://semantic-release.gitbook.io/) to analyze commit messages:
|
|
335
336
|
- `feat:` → Minor version bump (1.0.0 → 1.1.0)
|
|
336
337
|
- `fix:` → Patch version bump (1.0.0 → 1.0.1)
|
|
@@ -338,37 +339,38 @@ The project uses **automated releases** with two complementary workflows:
|
|
|
338
339
|
- **Actions**:
|
|
339
340
|
1. Analyzes commits since last release
|
|
340
341
|
2. Calculates new version number
|
|
341
|
-
3. Updates `package.json`
|
|
342
|
-
4.
|
|
343
|
-
5.
|
|
344
|
-
6.
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
#### 2. Version Change Detection (Backup)
|
|
349
|
-
- **Triggers**: When `package.json` version field changes
|
|
350
|
-
- **Purpose**: Ensures releases happen even with manual version bumps
|
|
342
|
+
3. Updates `package.json` and `CHANGELOG.md`
|
|
343
|
+
4. Creates git tag
|
|
344
|
+
5. Publishes to NPM
|
|
345
|
+
6. Commits changes as `chore(release): X.Y.Z`
|
|
346
|
+
|
|
347
|
+
#### Phase 2: Binary Building & Distribution
|
|
348
|
+
- **Triggers**: On `chore(release):` commits (from Phase 1)
|
|
351
349
|
- **Actions**:
|
|
352
|
-
1.
|
|
353
|
-
2.
|
|
354
|
-
3.
|
|
355
|
-
4.
|
|
350
|
+
1. Builds binaries for Linux, macOS, Windows
|
|
351
|
+
2. Creates GitHub release with changelog
|
|
352
|
+
3. Uploads binaries to release
|
|
353
|
+
4. Publishes to GitHub Packages
|
|
354
|
+
5. Updates Homebrew formula
|
|
356
355
|
|
|
357
356
|
#### Release Flow Example
|
|
358
357
|
```
|
|
359
|
-
Developer
|
|
358
|
+
Developer merges PR with commits:
|
|
360
359
|
- feat: add new feature
|
|
361
360
|
- fix: resolve bug
|
|
362
361
|
↓
|
|
363
|
-
|
|
364
|
-
↓
|
|
365
|
-
semantic-release analyzes commits
|
|
362
|
+
Phase 1: semantic-release analyzes commits
|
|
366
363
|
↓
|
|
367
364
|
Calculates version: 1.2.3 → 1.3.0 (feat = minor)
|
|
365
|
+
Creates commit: "chore(release): 1.3.0"
|
|
366
|
+
↓
|
|
367
|
+
Phase 2: Build workflow triggers
|
|
368
|
+
↓
|
|
369
|
+
Builds binaries with version 1.3.0
|
|
368
370
|
↓
|
|
369
|
-
|
|
371
|
+
Creates GitHub release with binaries
|
|
370
372
|
↓
|
|
371
|
-
Publishes
|
|
373
|
+
Publishes to GitHub Packages & updates Homebrew
|
|
372
374
|
```
|
|
373
375
|
|
|
374
376
|
#### Manual Release
|
|
@@ -384,6 +386,8 @@ Both NPM and Homebrew will be automatically updated within minutes of any versio
|
|
|
384
386
|
Environment variables:
|
|
385
387
|
- `REPOS_PER_FETCH`: Number of repositories to fetch per page (1-50, default: 15)
|
|
386
388
|
- `GH_MANAGER_DEBUG=1`: Enables debug mode with performance metrics, detailed errors, and console logging
|
|
389
|
+
- `GH_TOKEN`: GitHub Personal Access Token (alternative to OAuth authentication)
|
|
390
|
+
- `NO_COLOR`: Disable colored output in terminal
|
|
387
391
|
|
|
388
392
|
Project layout:
|
|
389
393
|
- `src/index.tsx` — CLI entry and error handling
|
|
@@ -526,7 +530,8 @@ Highlights on deck:
|
|
|
526
530
|
|
|
527
531
|
If you find gh-manager-cli useful, consider supporting its development:
|
|
528
532
|
|
|
529
|
-
|
|
533
|
+
💖 **[GitHub Sponsors](https://github.com/sponsors/wiiiimm)** - Support directly through GitHub
|
|
534
|
+
☕ **[Buy Me a Coffee](https://buymeacoffee.com/wiiiimm)** - One-time coffee donations
|
|
530
535
|
|
|
531
536
|
Your support helps maintain and improve this project. Thank you! 🙏
|
|
532
537
|
|
package/dist/index.js
CHANGED
|
@@ -34,7 +34,7 @@ var require_package = __commonJS({
|
|
|
34
34
|
"package.json"(exports, module) {
|
|
35
35
|
module.exports = {
|
|
36
36
|
name: "gh-manager-cli",
|
|
37
|
-
version: "1.
|
|
37
|
+
version: "1.38.0",
|
|
38
38
|
private: false,
|
|
39
39
|
description: "TUI terminal app to manage GitHub repos. Clean up your account in 5 minutes. Archive, delete, rename repos with keyboard shortcuts. Alternative to clicking through github.com",
|
|
40
40
|
license: "MIT",
|
|
@@ -3237,7 +3237,7 @@ function RepoList({ token, maxVisibleRows, onLogout, viewerLogin, onOrgContextCh
|
|
|
3237
3237
|
showSponsorReminder && /* @__PURE__ */ jsx19(Box18, { marginX: 1, marginBottom: 1, children: /* @__PURE__ */ jsx19(Box18, { borderStyle: "single", borderColor: "yellow", paddingX: 2, paddingY: 1, children: /* @__PURE__ */ jsxs18(Box18, { flexDirection: "column", alignItems: "center", children: [
|
|
3238
3238
|
/* @__PURE__ */ jsx19(Text19, { color: "yellow", children: "\u{1F49A} Thanks for using gh-manager-cli!" }),
|
|
3239
3239
|
/* @__PURE__ */ jsx19(Text19, { color: "gray", children: "Your support helps craft more open-source tools" }),
|
|
3240
|
-
/* @__PURE__ */ jsx19(Text19, { color: "cyan", children: "\
|
|
3240
|
+
/* @__PURE__ */ jsx19(Text19, { color: "cyan", children: "\u{1F496} github.com/sponsors/wiiiimm" })
|
|
3241
3241
|
] }) }) }),
|
|
3242
3242
|
/* @__PURE__ */ jsx19(Box18, { borderStyle: "single", borderColor: modalOpen ? "gray" : "yellow", paddingX: 1, paddingY: 1, marginX: 1, height: contentHeight + containerPadding + 2, flexDirection: "column", children: deleteMode && deleteTarget ? (
|
|
3243
3243
|
// Centered modal; hide list content while modal is open
|
|
@@ -3725,7 +3725,7 @@ function RepoList({ token, maxVisibleRows, onLogout, viewerLogin, onOrgContextCh
|
|
|
3725
3725
|
] }) }),
|
|
3726
3726
|
/* @__PURE__ */ jsx19(Box18, { width: terminalWidth, justifyContent: "center", children: /* @__PURE__ */ jsx19(Text19, { color: "gray", dimColor: modalOpen ? true : void 0, children: starsMode ? "I Info \u2022 C Copy URL \u2022 U Unstar Repository" : "I Info \u2022 C Copy URL \u2022 Ctrl+S Un/Star \u2022 Ctrl+R Rename \u2022 Ctrl+A Un/Archive \u2022 Ctrl+V Change Visibility \u2022 Ctrl+F Sync Fork" }) }),
|
|
3727
3727
|
/* @__PURE__ */ jsx19(Box18, { width: terminalWidth, justifyContent: "center", children: /* @__PURE__ */ jsx19(Text19, { color: "gray", dimColor: modalOpen ? true : void 0, children: "K Cache Info \u2022 W Org Switch \u2022 Del/Backspace Delete \u2022 Ctrl+L Logout \u2022 Q Quit" }) }),
|
|
3728
|
-
/* @__PURE__ */ jsx19(Box18, { width: terminalWidth, justifyContent: "center", marginTop: 1, children: /* @__PURE__ */ jsx19(Text19, { color: "yellow", dimColor: modalOpen ? true : void 0, children: "\u{
|
|
3728
|
+
/* @__PURE__ */ jsx19(Box18, { width: terminalWidth, justifyContent: "center", marginTop: 1, children: /* @__PURE__ */ jsx19(Text19, { color: "yellow", dimColor: modalOpen ? true : void 0, children: "\u{1F496} Sponsor on GitHub: github.com/sponsors/wiiiimm" }) })
|
|
3729
3729
|
] }),
|
|
3730
3730
|
process.env.GH_MANAGER_DEBUG === "1" && /* @__PURE__ */ jsxs18(Box18, { marginTop: 1, borderStyle: "single", borderColor: "yellow", paddingX: 1, flexDirection: "column", children: [
|
|
3731
3731
|
/* @__PURE__ */ jsx19(Text19, { bold: true, color: "yellow", children: "Debug Messages:" }),
|
|
@@ -4348,10 +4348,10 @@ var showSponsorshipMessage = () => {
|
|
|
4348
4348
|
console.log("\n\u{1F49A} Thank you for using gh-manager-cli!\n");
|
|
4349
4349
|
console.log("If this app saved you time, please consider supporting");
|
|
4350
4350
|
console.log("the development of more open-source projects like this:\n");
|
|
4351
|
-
console.log(" \
|
|
4351
|
+
console.log(" \u{1F496} Sponsor on GitHub: https://github.com/sponsors/wiiiimm");
|
|
4352
4352
|
console.log(" \u{1F680} Visit my site: https://wiiiimm.codes");
|
|
4353
4353
|
console.log(" \u{1F4AC} Leave feedback: https://github.com/wiiiimm/gh-manager-cli");
|
|
4354
|
-
console.log("\nYour support
|
|
4354
|
+
console.log("\nYour support keeps this project alive! \u{1F64F}\n");
|
|
4355
4355
|
console.log("\u2500".repeat(60) + "\n");
|
|
4356
4356
|
};
|
|
4357
4357
|
process.on("SIGINT", () => handleShutdown("SIGINT"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gh-manager-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.38.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "TUI terminal app to manage GitHub repos. Clean up your account in 5 minutes. Archive, delete, rename repos with keyboard shortcuts. Alternative to clicking through github.com",
|
|
6
6
|
"license": "MIT",
|