gh-load-pull-request 0.4.2 → 0.5.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/README.md +6 -18
- package/package.json +2 -2
- package/src/gh-load-pull-request.mjs +1 -2
- package/src/version.mjs +1 -2
package/README.md
CHANGED
|
@@ -36,12 +36,8 @@ gh-load-pull-request owner/private-repo#456
|
|
|
36
36
|
Install globally for system-wide access:
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
|
-
# Using bun
|
|
40
39
|
bun install -g gh-load-pull-request
|
|
41
40
|
|
|
42
|
-
# Using npm
|
|
43
|
-
npm install -g gh-load-pull-request
|
|
44
|
-
|
|
45
41
|
# After installation, use anywhere:
|
|
46
42
|
gh-load-pull-request --help
|
|
47
43
|
```
|
|
@@ -51,11 +47,7 @@ gh-load-pull-request --help
|
|
|
51
47
|
Remove the global installation:
|
|
52
48
|
|
|
53
49
|
```bash
|
|
54
|
-
# Using bun
|
|
55
50
|
bun uninstall -g gh-load-pull-request
|
|
56
|
-
|
|
57
|
-
# Using npm
|
|
58
|
-
npm uninstall -g gh-load-pull-request
|
|
59
51
|
```
|
|
60
52
|
|
|
61
53
|
### Local Installation
|
|
@@ -66,7 +58,7 @@ git clone https://github.com/link-foundation/gh-load-pull-request.git
|
|
|
66
58
|
cd gh-load-pull-request
|
|
67
59
|
|
|
68
60
|
# Install dependencies
|
|
69
|
-
|
|
61
|
+
bun install
|
|
70
62
|
|
|
71
63
|
# Make the script executable
|
|
72
64
|
chmod +x gh-load-pull-request.mjs
|
|
@@ -174,7 +166,7 @@ gh-load-pull-request owner/repo#123 | claude-analyze
|
|
|
174
166
|
|
|
175
167
|
## Requirements
|
|
176
168
|
|
|
177
|
-
- [Bun](https://bun.sh/) (>=1.2.0)
|
|
169
|
+
- [Bun](https://bun.sh/) (>=1.2.0) runtime
|
|
178
170
|
- For private repositories (optional):
|
|
179
171
|
- [GitHub CLI](https://cli.github.com/) (recommended) OR
|
|
180
172
|
- GitHub personal access token (via `--token` or `GITHUB_TOKEN` env var)
|
|
@@ -191,11 +183,7 @@ gh-load-pull-request owner/repo#123 | claude-analyze
|
|
|
191
183
|
|
|
192
184
|
```bash
|
|
193
185
|
# Run all tests
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
# Or run test files directly
|
|
197
|
-
node tests/all.test.mjs
|
|
198
|
-
node tests/cli.test.mjs
|
|
186
|
+
bun test
|
|
199
187
|
```
|
|
200
188
|
|
|
201
189
|
## Development
|
|
@@ -206,7 +194,7 @@ git clone https://github.com/link-foundation/gh-load-pull-request.git
|
|
|
206
194
|
cd gh-load-pull-request
|
|
207
195
|
|
|
208
196
|
# Install dependencies
|
|
209
|
-
|
|
197
|
+
bun install
|
|
210
198
|
|
|
211
199
|
# Make executable
|
|
212
200
|
chmod +x gh-load-pull-request.mjs
|
|
@@ -215,10 +203,10 @@ chmod +x gh-load-pull-request.mjs
|
|
|
215
203
|
./gh-load-pull-request.mjs owner/repo#123
|
|
216
204
|
|
|
217
205
|
# Run tests
|
|
218
|
-
|
|
206
|
+
bun test
|
|
219
207
|
|
|
220
208
|
# Run linting
|
|
221
|
-
|
|
209
|
+
bun run lint
|
|
222
210
|
|
|
223
211
|
# Bump version
|
|
224
212
|
./version.mjs patch # or minor, major
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gh-load-pull-request",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Download GitHub pull request and convert it to markdown",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/gh-load-pull-request.mjs",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"homepage": "https://github.com/link-foundation/gh-load-pull-request#readme",
|
|
46
46
|
"engines": {
|
|
47
|
-
"
|
|
47
|
+
"bun": ">=1.2.0"
|
|
48
48
|
},
|
|
49
49
|
"files": [
|
|
50
50
|
"src/",
|
package/src/version.mjs
CHANGED