-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
391 lines (391 loc) · 10.9 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": "xpack",
"displayName": "xPack C/C++ Managed Build Tools",
"description": "Manage and build C/C++ projects with CMake, meson, etc using the xPack tools.",
"version": "0.5.2",
"publisher": "ilg-vscode",
"license": "MIT",
"categories": [
"Programming Languages",
"Other"
],
"keywords": [
"cmake",
"meson",
"xpack",
"build",
"c++",
"managed",
"xpm",
"actions"
],
"repository": {
"type": "git",
"url": "https://github.com/xpack/vscode-xpack-extension-ts.git"
},
"author": {
"name": "Liviu Ionescu",
"email": "[email protected]",
"url": "https://github.com/ilg-ul/"
},
"bugs": {
"url": "https://github.com/xpack/vscode-xpack-extension-ts/issues/"
},
"homepage": "https://github.com/xpack/vscode-xpack-extension-ts/blob/master/README.md",
"markdown": "github",
"icon": "assets/images/icon.png",
"galleryBanner": {
"theme": "light"
},
"qna": "https://xpack.github.io/vscode/support/",
"extensionDependencies": [
"ms-vscode.cpptools"
],
"engines": {
"vscode": "^1.86.0"
},
"scripts": {
"webpack-dev-watch": "webpack --mode development --watch",
"fix": "ts-standard --fix src",
"compile": "tsc -p ./",
"compile-watch": "tsc -watch -p ./",
"webpack": "webpack --mode development",
"npm-install ": "npm install",
"npm-outdated": "npm outdated",
"npm-update": "npm update",
"npm-version-patch": "npm version patch",
"npm-version-minor": "npm version minor",
"postversion": "git push origin --all && git push origin --tags",
"package": "vsce ls && vsce package --githubBranch master",
"git-log": "git log --pretty='%cd * %h %s' --date=short",
"lint": "ts-standard src",
"prepare": "npm run compile && npm run lint",
"pretest": "npm run compile && npm run lint",
"test": "echo 'Tests not yet implemented'",
"vscode:prepublish": "npm run fix && npm run compile && webpack --mode production",
"publish": "vsce publish --githubBranch master",
"deep-clean": "rm -rf node_modules out dist package-lock.json",
"npm-version": "echo $(which node) $(node --version) && echo $(which npm) $(npm --version)"
},
"dependencies": {
"@xpack/logger": "^5.0.4",
"@xpack/xpm-liquid": "^1.2.3",
"comment-json": "^4.2.3",
"make-dir": "^4.0.0",
"minimatch": "^9.0.3",
"vscode-cpptools": "^6.1.0"
},
"devDependencies": {
"@types/node": "^18.19.17",
"@types/vscode": "1.86.0",
"@vscode/test-electron": "^2.3.9",
"@vscode/vsce": "^2.23.0",
"ts-loader": "^9.5.1",
"ts-standard": "^12.0.2",
"typescript": "^5.3.3",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4"
},
"main": "./dist/extension.js",
"activationEvents": [
"onLanguage:json",
"workspaceContains:**/package.json"
],
"contributes": {
"commands": [
{
"command": "xpack.createProjectEmpty",
"title": "%command.createProjectEmpty%",
"category": "xPack"
},
{
"command": "xpack.createProjectHelloQuick",
"title": "%command.createProjectHelloQuick%",
"category": "xPack"
},
{
"command": "xpack.createProjectHello",
"title": "%command.createProjectHello%",
"category": "xPack"
},
{
"command": "xpack.createProjectHelloQemu",
"title": "%command.createProjectHelloQemu%",
"category": "xPack"
},
{
"command": "xpack.treeViewRefresh",
"title": "%command.treeViewRefresh%",
"icon": "$(refresh)",
"category": "xPack"
},
{
"command": "xpack.runCommand",
"title": "%command.runCommand%",
"icon": "$(run)"
},
{
"command": "xpack.runAction",
"title": "%command.runAction%",
"icon": "$(run)"
},
{
"command": "xpack.copyAction",
"title": "%command.copyAction%",
"icon": "$(run)"
},
{
"command": "xpack.addConfiguration",
"title": "%command.addConfiguration%",
"icon": "$(empty-window)"
},
{
"command": "xpack.duplicateConfiguration",
"title": "%command.duplicateConfiguration%",
"icon": "$(multiple-windows)"
},
{
"command": "xpack.removeConfiguration",
"title": "%command.removeConfiguration%",
"icon": "$(trash)"
},
{
"command": "xpack.addAction",
"title": "%command.addAction%",
"icon": "$(add)"
},
{
"command": "xpack.removeAction",
"title": "%command.removeAction%",
"icon": "$(trash)"
}
],
"menus": {
"commandPalette": [
{
"command": "xpack.treeViewRefresh",
"when": "true"
},
{
"command": "xpack.createProjectEmpty",
"when": "true"
},
{
"command": "xpack.createProjectHelloQuick",
"when": "true"
},
{
"command": "xpack.createProjectHello",
"when": "true"
},
{
"command": "xpack.createProjectHelloQemu",
"when": "true"
}
],
"view/title": [
{
"command": "xpack.treeViewRefresh",
"when": "view == xPackActions",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "xpack.runCommand",
"when": "view == xPackActions && viewItem == command",
"group": "inline"
},
{
"command": "xpack.runCommand",
"when": "view == xPackActions && viewItem == command",
"group": "navigation"
},
{
"command": "xpack.runAction",
"when": "view == xPackActions && viewItem == action",
"group": "inline"
},
{
"command": "xpack.runAction",
"when": "view == xPackActions && viewItem == action",
"group": "navigation"
},
{
"command": "xpack.copyAction",
"when": "view == xPackActions && viewItem == action",
"group": "navigation"
},
{
"command": "xpack.addConfiguration",
"when": "view == xPackActions && viewItem == package",
"group": "inline"
},
{
"command": "xpack.addConfiguration",
"when": "view == xPackActions && viewItem == package",
"group": "navigation"
},
{
"command": "xpack.removeConfiguration",
"when": "view == xPackActions && viewItem == configuration",
"group": "inline"
},
{
"command": "xpack.removeConfiguration",
"when": "view == xPackActions && viewItem == configuration",
"group": "navigation"
},
{
"command": "xpack.addAction",
"when": "view == xPackActions && viewItem == package",
"group": "inline"
},
{
"command": "xpack.addAction",
"when": "view == xPackActions && viewItem == package",
"group": "navigation"
},
{
"command": "xpack.addAction",
"when": "view == xPackActions && viewItem == configuration",
"group": "inline"
},
{
"command": "xpack.addAction",
"when": "view == xPackActions && viewItem == configuration",
"group": "navigation"
},
{
"command": "xpack.duplicateConfiguration",
"when": "view == xPackActions && viewItem == configuration",
"group": "inline"
},
{
"command": "xpack.duplicateConfiguration",
"when": "view == xPackActions && viewItem == configuration",
"group": "navigation"
},
{
"command": "xpack.removeAction",
"when": "view == xPackActions && viewItem == action",
"group": "navigation@9"
}
]
},
"configuration": {
"id": "xpack",
"type": "object",
"title": "xPack C/C++ Build Tools",
"properties": {
"xpack.maxSearchDepthLevel": {
"type": "number",
"default": 3,
"description": "%configuration.maxSearchDepthLevel%",
"scope": "resource"
},
"xpack.exclude": {
"type": [
"string",
"array"
],
"items": {
"type": "string"
},
"description": "%configuration.exclude%",
"scope": "resource"
},
"xpack.autoUpdateNpmExclude": {
"type": "boolean",
"default": true,
"markdownDescription": "%configuration.autoUpdateNpmExclude%",
"scope": "window"
},
"xpack.loggingLevel": {
"type": "string",
"default": "info",
"description": "%configuration.loggingLevel%",
"enum": [
"trace",
"debug",
"info",
"warning",
"error"
],
"scope": "window"
}
}
},
"configuration.none": {
"id": "xpack",
"type": "object",
"title": "xPack",
"properties": {
"xpack.runInTerminal": {
"type": "boolean",
"default": true,
"description": "Run xpm commands in a terminal, otherwise shows the output in the output panel"
},
"xpack.includeDirectories": {
"type": "array",
"scope": "resource",
"default": [],
"description": "Look for 'package.json' files in these directories"
},
"xpack.useRootDirectory": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Look for 'package.json' in the root directory of the workspace"
},
"xpack.xpm.bin": {
"scope": "machine",
"type": "string",
"default": "xpm",
"description": "xpm bin name"
},
"xpack.validate.enable": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Validate installed modules"
}
}
},
"views": {
"explorer": [
{
"id": "xPackActions",
"name": "%view.name%",
"when": "xpack:showScriptExplorer",
"icon": "$(json)"
}
]
},
"taskDefinitions": [
{
"type": "xPack",
"required": [],
"properties": {
"xpmCommand": {
"type": "string",
"description": "%taskdef.xpmCommand%"
},
"actionName": {
"type": "string",
"description": "%taskdef.actionName%"
},
"buildConfigurationName": {
"type": "string",
"description": "%taskdef.buildConfigurationName%"
},
"packageFolderRelativePath": {
"type": "string",
"description": "%taskdef.packageFolderRelativePath%"
}
},
"when": "shellExecutionSupported"
}
]
}
}