-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
285 lines (285 loc) · 8.45 KB
/
package.json
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
{
"name": "folder-comparison",
"displayName": "Folder Comparison",
"description": "Compare two folders using Git",
"version": "0.12.0",
"engines": {
"vscode": "^1.82.0"
},
"categories": [
"Other"
],
"galleryBanner": {
"color": "#232323",
"theme": "dark"
},
"homepage": "https://github.com/KAHLYM/folder-comparison/blob/main/README.md",
"icon": "resources/icons/icon.png",
"keywords": [
"compare",
"diff",
"folder",
"git"
],
"license": "SEE LICENSE IN LICENSE",
"pricing": "Free",
"publisher": "KAHLYM",
"qna": false,
"repository": {
"type": "git",
"url": "https://github.com/KAHLYM/folder-comparison.git"
},
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Folder Comparison",
"properties": {
"folderComparison.git.commandArguments": {
"type": "array",
"default": [
"--name-status",
"--no-index"
],
"markdownDescription": "Specifies arguments to pass to the `git diff` command"
},
"folderComparison.view.refreshInterval": {
"type": "number",
"default": 5,
"minimum": 5,
"maximum": 3600,
"markdownDescription": "Specifies the interval in seconds to refresh the git comparison"
},
"folderComparison.debug.logLevel": {
"type": "string",
"default": "Info",
"enum": [
"Trace",
"Debug",
"Info",
"Warning",
"Error",
"Fatal"
],
"markdownDescription": "Specifies log level to output"
},
"folderComparison.view.showUnchanged": {
"type": "boolean",
"default": "false",
"markdownDescription": "Specifies whether to show unchanged files"
},
"folderComparison.extractCompressed": {
"type": "boolean",
"default": "false",
"markdownDescription": "Specifies whether to extract compressed files"
}
}
},
"colors": [
{
"id": "folderComparison.color.added",
"description": "Color for added resources",
"defaults": {
"light": "#587c0c",
"dark": "#81b88b",
"highContrast": "#a1e3ad",
"highContrastLight": "#374e06"
}
},
{
"id": "folderComparison.color.modified",
"description": "Color for modified resources",
"defaults": {
"light": "#895503",
"dark": "#E2C08D",
"highContrast": "#E2C08D",
"highContrastLight": "#895503"
}
},
{
"id": "folderComparison.color.deleted",
"description": "Color for deleted resources",
"defaults": {
"light": "#ad0707",
"dark": "#c74e39",
"highContrast": "#c74e39",
"highContrastLight": "#ad0707"
}
},
{
"id": "folderComparison.color.renamed",
"description": "Color for renamed or copied resources",
"defaults": {
"light": "#007100",
"dark": "#73C991",
"highContrast": "#73C991",
"highContrastLight": "#007100"
}
},
{
"id": "folderComparison.color.unchanged",
"description": "Color for unchanged resources",
"defaults": {
"light": "#3B3B3B",
"dark": "#CCCCCC",
"highContrast": "#FFFFFF",
"highContrastLight": "#000000"
}
},
{
"id": "folderComparison.color.ignored",
"description": "Color for ignored resources",
"defaults": {
"light": "#8E8E90",
"dark": "#8C8C8C",
"highContrast": "#A7A8A9",
"highContrastLight": "#8e8e90"
}
}
],
"commands": [
{
"command": "folderComparison.openSettings",
"title": "Open Settings",
"category": "Folder Comparison"
},
{
"command": "folderComparison.selectForCompare",
"title": "Select for Folder Compare",
"category": "Folder Comparison"
},
{
"command": "folderComparison.compareWithSelected",
"title": "Compare with Selected Folder",
"category": "Folder Comparison"
},
{
"command": "folderComparison.clear",
"title": "Clear",
"category": "Folder Comparison",
"icon": "$(clear-all)"
},
{
"command": "folderComparison.refresh",
"title": "Refresh",
"category": "Folder Comparison",
"icon": "$(refresh)"
}
],
"menus": {
"commandPalette": [
{
"command": "folderComparison.selectForCompare",
"when": "false"
},
{
"command": "folderComparison.compareWithSelected",
"when": "false"
}
],
"explorer/context": [
{
"command": "folderComparison.selectForCompare",
"group": "4_compare@4",
"when": "(explorerResourceIsFolder || (resourceExtname == .zip && config.folderComparison.extractCompressed))"
},
{
"command": "folderComparison.compareWithSelected",
"group": "4_compare@3",
"when": "(explorerResourceIsFolder || (resourceExtname == .zip && config.folderComparison.extractCompressed)) && folderComparison.showCompareWithSelected"
}
],
"view/title": [
{
"command": "folderComparison.clear",
"when": "view == folderComparison && folderComparison.showViewTitles",
"group": "navigation"
},
{
"command": "folderComparison.refresh",
"when": "view == folderComparison && folderComparison.showViewTitles",
"group": "navigation"
}
]
},
"views": {
"explorer": [
{
"id": "folderComparison",
"name": "Folder Comparison",
"contextualTitle": "Folder Comparison"
}
]
},
"viewsWelcome": [
{
"view": "folderComparison",
"contents": "In order to use the folder comparison feature, make use of the commands from the context menu of folders within the explorer i.e. right-click on folders."
}
],
"walkthroughs": [
{
"id": "folderComparison",
"title": "Get Started with Folder Comparison",
"description": "An introduction",
"steps": [
{
"id": "runSelectForCompare",
"title": "Make a Folder Comparison",
"description": "1. From the file explorer view, right click on a folder and click 'Select for Compare'\n2. From the file explorer view, right click on a folder and click 'Compare with Selected Folder'\n3. View the comparison from the explorer view named 'FOLDER COMPARISON'",
"media": {
"image": "resources/walkthrough/CompareWithSelected.svg",
"altText": "Compare with Selected"
},
"completionEvents": [
"onCommand:folderComparison.compareWithSelected"
]
},
{
"id": "runOpenSettings",
"title": "Open Settings",
"description": "Browse available settings.\n[Open Settings](command:folderComparison.openSettings)",
"media": {
"image": "resources/walkthrough/Settings.svg",
"altText": "Open Settings"
},
"completionEvents": [
"onCommand:folderComparison.openSettings"
]
}
]
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js --standard",
"coverage": "npm run pretest && node ./out/test/runTest.js --coverage"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.82.0",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@vscode/test-electron": "^2.3.8",
"eslint": "^8.47.0",
"glob": "^10.3.3",
"jsdom": "^23.2.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"typescript": "^5.1.6"
},
"dependencies": {
"@vscode/extension-telemetry": "^0.9.0",
"c8": "^9.1.0",
"mkdirp": "^3.0.1",
"ts-node": "^10.9.2",
"yauzl": "^2.10.0"
}
}