-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
437 lines (437 loc) · 13.6 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
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
{
"name": "legend-engine-ide-client-vscode",
"displayName": "Legend",
"description": "Legend Language Support (parse, compile, execute)",
"categories": [
"Programming Languages",
"Linters",
"Other"
],
"keywords": [],
"icon": "icons/legend_full.png",
"homepage": "https://legend.finos.org/",
"publisher": "FINOS",
"version": "0.20.0",
"type": "commonjs",
"repository": {
"type": "git",
"url": "https://github.com/finos/legend-engine-ide-client-vscode/"
},
"engines": {
"vscode": "^1.90.0"
},
"contributes": {
"viewsContainers": {
"panel": [
{
"id": "resultsViewContainer",
"title": "Results",
"icon": ""
}
],
"activitybar": [
{
"id": "legend-activity-bar-menu",
"title": "Legend",
"icon": "./icons/legend.svg"
}
]
},
"views": {
"legend-activity-bar-menu": [
{
"id": "legendConceptTree",
"name": "Concept Tree"
}
],
"resultsViewContainer": [
{
"id": "executionView",
"name": "Execution"
},
{
"type": "webview",
"id": "resultsView",
"name": "Results"
}
]
},
"viewsWelcome": [
{
"view": "executionView",
"contents": "No executions",
"when": "!showExecutionResults"
},
{
"view": "executionView",
"contents": "Execution in progress...",
"when": "isExecutionHappening"
},
{
"view": "legendConceptTree",
"contents": "[Load](command:legend.conceptTree.refresh) Legend concepts."
}
],
"commands": [
{
"command": "legend.show.diagram",
"title": "View/Edit Diagram",
"icon": "$(graph-line)",
"category": "Legend"
},
{
"command": "legend.editInQueryBuilder",
"title": "Edit/Execute in QueryBuilder",
"icon": "$(search)",
"category": "Legend"
},
{
"command": "legend.refresh.query.builder",
"title": "Refresh Query Builder",
"category": "Legend"
},
{
"command": "legend.log",
"title": "Show Legend Server logs",
"category": "Legend"
},
{
"command": "legend.report",
"title": "View Pure Compatibility Testing (PCT) Report",
"category": "Legend"
},
{
"command": "legend.extension.output",
"title": "Show Extension Output",
"category": "Legend"
},
{
"command": "legend.reload",
"title": "Reload Extension",
"category": "Legend"
},
{
"command": "legend.conceptTree.show",
"title": "Show In Concept Tree",
"category": "Legend"
},
{
"command": "legend.conceptTree.navigate",
"title": "GoTo",
"icon": "$(go-to-file)"
},
{
"command": "legend.conceptTree.focusOnElement",
"title": "Focus Current Concept",
"icon": "$(target)"
},
{
"command": "legend.conceptTree.refresh",
"title": "Refresh",
"icon": "$(refresh)"
},
{
"command": "legend.refactor.oneEntityPerFile",
"title": "One Entity Per File Refactoring",
"icon": "$(type-hierarchy)"
},
{
"command": "legend.createNotebook",
"title": "Create Legend REPL Notebook",
"icon": "$(repl)",
"enablement": "workspaceFolderCount > 0",
"category": "Legend"
}
],
"configuration": {
"type": "object",
"title": "Legend Language Config",
"properties": {
"showExecutionResults": {
"type": "boolean",
"default": false,
"description": "Indicates if we have to show execution results in panel"
},
"isExecutionHappening": {
"type": "boolean",
"default": false,
"description": "Indicates if we have to show execution is happening"
},
"legend.agGridLicense": {
"type": "string",
"default": "",
"description": "Set the AgGrid License to enable enterprise features. Without a licence, only community features are available"
},
"legend.extensions.dependencies.pom": {
"type": "string",
"default": "",
"description": "Defines the POM to use to determine the runtime dependencies of the language server. When not provided, a default POM is used for this purpose"
},
"legend.extensions.other.dependencies": {
"type": "array",
"items": {
"type": "string",
"pattern": "(?<groupId>[^:]+):(?<artifatcId>[^:]+):(?<version>[^:]+)",
"description": "Dependency in GAV foramt"
},
"default": [],
"description": "Other dependencies in GAV format to be added to the classpath after classpath constructed from POM"
},
"legend.engine.server.url": {
"type": "string",
"default": "",
"description": "Set the engine server url to eneable some features that required the remote server"
},
"legend.engine.server.remoteExecution": {
"type": "boolean",
"default": "true",
"description": "Defines if executions should happen locally or remotely. Only used if server url is provided."
},
"legend.sdlc.server.url": {
"type": "string",
"default": "",
"description": "Set the SDLC server url to eneable auto update of platform versions"
},
"legend.language.server.vmargs": {
"type": "array",
"default": [],
"items": {
"type": "string",
"description": "Individual extra VM argument for Legend Language Server"
},
"description": "Specifies extra VM arguments used to launch the Legend Language Server"
},
"legend.language.repl.vmargs": {
"type": "array",
"default": [],
"items": {
"type": "string",
"description": "Individual extra VM argument for Legend Language REPL"
},
"description": "Specifies extra VM arguments used to launch the Legend Language REPL"
},
"legend.studio.forms.file": {
"type": "string",
"default": "",
"description": "Specifies file to be used for legend studio web forms"
},
"legend.planExecutor.configuration": {
"type": "string",
"default": "",
"description": "Defines the path to the plan executor configuration JSON"
},
"legend.protocol.version": {
"type": "string",
"default": "vX_X_X",
"description": "Defines the protocol version to use"
}
}
},
"languages": [
{
"id": "legend",
"extensions": [
".pure"
],
"icon": {
"dark": "./icons/legend.svg",
"light": "./icons/legend.svg"
}
}
],
"grammars": [
{
"language": "legend",
"scopeName": "source.legend",
"path": "./legend.tmlanguage"
}
],
"terminal": {
"profiles": [
{
"id": "legend.terminal.repl",
"title": "Legend REPL"
}
]
},
"menus": {
"view/item/context": [
{
"command": "legend.conceptTree.navigate",
"when": "view == legendConceptTree && viewItem != package",
"group": "inline"
},
{
"command": "legend.show.diagram",
"when": "view == legendConceptTree && viewItem == meta::pure::metamodel::diagram::Diagram",
"group": "inline"
},
{
"command": "legend.editInQueryBuilder",
"when": "view == legendConceptTree && (viewItem == meta::legend::service::metamodel::Service || viewItem == meta::pure::metamodel::function::ConcreteFunctionDefinition)",
"group": "inline"
}
],
"view/title": [
{
"command": "legend.conceptTree.focusOnElement",
"when": "view == legendConceptTree",
"group": "navigation"
},
{
"command": "legend.conceptTree.refresh",
"when": "view == legendConceptTree",
"group": "navigation"
}
],
"editor/context": [
{
"group": "Legend",
"submenu": "legend.editor.context",
"when": "editorTextFocus && editorLangId == legend"
}
],
"legend.editor.context": [
{
"group": "Legend",
"command": "legend.conceptTree.show"
}
]
},
"submenus": [
{
"id": "legend.editor.context",
"label": "Legend"
}
],
"keybindings": [
{
"command": "legend.conceptTree.show",
"key": "ctrl+shift+l",
"mac": "shift+cmd+l"
}
],
"notebooks": [
{
"type": "legend-book",
"displayName": "Legend Notebook",
"selector": [
{
"filenamePattern": "*.purebook"
}
]
}
]
},
"capabilities": {
"codeLensProvider": {
"resolveProvider": true
}
},
"scripts": {
"test": "npm run build && node ./lib/tests/runTest.js",
"compile": "tsc -b",
"dev": "npm-run-all --parallel dev:ts dev:webpack",
"dev:setup": "npm run release:prepare",
"dev:ts": "tsc -b --watch",
"dev:webpack": "webpack --mode development --watch",
"webpack": "webpack --mode development",
"webpack:package": "webpack --mode production --devtool hidden-source-map",
"build": "npm run compile && npm run webpack",
"bundle": "npm run compile && npm run webpack:package",
"check:copyright": "license-check-and-add check -f license-check-and-add-config.json",
"check:format": "prettier --list-different \"(scripts|docs)/**/*.{md,json,mjs,cjs,js,ts,tsx,html,scss,css}\" \"src/**/*.{md,json,mjs,cjs,js,ts,tsx,html,scss,css}\"",
"check:ci": "npm run check:format && npm run check:copyright",
"lint": "npm run lint:js && npm run lint:style",
"lint:ci": "npm run lint:js --max-warnings=0 && npm run lint:style --max-warnings=0",
"lint:js": "cross-env eslint --cache --cache-location ./build/.eslintcache --report-unused-disable-directives --parser-options=project:\"./tsconfig.json\" \"./src/**/*.{js,ts,tsx}\"",
"lint:style": "stylelint --cache --cache-location ./build/.stylelintcache \"style/**/*.{scss,css}\" \"style/scss/**/*.scss\"",
"fix:format": "prettier --write \"(scripts|docs)/**/*.{md,json,mjs,cjs,js,ts,tsx,html,scss,css}\" \"src/**/*.{md,json,mjs,cjs,js,ts,tsx,html,scss,css}\"",
"mvn:downloadServerJar": "node ./scripts/maven/downloadLspServerJar.js",
"mvn:updateEngineVersion": "node ./scripts/maven/updateEngineVersion.js",
"mvn:prepare": "npm run mvn:downloadServerJar && npm run mvn:updateEngineVersion",
"release:prepare": "npm run mvn:prepare && npm run bundle && vsce package -o legend-engine-ide-client-vscode.vsix",
"release:marketPlace": "vsce publish -i legend-engine-ide-client-vscode.vsix",
"release:openvsx": "ovsx publish -i legend-engine-ide-client-vscode.vsix"
},
"dependencies": {
"@ag-grid-community/client-side-row-model": "30.2.0",
"@ag-grid-community/core": "30.2.0",
"@ag-grid-community/csv-export": "30.2.0",
"@ag-grid-community/react": "30.2.0",
"@ag-grid-community/styles": "30.2.0",
"@ag-grid-enterprise/core": "30.2.0",
"@ag-grid-enterprise/menu": "30.2.0",
"@ag-grid-enterprise/row-grouping": "30.2.0",
"@ag-grid-enterprise/server-side-row-model": "30.2.0",
"@finos/legend-vscode-extension-dependencies": "4.0.38",
"@types/vscode": "1.83.0",
"glob": "11.0.0",
"mobx-react-lite": "4.0.7",
"mobx": "6.13.1",
"path": "0.12.7",
"react-dom": "18.3.1",
"react-select": "5.8.0",
"react": "18.3.1",
"serializr": "3.0.3",
"vscode-languageclient": "9.0.1"
},
"devDependencies": {
"@types/mocha": "10.0.1",
"@types/node": "22.7.0",
"@types/react": "18.3.4",
"@types/react-dom": "18.3.0",
"@types/react-select": "5.0.1",
"@types/sinon": "17.0.3",
"@typescript-eslint/eslint-plugin": "8.3.0",
"@typescript-eslint/parser": "8.3.0",
"@vscode/test-cli": "0.0.4",
"@vscode/test-electron": "2.3.9",
"assert": "2.1.0",
"console-browserify": "1.2.0",
"cross-env": "7.0.3",
"crypto-browserify": "3.12.0",
"css-loader": "7.1.2",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-react-hooks": "4.6.2",
"license-check-and-add": "4.0.5",
"maven": "5.0.0",
"npm-run-all": "4.1.5",
"postcss": "8.4.41",
"postcss-scss": "4.0.9",
"prettier": "3.3.3",
"process": "0.11.10",
"sass": "1.77.8",
"sass-loader": "14.0.0",
"sinon": "17.0.1",
"stream-browserify": "3.0.0",
"style-loader": "1.2.1",
"stylelint": "16.8.2",
"stylelint-config-standard": "36.0.1",
"stylelint-scss": "6.5.1",
"ts-jest": "29.1.2",
"ts-loader": "9.5.1",
"typescript": "5.5.4",
"util": "0.12.5",
"vm-browserify": "1.1.2",
"webpack": "5.94.0",
"webpack-cli": "5.1.4",
"yo": "4.3.1"
},
"main": "./dist/extension",
"activationEvents": [
"onLanguage:legend",
"workspaceContains:**/*.pure"
],
"overrides": {
"react": "18.3.1",
"react-dom": "18.3.1"
},
"extensions": {
"applicationVSCodePlugin": "@finos/legend-application-vs-code-plugin-core"
}
}