forked from KAESapps/vscode-versionlens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
391 lines (391 loc) · 13.4 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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
{
"name": "vscode-versionlens-evergreen",
"private": false,
"description": "Shows the latest version for each package using code lens",
"repository": {
"type": "git",
"url": "https://github.com/zerdos/vscode-versionlens-evergreen.git"
},
"authors": ["Peter Flannery", "Zoltan Erdos"],
"license": "MIT",
"version": "25.0.1",
"publisher": "zerdos",
"displayName": "Version Lens Evergreen",
"icon": "images/logo.png",
"engines": {
"vscode": "^1.44.2"
},
"keywords": [
"versions",
"packages",
"dependencies",
"references",
"npm, dub, dotnet, nuget, jspm, csharp, fsharp, c#, f#, java, maven, pub, dart, composer"
],
"categories": [
"Programming Languages",
"Other"
],
"activationEvents": [
"onLanguage:json",
"onLanguage:xml",
"onLanguage:yaml"
],
"main": "./out/extension-bundle.js",
"scripts": {
"teardown": "npm run -s clean && rimraf ./node_modules",
"vscode:prepublish": "npm run -s compile",
"watch": "node ./node_modules/vscode/bin/compile -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"clean": "rimraf ./out",
"precompile": "yarn clean && yarn eslint ./src",
"precompile:test": "npm run -s precompile",
"compile": "tsc -p ./src/bundle.json",
"compile:test": "tsc -p ./test/bundle.test.json",
"pretest": "npm run -s compile:test",
"test": "node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@devcontainer/focal-devcontainer": "^5.4.0",
"@types/mocha": "^7.0.2",
"@types/node": "^13.13.4",
"eslint": "^6.8.0",
"mocha-ui-esm": "1.0.0-alpha.4",
"mock-require": "3.0.3",
"rimraf": "3.0.2",
"typescript": "3.8.3",
"vscode": "1.1.37"
},
"dependencies": {
"minimatch": "3.0.4",
"npm": "6.14.4",
"npm-package-arg": "8.0.1",
"opener": "1.5.1",
"request-light": "0.3.0",
"semver": "7.1.3",
"systemjs": "~0.21.6",
"vscode-contrib-jsonc": "1.0.0-beta.2",
"vscode-languageclient": "6.1.3",
"xmldoc": "1.1.2",
"yaml": "1.8.3"
},
"contributes": {
"commands": [
{
"command": "versionlens.showDependencyStatuses",
"title": "Show dependency statuses",
"category": "VersionLens",
"icon": {
"dark": "images/icons/dep-status-dark.svg",
"light": "images/icons/dep-status-light.svg"
}
},
{
"command": "versionlens.hideDependencyStatuses",
"title": "Hide dependency statuses",
"category": "VersionLens",
"icon": {
"dark": "images/icons/dep-status-active.svg",
"light": "images/icons/dep-status-active.svg"
}
},
{
"command": "versionlens.showTaggedVersions",
"title": "Show tagged dependency versions",
"category": "VersionLens",
"icon": {
"dark": "images/icons/tag-dark.svg",
"light": "images/icons/tag-light.svg"
}
},
{
"command": "versionlens.hideTaggedVersions",
"title": "Hide tagged dependency versions",
"category": "VersionLens",
"icon": {
"dark": "images/icons/tag-active.svg",
"light": "images/icons/tag-active.svg"
}
},
{
"command": "versionlens.showVersionLenses",
"title": "Show dependency versions",
"category": "VersionLens",
"icon": {
"dark": "images/icons/toggle-dark.svg",
"light": "images/icons/toggle-light.svg"
}
},
{
"command": "versionlens.hideVersionLenses",
"title": "Hide dependency versions",
"category": "VersionLens",
"icon": {
"dark": "images/icons/toggle-active.svg",
"light": "images/icons/toggle-active.svg"
}
},
{
"command": "versionlens.showingProgress",
"title": "Analyzing dependencies...",
"category": "VersionLens",
"icon": {
"dark": "images/icons/toggle-active-progress.svg",
"light": "images/icons/toggle-active-progress.svg"
}
}
],
"menus": {
"commandPalette": [
{
"command": "versionlens.showingProgress",
"when": "false"
},
{
"command": "versionlens.showDependencyStatuses",
"when": "versionlens.show && versionlens.isActive"
},
{
"command": "versionlens.hideDependencyStatuses",
"when": "versionlens.show && versionlens.isActive"
},
{
"command": "versionlens.showTaggedVersions",
"when": "versionlens.show && versionlens.isActive"
},
{
"command": "versionlens.hideTaggedVersions",
"when": "versionlens.show && versionlens.isActive"
},
{
"command": "versionlens.showVersionLenses",
"when": "versionlens.show && versionlens.isActive"
},
{
"command": "versionlens.hideVersionLenses",
"when": "versionlens.show && versionlens.isActive"
}
],
"editor/title": [
{
"command": "versionlens.showDependencyStatuses",
"when": "versionlens.showDependencyStatuses == false && versionlens.show && versionlens.isActive && textCompareEditorVisible == false",
"group": "navigation@3"
},
{
"command": "versionlens.hideDependencyStatuses",
"when": "versionlens.showDependencyStatuses && versionlens.show && versionlens.isActive && textCompareEditorVisible == false",
"group": "navigation@3"
},
{
"command": "versionlens.showTaggedVersions",
"when": "versionlens.showTaggedVersions == false && versionlens.show && versionlens.isActive && textCompareEditorVisible == false",
"group": "navigation@2"
},
{
"command": "versionlens.hideTaggedVersions",
"when": "versionlens.showTaggedVersions && versionlens.show && versionlens.isActive && textCompareEditorVisible == false",
"group": "navigation@2"
},
{
"command": "versionlens.showVersionLenses",
"when": "versionlens.show == false && versionlens.isActive && versionlens.inProgress == false && textCompareEditorVisible == false",
"group": "navigation@1"
},
{
"command": "versionlens.hideVersionLenses",
"when": "versionlens.show && versionlens.isActive && versionlens.inProgress == false && textCompareEditorVisible == false",
"group": "navigation@1"
},
{
"command": "versionlens.showingProgress",
"when": "versionlens.show && versionlens.isActive && versionlens.inProgress && textCompareEditorVisible == false",
"group": "navigation@1"
}
]
},
"configuration": {
"title": "Versionlens configuration",
"properties": {
"versionlens.versionPrefix": {
"type": "string",
"default": "",
"description": "Inserts this prefix before the version when clicking on the code lens link."
},
"versionlens.showVersionLensesAtStartup": {
"type": "boolean",
"default": true,
"description": "Show dependency versions by default. You can use the editor toolbar to show/hide versions at any time."
},
"versionlens.showTaggedVersionsAtStartup": {
"type": "boolean",
"default": false,
"description": "Show dist tags by default when vscode starts. You can use the editor toolbar to show/hide dist tags at any time."
},
"versionlens.showDependencyStatusesAtStartup": {
"type": "boolean",
"default": false,
"description": "Show dependency statuses default when vscode starts. You can use the editor toolbar to show/hide dependency statuses at any time."
},
"versionlens.npm.dependencyProperties": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true,
"minItems": 1,
"default": [
"dependencies",
"devDependencies",
"peerDependencies",
"optionalDependencies"
],
"description": "Defines which properties in package.json should be parsed by this extension"
},
"versionlens.npm.distTagFilter": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true,
"minItems": 0,
"default": [],
"description": "Define which common dist tags you want to see. i.e. [alpha, beta]. If you don't specify any dist tags then all the dist-tags for a package will be shown."
},
"versionlens.pub.dependencyProperties": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true,
"minItems": 1,
"default": [
"dependencies",
"dev_dependencies"
],
"description": "Defines which properties in pubspec.yaml should be parsed by this extension"
},
"versionlens.dotnet.dependencyProperties": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true,
"minItems": 1,
"default": [
"PackageReference",
"DotNetCliToolReference"
],
"description": "Defines which properties in project.json should be parsed by this extension"
},
"versionlens.dotnet.tagFilter": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true,
"minItems": 0,
"default": [],
"description": "Define which common tagged versions you want to see. i.e. [alpha, beta]. If you don't specify any dist tags then all the dist-tags for a package will be shown."
},
"versionlens.dotnet.nugetFeeds": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"https://api-v2v3search-0.nuget.org/autocomplete"
],
"description": "Defines which NuGet feeds to use for package search. Has to be 'SearchAutocompleteService' endpoint, which can be found by navigating to feed index (e.g. https://api.nuget.org/v3/index.json) and looking for Url with that type."
},
"versionlens.dotnet.includePrerelease": {
"type": "boolean",
"default": true,
"description": "Include NuGet pre-release packages"
},
"versionlens.dub.dependencyProperties": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true,
"minItems": 1,
"default": [
"dependencies",
"versions"
],
"description": "Defines which properties in dub.json should be parsed by this extension"
},
"versionlens.composer.dependencyProperties": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true,
"minItems": 1,
"default": [
"require",
"require-dev"
],
"description": "Defines which properties in composer.json should be parsed by this extension"
},
"versionlens.github.taggedCommits": {
"type": "array",
"items": {
"type": "string",
"enum": [
"Release",
"Tag"
]
},
"uniqueItems": true,
"minItems": 1,
"maxItems": 2,
"default": [
"Release",
"Tag"
],
"description": "Defines what tags to include when comparing github package versions."
},
"versionlens.github.accessToken": {
"type": "string",
"default": "",
"description": "Used for making basic read only github api requests. To generate a token see https://help.github.com/articles/creating-an-access-token-for-command-line-use/#creating-a-token. When no token is provided then access to the github api is rate limited to 60 requests every 10 minutes or so."
},
"versionlens.maven.dependencyProperties": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true,
"minItems": 1,
"default": [
"dependency",
"parent"
],
"description": "Defines which properties in pom.xml should be parsed by this extension"
},
"versionlens.missingDependencyColour": {
"type": "string",
"default": "red",
"description": "The colour used to show missing dependencies. Accept's valid CSS colours"
},
"versionlens.installedDependencyColour": {
"type": "string",
"default": "green",
"description": "The colour used to show installed dependencies. Accept's valid CSS colours"
},
"versionlens.outdatedDependencyColour": {
"type": "string",
"default": "orange",
"description": "The colour used to show outdated dependencies. Accept's valid CSS colours"
},
"versionlens.prereleaseDependencyColour": {
"type": "string",
"default": "yellowgreen",
"description": "The colour used to show prerelease dependencies. Accept's valid CSS colours"
}
}
}
}
}