gh-manager-cli 1.35.1 → 1.37.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 CHANGED
@@ -1,3 +1,17 @@
1
+ # [1.37.0](https://github.com/wiiiimm/gh-manager-cli/compare/v1.36.0...v1.37.0) (2025-09-09)
2
+
3
+
4
+ ### Features
5
+
6
+ * add comprehensive environment variable documentation ([0493cf7](https://github.com/wiiiimm/gh-manager-cli/commit/0493cf7e1520609d4afffc4441021bc5b01194e3))
7
+
8
+ # [1.36.0](https://github.com/wiiiimm/gh-manager-cli/compare/v1.35.1...v1.36.0) (2025-09-09)
9
+
10
+
11
+ ### Features
12
+
13
+ * add GitHub release creation to workflow ([7f06bb1](https://github.com/wiiiimm/gh-manager-cli/commit/7f06bb1cdc5043dbf88ddf342c4c4b5359a41431))
14
+
1
15
  ## [1.35.1](https://github.com/wiiiimm/gh-manager-cli/compare/v1.35.0...v1.35.1) (2025-09-09)
2
16
 
3
17
 
package/README.md CHANGED
@@ -327,10 +327,10 @@ pnpm start:dev # run with 5 repos per page and debug mode
327
327
 
328
328
  ### Release Process
329
329
 
330
- The project uses **automated releases** with two complementary workflows:
330
+ The project uses a **two-phase automated release workflow**:
331
331
 
332
- #### 1. Semantic Release (Primary)
333
- - **Triggers**: On every push to `main` branch
332
+ #### Phase 1: Version Creation
333
+ - **Triggers**: On feature/fix commits to `main` branch
334
334
  - **Version Calculation**: Uses [semantic-release](https://semantic-release.gitbook.io/) to analyze commit messages:
335
335
  - `feat:` → Minor version bump (1.0.0 → 1.1.0)
336
336
  - `fix:` → Patch version bump (1.0.0 → 1.0.1)
@@ -338,37 +338,38 @@ The project uses **automated releases** with two complementary workflows:
338
338
  - **Actions**:
339
339
  1. Analyzes commits since last release
340
340
  2. Calculates new version number
341
- 3. Updates `package.json`
342
- 4. Generates changelog
343
- 5. Creates GitHub release with tag
344
- 6. Publishes to NPM
345
- 7. Publishes to GitHub Packages
346
- 8. Updates Homebrew tap
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
341
+ 3. Updates `package.json` and `CHANGELOG.md`
342
+ 4. Creates git tag
343
+ 5. Publishes to NPM
344
+ 6. Commits changes as `chore(release): X.Y.Z`
345
+
346
+ #### Phase 2: Binary Building & Distribution
347
+ - **Triggers**: On `chore(release):` commits (from Phase 1)
351
348
  - **Actions**:
352
- 1. Detects version change in `package.json`
353
- 2. Publishes to NPM if version doesn't exist
354
- 3. Updates Homebrew formula
355
- 4. Creates GitHub release
349
+ 1. Builds binaries for Linux, macOS, Windows
350
+ 2. Creates GitHub release with changelog
351
+ 3. Uploads binaries to release
352
+ 4. Publishes to GitHub Packages
353
+ 5. Updates Homebrew formula
356
354
 
357
355
  #### Release Flow Example
358
356
  ```
359
- Developer creates PR with commits:
357
+ Developer merges PR with commits:
360
358
  - feat: add new feature
361
359
  - fix: resolve bug
362
360
 
363
- PR merged to main
364
-
365
- semantic-release analyzes commits
361
+ Phase 1: semantic-release analyzes commits
366
362
 
367
363
  Calculates version: 1.2.3 → 1.3.0 (feat = minor)
364
+ Creates commit: "chore(release): 1.3.0"
365
+
366
+ Phase 2: Build workflow triggers
367
+
368
+ Builds binaries with version 1.3.0
368
369
 
369
- Updates package.json, creates changelog
370
+ Creates GitHub release with binaries
370
371
 
371
- Publishes everywhere (NPM, GitHub, Homebrew)
372
+ Publishes to GitHub Packages & updates Homebrew
372
373
  ```
373
374
 
374
375
  #### Manual Release
@@ -384,6 +385,8 @@ Both NPM and Homebrew will be automatically updated within minutes of any versio
384
385
  Environment variables:
385
386
  - `REPOS_PER_FETCH`: Number of repositories to fetch per page (1-50, default: 15)
386
387
  - `GH_MANAGER_DEBUG=1`: Enables debug mode with performance metrics, detailed errors, and console logging
388
+ - `GH_TOKEN`: GitHub Personal Access Token (alternative to OAuth authentication)
389
+ - `NO_COLOR`: Disable colored output in terminal
387
390
 
388
391
  Project layout:
389
392
  - `src/index.tsx` — CLI entry and error handling
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.35.1",
37
+ version: "1.37.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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gh-manager-cli",
3
- "version": "1.35.1",
3
+ "version": "1.37.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",