difit 1.0.1 → 1.0.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 +14 -9
- package/dist/client/apple-touch-icon.png +0 -0
- package/dist/client/favicon-16x16.png +0 -0
- package/dist/client/favicon-32x32.png +0 -0
- package/dist/client/favicon.png +0 -0
- package/dist/client/icon-192x192.png +0 -0
- package/dist/client/icon-512x512.png +0 -0
- package/dist/client/index.html +6 -1
- package/dist/client/logo.png +0 -0
- package/dist/client/reviewit.png +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="public/logo.png" alt="ReviewIt" width="400">
|
|
3
|
+
</div>
|
|
4
|
+
|
|
1
5
|
# ReviewIt 🔍
|
|
2
6
|
|
|
3
7
|
A lightweight command-line tool that spins up a local web server to display Git commit diffs in a GitHub-like Files changed view. Perfect for code review workflows without leaving the terminal! 🚀
|
|
@@ -10,6 +14,7 @@ A lightweight command-line tool that spins up a local web server to display Git
|
|
|
10
14
|
- ⚡ **Zero Config**: Just run `npx reviewit <commit>` and it works
|
|
11
15
|
- 🔐 **Local Only**: Never exposes data over network - runs on localhost only
|
|
12
16
|
- 🛠️ **Modern Stack**: React 18 + TypeScript + Tailwind CSS
|
|
17
|
+
- ✨ **100% vibe coding**: Built with pure coding energy and good vibes
|
|
13
18
|
|
|
14
19
|
## 📦 Installation
|
|
15
20
|
|
|
@@ -17,7 +22,7 @@ A lightweight command-line tool that spins up a local web server to display Git
|
|
|
17
22
|
# Global install
|
|
18
23
|
npm install -g reviewit
|
|
19
24
|
|
|
20
|
-
# Or use npx (no installation needed)
|
|
25
|
+
# Or use npx (no installation needed)
|
|
21
26
|
npx reviewit <commit-ish>
|
|
22
27
|
```
|
|
23
28
|
|
|
@@ -30,7 +35,7 @@ reviewit 6f4a9b7
|
|
|
30
35
|
# Review HEAD~3
|
|
31
36
|
reviewit HEAD~3
|
|
32
37
|
|
|
33
|
-
# Custom port, don't auto-open browser
|
|
38
|
+
# Custom port, don't auto-open browser
|
|
34
39
|
reviewit 6f4a9b7 --port 4300 --no-open
|
|
35
40
|
|
|
36
41
|
# Via npx
|
|
@@ -39,12 +44,12 @@ npx reviewit main~1
|
|
|
39
44
|
|
|
40
45
|
### ⚙️ CLI Options
|
|
41
46
|
|
|
42
|
-
| Flag
|
|
43
|
-
|
|
47
|
+
| Flag | Default | Description |
|
|
48
|
+
| -------------- | ---------- | -------------------------------------------- |
|
|
44
49
|
| `<commit-ish>` | (required) | Any Git reference: hash, tag, HEAD~n, branch |
|
|
45
|
-
| `--port`
|
|
46
|
-
| `--no-open`
|
|
47
|
-
| `--mode`
|
|
50
|
+
| `--port` | auto | Preferred port; falls back if occupied |
|
|
51
|
+
| `--no-open` | false | Don't automatically open browser |
|
|
52
|
+
| `--mode` | inline | Diff mode: `inline` or `side-by-side` |
|
|
48
53
|
|
|
49
54
|
## 🛠️ Development
|
|
50
55
|
|
|
@@ -104,7 +109,7 @@ Comment: This function name should probably be more specific
|
|
|
104
109
|
## 🏗️ Architecture
|
|
105
110
|
|
|
106
111
|
- **CLI**: Commander.js for argument parsing
|
|
107
|
-
- **Backend**: Express server with simple-git for diff processing
|
|
112
|
+
- **Backend**: Express server with simple-git for diff processing
|
|
108
113
|
- **Frontend**: React 18 + TypeScript + Vite
|
|
109
114
|
- **Styling**: Tailwind CSS v4 with GitHub-like dark theme
|
|
110
115
|
- **Testing**: Vitest for unit tests
|
|
@@ -117,4 +122,4 @@ Comment: This function name should probably be more specific
|
|
|
117
122
|
|
|
118
123
|
## 📄 License
|
|
119
124
|
|
|
120
|
-
MIT 📝
|
|
125
|
+
MIT 📝
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/client/index.html
CHANGED
|
@@ -2,7 +2,12 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
|
-
<link rel="icon" type="image/
|
|
5
|
+
<link rel="icon" type="image/png" href="/favicon.png" />
|
|
6
|
+
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
|
7
|
+
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
|
8
|
+
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
|
9
|
+
<link rel="icon" type="image/png" sizes="192x192" href="/icon-192x192.png" />
|
|
10
|
+
<link rel="icon" type="image/png" sizes="512x512" href="/icon-512x512.png" />
|
|
6
11
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
12
|
<title>ReviewIt - Git Diff Viewer</title>
|
|
8
13
|
<script type="module" crossorigin src="/assets/index-CczcbGc9.js"></script>
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED