-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
289 lines (289 loc) · 7.07 KB
/
package.json
File metadata and controls
289 lines (289 loc) · 7.07 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
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
{
"name": "abacus-structurizr-dsl-extension",
"displayName": "Abacus Structurizr DSL Extension",
"description": "Extends DSL support to the auto creation of Structurizr files as well as syntax highlighting and code completion using content in an Abacus Enterprise Architecture Repository. Can generate image files from locally installed Structurizr Lite server.",
"publisher": "Elsevier",
"author": {
"name": "Gerry Rohling",
"email": "g.rohling@elsevier.com"
},
"version": "0.6.2",
"icon": "resources/logo.png",
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Programming Languages"
],
"keywords": [
"Structurizr",
"Abacus",
"C4",
"C4 Model",
"C4 PlantUML"
],
"activationEvents": [
"onLanguage:structurizr",
"onAuthenticationRequest:abacus",
"onView:abacusComponents"
],
"repository": {
"type": "git",
"url": "https://github.com/elsevierlabs-os/structurizr-dsl-abacus-extension"
},
"main": "./client/out/extension.js",
"contributes": {
"customEditors": [
{
"viewType": "drawio.editorUI",
"displayName": "Draw.IO Editor",
"selector": [
{
"filenamePattern": "*.drawio"
}
],
"priority": "default"
}
],
"commands": [
{
"command": "abacus.createDSL",
"title": "Create Structurizr DSL",
"icon": {
"light": "resources/light/dsl.svg",
"dark": "resources/dark/dsl.svg"
}
},
{
"command": "abacus.createDrawIO",
"title": "Create C4 DrawIO Diagrams",
"icon": {
"light": "resources/light/drawio.svg",
"dark": "resources/dark/drawio.svg"
}
},
{
"command": "abacus.createPlantUML",
"title": "Create PlantUML Diagram",
"icon": {
"light": "resources/light/plantuml.svg",
"dark": "resources/dark/plantuml.svg"
}
},
{
"command": "abacus.createC4PlantUML",
"title": "Create C4 PlantUML Diagram",
"icon": {
"light": "resources/light/plantuml.svg",
"dark": "resources/dark/plantuml.svg"
}
},
{
"command": "abacus.login",
"title": "Login with Abacus Credentials"
},
{
"command": "structurizr.publish",
"title": "Publish DSL to Structurizr Lite",
"icon": {
"light": "resources/light/export.svg",
"dark": "resources/dark/export.svg"
}
},
{
"command": "structurizr.diagrams",
"title": "Create Structurizr Images",
"icon": {
"light": "resources/light/file-media.svg",
"dark": "resources/dark/file-media.svg"
}
},
{
"command": "drawio.diagrams",
"title": "Generate C4 Diagrams in Draw.io",
"icon": {
"light": "resources/light/drawio.svg",
"dark": "resources/dark/drawio.svg"
}
}
],
"menus": {
"view/item/context": [
{
"command": "abacus.createDSL",
"when": "view == abacusComponents && viewItem == c4SoftwareSystem"
},
{
"command": "abacus.createDrawIO",
"when": "view == abacusComponents && viewItem == c4SoftwareSystem"
},
{
"command": "abacus.createPlantUML",
"when": "view == abacusComponents && viewItem == c4SoftwareSystem"
},
{
"command": "abacus.createC4PlantUML",
"when": "view == abacusComponents && viewItem == c4SoftwareSystem"
}
],
"editor/title": [
{
"when": "editorLangId == structurizr",
"command": "drawio.diagrams",
"group": "navigation@1"
},
{
"when": "editorLangId == structurizr",
"command": "structurizr.publish",
"group": "navigation@2"
},
{
"when": "editorLangId == structurizr",
"command": "structurizr.diagrams",
"group": "navigation@3"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "abacus-explorer",
"title": "Abacus Explorer",
"icon": "resources/abacus_icon.png"
}
]
},
"views": {
"abacus-explorer": [
{
"id": "abacusComponents",
"name": "Components",
"icon": "resources/abacus_icon.png"
}
]
},
"languages": [
{
"id": "structurizr",
"aliases": [
"Structurizr",
"structurizr"
],
"extensions": [
"dsl"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "structurizr",
"scopeName": "source.structurizr",
"path": "./syntaxes/structurizr.tmLanguage.json"
}
],
"configuration": {
"title": "Structurizr DSL Abacus",
"properties": {
"abacus.host": {
"type": "string",
"default": "company.avolutionsoftware.com",
"description": "Abacus Server Hostname",
"order": 1
},
"abacus.port": {
"type": "number",
"default": 443,
"description": "Abacus Server default port",
"order": 2
},
"abacus.secure": {
"type": "boolean",
"default": true,
"description": "Verify SSL/TLS connection (recommended)",
"order": 3
},
"abacus.api": {
"type": "string",
"default": "/api",
"description": "Base URI for the Abacus REST API end point",
"order": 4
},
"abacus.eeid": {
"type": "number",
"default": 1001,
"description": "EEID of the architecture to be queried for applications",
"order": 5
},
"abacus.c4Person": {
"type": "string",
"default": "Person",
"description": "Component Type that represents C4 Person in Abacus",
"order": 6
},
"abacus.c4SoftwareSystem": {
"type": "string",
"default": "Software System",
"description": "Component Type that represents C4 Software Systems in Abacus",
"order": 7
},
"abacus.c4Container": {
"type": "string",
"default": "Container",
"description": "Component Type that represents C4 Containers in Abacus",
"order": 8
},
"abacus.c4Component": {
"type": "string",
"default": "Component",
"description": "Component Type that represents C4 Components in Abacus",
"order": 9
},
"structurizrLite.workspaceLocation": {
"type": "string",
"default": "",
"description": "Local folder location for workspace",
"order": 10
},
"structurizrLite.server": {
"type": "string",
"default": "",
"description": "Installed location of Structurizr Lite server (eg. http://localhost:8080)",
"order": 11
},
"structurizrLanguageServer.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server.",
"order": 12
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "sh ./scripts/e2e.sh"
},
"devDependencies": {
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@types/vscode": "^1.63.0",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"@vscode/test-electron": "^1.6.2",
"esbuild": "^0.14.9",
"eslint": "^8.1.0",
"glob": "^7.1.7",
"mocha": "^9.1.3",
"typescript": "^4.4.4"
},
"dependencies": {
"replace-ext": "^2.0.0"
}
}