-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
325 lines (325 loc) · 9.49 KB
/
package.json
File metadata and controls
325 lines (325 loc) · 9.49 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
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
{
"name": "c4-varp",
"displayName": "C4 Architecture As A Code",
"description": "Extension for working with Architecture As A Code in the C4 model. Includes syntax highlighting, diagram preview, and tools for working with IaaC.",
"publisher": "vimpelcom",
"repository": {
"type": "git",
"url": "https://github.com/tech-beeline/varp"
},
"license": "Apache-2.0",
"icon": "images/logo.png",
"version": "1.0.14",
"engines": {
"vscode": "^1.73.0"
},
"categories": [
"Programming Languages"
],
"keywords": [
"c4",
"c4 model",
"architecture",
"dsl",
"structurizr",
"cloud",
"beeline"
],
"contributes": {
"snippets": [
{
"language": "c4",
"path": "./c4.json"
},
{
"language": "markdown",
"path": "./md.json"
},
{
"language": "yaml",
"path": "./yaml.json"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "c4-architecture-as-a-code",
"title": "C4 Architecture As A Code",
"icon": "images/logo.svg"
}
]
},
"views": {
"c4-architecture-as-a-code": [
{
"id": "architectureAsACodeView",
"name": "Architecture As A Code",
"when": "extension:c4",
"icon": "$(book)"
},
{
"id": "architectureCatalogueView",
"name": "Architecture Catalogue",
"when": "extension:c4",
"icon": "$(book)"
},
{
"id": "bcCatalogueView",
"name": "Capabilities Catalogue",
"when": "extension:c4",
"icon": "$(book)"
}
]
},
"commands": [
{
"command": "c4.architectureCatalogue.showDescription",
"title": "Show pattern description"
},
{
"command": "c4.architectureCatalogue.add",
"title": "Add pattern to workspace",
"shortTitle": "Add",
"icon": "$(add)"
},
{
"command": "c4.capabilitiesCatalogue.copy",
"title": "Copy capability code to clipdoard",
"shortTitle": "Copy capability code",
"icon": "$(copy)"
},
{
"command": "c4.architectureCatalogue.refresh",
"title": "Refresh architecture catalogue",
"shortTitle": "Refresh",
"icon": "$(refresh)"
},
{
"command": "c4.diagram.export.svg",
"title": "Export to .svg"
},
{
"command": "c4.diagram.export.mx",
"title": "Export to .drawio"
},
{
"command": "c4.diagram.import.layout.mx",
"title": "Import layout from .drawio"
},
{
"command": "c4.workspace.save.json",
"title": "Save workspace to json file"
}
],
"menus": {
"view/title": [
{
"command": "c4.architectureCatalogue.refresh",
"when": "view == architectureCatalogueView",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "c4.capabilitiesCatalogue.copy",
"when": "view == bcCatalogueView",
"group": "inline"
},
{
"command": "c4.architectureCatalogue.add",
"when": "view == architectureCatalogueView && viewItem == leaf",
"group": "inline"
}
],
"editor/title/context": [
{
"when": "activeWebviewPanelId == structurizrPreview",
"command": "c4.diagram.export.svg",
"group": "navigation"
},
{
"when": "activeWebviewPanelId == structurizrPreview",
"command": "c4.diagram.export.mx",
"group": "navigation"
},
{
"when": "activeWebviewPanelId == structurizrPreview",
"command": "c4.diagram.import.layout.mx",
"group": "navigation"
}
]
},
"languages": [
{
"id": "c4",
"aliases": [
"c4"
],
"extensions": [
".dsl"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "c4",
"scopeName": "source.c4",
"path": "./syntaxes/c4.tmLanguage.json"
}
],
"configuration": {
"title": "",
"properties": {
"c4.diagram.render": {
"type": "string",
"enum": [
"embedded",
"https://structurizr.com"
],
"default": "embedded",
"scope": "application",
"description": "Diagram preview render service"
},
"c4.decorations.enabled": {
"type": "string",
"enum": [
"off",
"onChange",
"onSave"
],
"default": "onChange",
"scope": "application",
"description": "Determines when text decoration takes place"
},
"c4.languageserver.java.path": {
"type": "string",
"default": "",
"scope": "application",
"description": "Java Path (JDK or JRE) for executing c4 language server. If set, this setting is prefered over OS path setting"
},
"c4.languageserver.logs.enabled": {
"type": "boolean",
"default": false,
"scope": "application",
"description": "If enabled server logs are written into workspace folder."
},
"c4.editor.autoformat.indent": {
"type": "integer",
"default": 4,
"scope": "application",
"description": "The number of spaces per indentation, when calling format document"
},
"c4.beeline.api.secret": {
"type": "string",
"default": "",
"scope": "application",
"description": "Workspace API Secret"
},
"c4.beeline.api.key": {
"type": "string",
"default": "",
"scope": "application",
"description": "Workspace API Key"
},
"c4.beeline.api.url": {
"type": "string",
"default": "",
"scope": "application",
"description": "ArchOPS automation server URL"
},
"c4.beeline.cloud.token": {
"type": "string",
"default": "",
"scope": "application",
"description": "Security token for cloud connect"
},
"c4.beeline.cloud.url": {
"type": "string",
"default": "https://cloud.beeline.ru",
"scope": "application",
"description": "Public cloud for IaaC integration"
},
"c4.beeline.glossaries": {
"type": "string",
"default": "Product,Service,Customer",
"scope": "application",
"description": "Data dictionary names for data flow markup on architecture"
},
"c4.beeline.telemetry.enabled": {
"type": "boolean",
"default": true,
"scope": "application",
"description": "Enable telemetry collection when interacting with the ArchOPS server"
},
"c4.beeline.cert.verification.enabled": {
"type": "boolean",
"default": false,
"scope": "application",
"description": "Enable SSL-certificate verification when interacting with the ArchOPS server"
}
}
}
},
"colors": [
{
"id": "c4.textdecoration.foreground",
"description": "Specifies the foreground color for the annotations",
"defaults": {
"dark": "#adbec5",
"light": "#797a79",
"highContrast": "#adbec5"
}
},
{
"id": "c4.textdecoration.background",
"description": "Specifies the background color for the annotations",
"defaults": {
"dark": "#1e2c31",
"light": "#f4f5f4",
"highContrast": "#1e2c31"
}
}
],
"activationEvents": [
"onLanguage:c4"
],
"main": "./dist/extension",
"devDependencies": {
"@hpcc-js/wasm-graphviz": "^1.10.0",
"@secretlint/secretlint-formatter-sarif": "^10.1.1",
"@secretlint/secretlint-rule-no-dotenv": "^10.1.1",
"@secretlint/secretlint-rule-preset-recommend": "^10.1.1",
"@types/node": "^20.8.4",
"@types/vscode": "^1.73.0",
"@vscode/vsce": "^3.2.1",
"esbuild": "^0.25.9",
"rimraf": "^5.0.0",
"typed-rest-client": "^2.1.0",
"typescript": "^5.7.2",
"vscode-languageclient": "^9.0.1",
"vscode-languageserver": "^9.0.1"
},
"scripts": {
"check-types": "tsc --noEmit",
"prepare": "yarn run clean && yarn run build",
"clean": "rimraf lib pack",
"build": "npm run check-types && node esbuild.js --production",
"build-server": "cd ../c4-server && mvnw package -f ./pom.xml -Djps.track.ap.dependencies=false -DassembleDirectory=../extension/server -DoutputDirectory=../extension/",
"clean-server": "cd ../c4-server && mvnw clean -f ./pom.xml",
"build-all": "yarn build-server && yarn build",
"clean-all": "rimraf server && yarn clean-server && yarn clean",
"watch": "tsc -w",
"package": "yarn clean-all && yarn build-all && vsce package",
"package-client-only": "yarn clean && yarn build && vsce package",
"publish": "vsce publish",
"build-server-github": "cd ../c4-server && mvn package -f ./pom.xml -Djps.track.ap.dependencies=false -DassembleDirectory=../extension/server -DoutputDirectory=../extension/",
"build-github": "npm run check-types && node esbuild.js --production",
"package-github": "yarn build-server-github && yarn build-github && vsce package"
},
"vsce": {
"dependencies": false,
"yarn": true
},
"packageManager": "yarn@4.9.4"
}