difit 2.2.1 → 2.2.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/LICENSE +2 -2
- package/README.ja.md +4 -1
- package/README.ko.md +4 -1
- package/README.md +4 -1
- package/README.zh.md +4 -1
- package/dist/client/assets/index-9RijpjCf.js +220 -0
- package/dist/client/assets/index-DpUTViqw.css +1 -0
- package/dist/client/assets/{prism-csharp-R5PE7dGT.js → prism-csharp-BKbuORRj.js} +1 -1
- package/dist/client/assets/{prism-java-BvQgUZlL.js → prism-java-C2ppxXW3.js} +1 -1
- package/dist/client/assets/{prism-php-sGBBrTD-.js → prism-php-JOWoQkNd.js} +1 -1
- package/dist/client/assets/{prism-ruby-CBz5QFG3.js → prism-ruby-C2sQ8Hg4.js} +1 -1
- package/dist/client/assets/{prism-solidity-Ck6Q6Nkr.js → prism-solidity-BRuCGEwy.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/git-diff.d.ts +4 -0
- package/dist/server/git-diff.js +131 -7
- package/dist/server/git-diff.test.js +318 -0
- package/package.json +2 -1
- package/dist/client/assets/index-Bz9yRRZ7.css +0 -1
- package/dist/client/assets/index-KydrgTN-.js +0 -220
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2025 difit
|
|
3
|
+
Copyright (c) 2025 @yoshiko-pg/difit
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
package/README.ja.md
CHANGED
|
@@ -85,6 +85,9 @@ cat changes.patch | npx difit
|
|
|
85
85
|
|
|
86
86
|
# マージベースとの比較
|
|
87
87
|
git diff --merge-base main feature | npx difit
|
|
88
|
+
|
|
89
|
+
# 既存ファイル全体を新規追加として確認
|
|
90
|
+
git diff -- /dev/null path/to/file | npx difit
|
|
88
91
|
```
|
|
89
92
|
|
|
90
93
|
## ⚙️ CLIオプション
|
|
@@ -99,7 +102,7 @@ git diff --merge-base main feature | npx difit
|
|
|
99
102
|
| `--no-open` | false | ブラウザを自動的に開かない |
|
|
100
103
|
| `--mode` | side-by-side | 表示モード。inline`または`side-by-side` |
|
|
101
104
|
| `--tui` | false | WebUIの代わりにターミナルUIを使用 |
|
|
102
|
-
| `--clean` | false |
|
|
105
|
+
| `--clean` | false | 起動時に既存コメントと閲覧済みファイルをすべてクリア |
|
|
103
106
|
|
|
104
107
|
## 💬 コメントシステム
|
|
105
108
|
|
package/README.ko.md
CHANGED
|
@@ -85,6 +85,9 @@ cat changes.patch | npx difit
|
|
|
85
85
|
|
|
86
86
|
# 머지 베이스와 비교
|
|
87
87
|
git diff --merge-base main feature | npx difit
|
|
88
|
+
|
|
89
|
+
# 기존 파일 전체를 신규 추가처럼 검토
|
|
90
|
+
git diff -- /dev/null path/to/file | npx difit
|
|
88
91
|
```
|
|
89
92
|
|
|
90
93
|
## ⚙️ CLI 옵션
|
|
@@ -99,7 +102,7 @@ git diff --merge-base main feature | npx difit
|
|
|
99
102
|
| `--no-open` | false | 브라우저를 자동으로 열지 않음 |
|
|
100
103
|
| `--mode` | side-by-side | 표시 모드: `inline` 또는 `side-by-side` |
|
|
101
104
|
| `--tui` | false | WebUI 대신 터미널 UI 모드 사용 |
|
|
102
|
-
| `--clean` | false | 시작 시 모든 기존
|
|
105
|
+
| `--clean` | false | 시작 시 모든 기존 코멘트와 열람된 파일 표시 초기화 |
|
|
103
106
|
|
|
104
107
|
## 💬 코멘트 시스템
|
|
105
108
|
|
package/README.md
CHANGED
|
@@ -85,6 +85,9 @@ cat changes.patch | npx difit
|
|
|
85
85
|
|
|
86
86
|
# Compare against merge base
|
|
87
87
|
git diff --merge-base main feature | npx difit
|
|
88
|
+
|
|
89
|
+
# Review an entire existing file as newly added
|
|
90
|
+
git diff -- /dev/null path/to/file | npx difit
|
|
88
91
|
```
|
|
89
92
|
|
|
90
93
|
## ⚙️ CLI Options
|
|
@@ -99,7 +102,7 @@ git diff --merge-base main feature | npx difit
|
|
|
99
102
|
| `--no-open` | false | Don't automatically open browser |
|
|
100
103
|
| `--mode` | side-by-side | Display mode: `inline` or `side-by-side` |
|
|
101
104
|
| `--tui` | false | Use terminal UI mode instead of WebUI |
|
|
102
|
-
| `--clean` | false | Clear all existing comments on startup
|
|
105
|
+
| `--clean` | false | Clear all existing comments and viewed files on startup |
|
|
103
106
|
|
|
104
107
|
## 💬 Comment System
|
|
105
108
|
|
package/README.zh.md
CHANGED
|
@@ -85,6 +85,9 @@ cat changes.patch | npx difit
|
|
|
85
85
|
|
|
86
86
|
# 与合并基础比较
|
|
87
87
|
git diff --merge-base main feature | npx difit
|
|
88
|
+
|
|
89
|
+
# 将整个现有文件视为新添加进行审查
|
|
90
|
+
git diff -- /dev/null path/to/file | npx difit
|
|
88
91
|
```
|
|
89
92
|
|
|
90
93
|
## ⚙️ CLI 选项
|
|
@@ -99,7 +102,7 @@ git diff --merge-base main feature | npx difit
|
|
|
99
102
|
| `--no-open` | false | 不自动打开浏览器 |
|
|
100
103
|
| `--mode` | side-by-side | 显示模式:`inline` 或 `side-by-side` |
|
|
101
104
|
| `--tui` | false | 使用终端 UI 模式而不是 WebUI |
|
|
102
|
-
| `--clean` | false |
|
|
105
|
+
| `--clean` | false | 启动时清除所有现有评论和已查看的文件 |
|
|
103
106
|
|
|
104
107
|
## 💬 评论系统
|
|
105
108
|
|