gh-tuner 0.1.3 → 0.1.5

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 (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +41 -21
  3. package/package.json +1 -1
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 André Wanlin
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -8,32 +8,51 @@ Delta-based issue triage and PR review summaries for OSS maintainers.
8
8
  gh-tuner scans your GitHub repos, filters out noise, and generates a structured
9
9
  markdown checklist of what needs your attention — aligned to your review schedule.
10
10
 
11
- ## Install
11
+ ## Quick start
12
+
13
+ Run directly with npx (no install needed):
12
14
 
13
15
  ```bash
14
- git clone git@github.com:awanlin/gh-tuner.git
15
- cd gh-tuner
16
- yarn install
17
- yarn build
16
+ # Issue triage (auto-detects delta window based on your schedule)
17
+ npx gh-tuner issues
18
+
19
+ # PR review checklist
20
+ npx gh-tuner prs
21
+
22
+ # Both issues and PRs
23
+ npx gh-tuner all
18
24
  ```
19
25
 
20
- ## Usage
26
+ ### Options
21
27
 
22
28
  ```bash
23
- # Issue triage (auto-detects delta window on Tue/Thu)
24
- gh-tuner issues
29
+ # Override the delta window start date
30
+ npx gh-tuner issues --since 2026-07-01
31
+
32
+ # Save output to a file instead of stdout
33
+ npx gh-tuner issues --output summary.md
25
34
 
26
- # PR review checklist (auto-detects delta window on Fri)
27
- gh-tuner prs
35
+ # Skip opening items in the browser
36
+ npx gh-tuner issues --no-open
28
37
 
29
- # Both
30
- gh-tuner all
38
+ # Force open all items even if there are more than 50
39
+ npx gh-tuner issues --open-all
31
40
 
32
- # Override delta window
33
- gh-tuner issues --since 2026-07-01
41
+ # Use a custom config file
42
+ npx gh-tuner issues --config ./my-config.yaml
34
43
 
35
- # Save to file without opening browser
36
- gh-tuner issues --no-open --output summary.md
44
+ # Show help
45
+ npx gh-tuner --help
46
+ npx gh-tuner issues --help
47
+ ```
48
+
49
+ ## Install from source
50
+
51
+ ```bash
52
+ git clone git@github.com:awanlin/gh-tuner.git
53
+ cd gh-tuner
54
+ yarn install
55
+ yarn tsc
37
56
  ```
38
57
 
39
58
  ## Configuration
@@ -82,12 +101,13 @@ filters:
82
101
 
83
102
  ## CI
84
103
 
85
- A GitHub Actions workflow (`.github/workflows/CI.yml`) runs on every pull request to `main`. It tests against Node 22 and 24 and runs:
104
+ A GitHub Actions workflow (`.github/workflows/CI.yml`) runs on every pull request:
86
105
 
87
- 1. **Type check** — `yarn build`
88
- 2. **Lint** — `yarn lint` (ESLint with typescript-eslint)
89
- 3. **Format check** — `yarn format:check` (Prettier)
90
- 4. **Tests** — `yarn test` (Vitest)
106
+ 1. **Version check** — verifies `package.json` version was bumped
107
+ 2. **Type check** — `yarn tsc:full`
108
+ 3. **Lint** — `yarn lint` (ESLint with typescript-eslint)
109
+ 4. **Format check** — `yarn format:check` (Prettier)
110
+ 5. **Tests** — `yarn test` (Vitest)
91
111
 
92
112
  ## License
93
113
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gh-tuner",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Delta-based issue triage and PR review summaries for OSS maintainers",
5
5
  "type": "module",
6
6
  "bin": "./bin/gh-tuner.js",