pr-prism 1.1.0 → 1.1.2
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 +25 -13
- package/package.json +1 -1
- package/pr-reviews/.scraped-ids.json +34 -0
package/README.md
CHANGED
|
@@ -36,16 +36,19 @@ pr-prism solves this with two focused commands: scrape only what's new since the
|
|
|
36
36
|
## Installation
|
|
37
37
|
|
|
38
38
|
**One-time use (no install):**
|
|
39
|
+
|
|
39
40
|
```bash
|
|
40
41
|
npx pr-prism pr-review -- 42
|
|
41
42
|
```
|
|
42
43
|
|
|
43
44
|
**Global install:**
|
|
45
|
+
|
|
44
46
|
```bash
|
|
45
47
|
npm install -g pr-prism
|
|
46
48
|
```
|
|
47
49
|
|
|
48
50
|
**Local to your project:**
|
|
51
|
+
|
|
49
52
|
```bash
|
|
50
53
|
npm install --save-dev pr-prism
|
|
51
54
|
```
|
|
@@ -76,8 +79,9 @@ pr-resolve 42 --unresolve # re-open resolved threads
|
|
|
76
79
|
```
|
|
77
80
|
|
|
78
81
|
**`--auto` detection signals:**
|
|
82
|
+
|
|
79
83
|
- `isOutdated` — GitHub detected the commented lines were changed
|
|
80
|
-
- Suggestion applied —
|
|
84
|
+
- Suggestion applied — ` ```suggestion ` block content found in current file at HEAD
|
|
81
85
|
|
|
82
86
|
Skips threads with no signal. Posts a summary comment on the PR.
|
|
83
87
|
|
|
@@ -103,11 +107,11 @@ Skips threads with no signal. Posts a summary comment on the PR.
|
|
|
103
107
|
|
|
104
108
|
## Output Files
|
|
105
109
|
|
|
106
|
-
| File
|
|
107
|
-
|
|
110
|
+
| File | Description |
|
|
111
|
+
| ------------------------------- | -------------------------------------- |
|
|
108
112
|
| `pr-reviews/new-<timestamp>.md` | New actionable comments since last run |
|
|
109
|
-
| `pr-reviews/.scraped-ids.json`
|
|
110
|
-
| `pr-reviews/.threads-<pr>.json` | Thread IDs for `pr-resolve`
|
|
113
|
+
| `pr-reviews/.scraped-ids.json` | Persistent ID cache — **commit this** |
|
|
114
|
+
| `pr-reviews/.threads-<pr>.json` | Thread IDs for `pr-resolve` |
|
|
111
115
|
|
|
112
116
|
---
|
|
113
117
|
|
|
@@ -127,17 +131,25 @@ Copy `.pr-prism.example.json` to `.pr-prism.json` in your repo root:
|
|
|
127
131
|
|
|
128
132
|
## What Gets Filtered
|
|
129
133
|
|
|
130
|
-
| Signal
|
|
131
|
-
|
|
132
|
-
| Already-seen comment ID
|
|
133
|
-
| Resolved thread
|
|
134
|
-
| Bot author (`[bot]`, `KNOWN_BOTS`) | Skipped + cached
|
|
135
|
-
| Outdated thread
|
|
136
|
-
| Social sharing links
|
|
137
|
-
|
|
|
134
|
+
| Signal | Behaviour |
|
|
135
|
+
| ---------------------------------- | -------------------------------- |
|
|
136
|
+
| Already-seen comment ID | Silently skipped |
|
|
137
|
+
| Resolved thread | Skipped + cached |
|
|
138
|
+
| Bot author (`[bot]`, `KNOWN_BOTS`) | Skipped + cached |
|
|
139
|
+
| Outdated thread | Shown with `⚠️ OUTDATED` warning |
|
|
140
|
+
| Social sharing links | Stripped from body |
|
|
141
|
+
| ` ```suggestion ` blocks | Rendered as `diff` |
|
|
138
142
|
|
|
139
143
|
---
|
|
140
144
|
|
|
145
|
+
## Contributors
|
|
146
|
+
|
|
147
|
+
Thanks to all the amazing contributors who have helped make this project better! 🎉
|
|
148
|
+
|
|
149
|
+
<a href="https://github.com/YosefHayim/pr-prism/graphs/contributors">
|
|
150
|
+
<img src="https://contrib.rocks/image?repo=YosefHayim/pr-prism" alt="Contributors" />
|
|
151
|
+
</a>
|
|
152
|
+
|
|
141
153
|
## Contributing
|
|
142
154
|
|
|
143
155
|
PRs and issues welcome. Fork the repo, create a feature branch, and open a pull request.
|
package/package.json
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"seen": [
|
|
3
|
+
"2935808176",
|
|
4
|
+
"2935808179",
|
|
5
|
+
"2935808181",
|
|
6
|
+
"2935809606",
|
|
7
|
+
"2935809607",
|
|
8
|
+
"2935809608",
|
|
9
|
+
"2935809611",
|
|
10
|
+
"2935809613",
|
|
11
|
+
"2935809614",
|
|
12
|
+
"2935809616",
|
|
13
|
+
"2935809617",
|
|
14
|
+
"2935809618",
|
|
15
|
+
"2935809619",
|
|
16
|
+
"3949268181",
|
|
17
|
+
"3949269173",
|
|
18
|
+
"3949269468",
|
|
19
|
+
"4061351529",
|
|
20
|
+
"4061351538",
|
|
21
|
+
"4061353679",
|
|
22
|
+
"4061354173",
|
|
23
|
+
"4061355699",
|
|
24
|
+
"4061358635",
|
|
25
|
+
"4061395804",
|
|
26
|
+
"2935832258",
|
|
27
|
+
"2935832261",
|
|
28
|
+
"2935832263",
|
|
29
|
+
"2935844461",
|
|
30
|
+
"3949286651",
|
|
31
|
+
"3949295534",
|
|
32
|
+
"4061450189"
|
|
33
|
+
]
|
|
34
|
+
}
|