forked from lxliang912/diff-visualizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
179 lines (179 loc) · 5.55 KB
/
Copy pathpackage.json
File metadata and controls
179 lines (179 loc) · 5.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "diff-next",
"displayName": "vscode-diff Next",
"description": "Compare Git branches or two workspace repos in VS Code: dual targets, file tree, commit history (same-repo), built-in diffs.",
"version": "0.10.0",
"publisher": "RicardoFrantz",
"license": "MIT",
"icon": "icon.png",
"galleryBanner": {
"color": "#1e2227",
"theme": "dark"
},
"repository": {
"type": "git",
"url": "https://github.com/ricardofrantz/vscode-diff-next.git"
},
"bugs": {
"url": "https://github.com/ricardofrantz/vscode-diff-next/issues"
},
"homepage": "https://github.com/ricardofrantz/vscode-diff-next",
"engines": {
"vscode": "^1.95.0",
"node": ">=22"
},
"capabilities": {
"untrustedWorkspaces": {
"supported": false,
"description": "Runs git against the opened workspace repositories."
}
},
"categories": [
"SCM Providers",
"Other"
],
"keywords": [
"diff",
"git",
"branch",
"compare",
"cross-repo",
"multi-root",
"source-control",
"commit-history",
"vscode-diff",
"diff-next"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "diff-next.compare",
"title": "vscode-diff Next: Compare Branches",
"icon": "$(git-compare)"
},
{
"command": "diff-next.commentSelection",
"title": "vscode-diff Next: Add comment",
"icon": "$(comment)"
},
{
"command": "diff-next.saveComment",
"title": "Save",
"icon": "$(save)",
"enablement": "diffNext.noteDraft"
},
{
"command": "diff-next.deleteComment",
"title": "Delete",
"icon": "$(trash)"
},
{
"command": "diff-next.pickCommentTag",
"title": "Tag"
}
],
"menus": {
"editor/context": [
{
"command": "diff-next.commentSelection",
"when": "editorHasSelection || isInDiffEditor",
"group": "diff-next@1"
}
],
"commandPalette": [
{
"command": "diff-next.commentSelection"
},
{
"command": "diff-next.saveComment",
"when": "false"
},
{
"command": "diff-next.deleteComment",
"when": "false"
},
{
"command": "diff-next.pickCommentTag",
"when": "false"
}
]
},
"keybindings": [
{
"command": "diff-next.commentSelection",
"key": "ctrl+alt+m",
"mac": "cmd+alt+m",
"when": "editorTextFocus || isInDiffEditor"
},
{
"command": "diff-next.saveComment",
"key": "enter",
"when": "diffNext.noteDraft && editorTextFocus"
},
{
"command": "diff-next.deleteComment",
"key": "escape",
"when": "diffNext.noteDraft && editorTextFocus"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "diff-next",
"title": "vscode-diff Next",
"icon": "$(git-compare)"
}
]
},
"views": {
"diff-next": [
{
"type": "webview",
"id": "diff-next.panel",
"name": "vscode-diff Next"
}
]
},
"configuration": {
"title": "vscode-diff Next",
"properties": {
"diff-next.diffAgainstWorktree": {
"type": "boolean",
"default": true,
"description": "When Target 2 is the checked-out branch of its repository, diff against the file on disk so changes are editable and the per-change revert arrow (→) appears in the gutter. Turn off to always diff committed content read-only."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src",
"package": "vsce package",
"smoke:paths": "node scripts/smoke-paths.js",
"smoke:status": "node scripts/smoke-status.js",
"smoke:picker": "node scripts/smoke-picker.js",
"smoke:diff-view": "node scripts/smoke-diff-view.js",
"smoke:review-comment": "node scripts/smoke-review-comment.js",
"smoke": "npm run smoke:paths && npm run smoke:status && npm run smoke:picker && npm run smoke:diff-view && npm run smoke:review-comment",
"update": "node -e \"const {spawnSync}=require('child_process');const w=process.platform==='win32';const r=spawnSync(w?'powershell': 'bash',[...(w?['-NoProfile','-ExecutionPolicy','Bypass','-File','./update-extension.ps1']:['./update-extension.sh'])],{stdio:'inherit'});process.exit(r.status??1)\"",
"update:norestart": "node -e \"const {spawnSync}=require('child_process');const w=process.platform==='win32';const r=spawnSync(w?'powershell':'bash',[...(w?['-NoProfile','-ExecutionPolicy','Bypass','-File','./update-extension.ps1','-NoRestart']:['./update-extension.sh','--no-restart'])],{stdio:'inherit'});process.exit(r.status??1)\"",
"update:dev": "node -e \"const {spawnSync}=require('child_process');const w=process.platform==='win32';const r=spawnSync(w?'powershell':'bash',[...(w?['-NoProfile','-ExecutionPolicy','Bypass','-File','./update-extension.ps1','-DevHost']:['./update-extension.sh','--dev-host'])],{stdio:'inherit'});process.exit(r.status??1)\""
},
"devDependencies": {
"@eslint/js": "^9.x",
"@types/node": "^20.x",
"@types/vscode": "^1.95.0",
"@typescript-eslint/eslint-plugin": "^8.x",
"@typescript-eslint/parser": "^8.x",
"@vscode/vsce": "^3.9.2",
"eslint": "^9.x",
"globals": "^15.x",
"typescript": "^5.x"
},
"dependencies": {
"simple-git": "^3.22.0"
}
}