forked from wso2/vscode-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
225 lines (225 loc) · 6.6 KB
/
package.json
File metadata and controls
225 lines (225 loc) · 6.6 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
{
"name": "arazzo-visualizer",
"displayName": "Arazzo Visualizer",
"description": "An extension which gives a development environment for visualizing Arazzo Specification.",
"version": "0.1.0",
"publisher": "wso2",
"repository": {
"type": "git",
"url": "https://github.com/wso2/vscode-extensions.git",
"directory": "workspaces/arazzo/arazzo-designer-extension"
},
"engines": {
"vscode": "^1.100.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:yaml",
"onLanguage:json",
"onLanguage:arazzo-yaml",
"onLanguage:arazzo-json"
],
"icon": "./assets/logo.png",
"main": "./dist/extension.js",
"contributes": {
"languages": [
{
"id": "arazzo-yaml",
"aliases": [
"Arazzo",
"arazzo"
],
"extensions": [
".arazzo.yaml",
".arazzo.yml",
"-arazzo.yaml",
"-arazzo.yml"
],
"configuration": "./language-configuration.json",
"filenames": []
},
{
"id": "arazzo-json",
"aliases": [
"Arazzo JSON"
],
"extensions": [
".arazzo.json",
"-arazzo.json"
],
"filenames": []
}
],
"grammars": [
{
"language": "arazzo-yaml",
"scopeName": "source.arazzo",
"path": "./syntaxes/arazzo.tmLanguage.json"
},
{
"language": "arazzo-json",
"scopeName": "source.json",
"path": "./syntaxes/arazzo.tmLanguage.json"
}
],
"commands": [
{
"command": "ArazzoDesigner.openAPIDesigner",
"title": "Open Arazzo Visualizer",
"category": "ArazzoDesigner",
"when": "isFileOpenAPI || isFileArazzo",
"icon": "$(open-preview)"
},
{
"command": "ArazzoDesigner.createOpenAPIFile",
"title": "Create OpenAPI/Arazzo File",
"category": "ArazzoDesigner"
},
{
"command": "ArazzoDesigner.showCode",
"title": "Show Code",
"category": "ArazzoDesigner",
"when": "isViewOpenAPI || isViewArazzo",
"icon": "$(code)"
},
{
"command": "ArazzoDesigner.createArazzoFile",
"title": "Create Arazzo Workflow File",
"category": "ArazzoDesigner"
},
{
"command": "arazzo.visualize",
"title": "Visualize Arazzo Workflow",
"category": "Arazzo"
},
{
"command": "arazzo.openDesigner",
"title": "Open Arazzo Visualizer",
"category": "Arazzo"
},
{
"command": "arazzo.startMCPServer",
"title": "Start Arazzo Server",
"category": "Arazzo",
"icon": "$(play)"
},
{
"command": "arazzo.runWorkflow",
"title": "Run Arazzo Workflow",
"category": "Arazzo"
}
],
"menus": {
"editor/title": [
{
"when": "isFileOpenAPI || isFileArazzo",
"command": "ArazzoDesigner.openAPIDesigner",
"alt": "ArazzoDesigner.openAPIDesigner",
"group": "navigation"
},
{
"command": "ArazzoDesigner.showCode",
"group": "navigation",
"when": "isViewOpenAPI || isViewArazzo"
},
{
"when": "isFileArazzo",
"command": "arazzo.startMCPServer",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "ArazzoDesigner.createOpenAPIFile",
"group": "ArazzoDesigner@1"
},
{
"command": "ArazzoDesigner.createArazzoFile",
"group": "ArazzoDesigner@2"
}
]
},
"icons": {
"distro-design-view": {
"description": "design-view",
"default": {
"fontPath": "./resources/font-wso2-vscode/dist/wso2-vscode.woff",
"fontCharacter": "\\f133"
}
}
},
"iconThemes": [
{
"id": "arazzo-icon-theme",
"label": "Arazzo File Icons",
"path": "./icons/arazzo-icon-theme.json"
}
]
},
"scripts": {
"clean": "rimraf ./dist",
"compile": "tsc -p .",
"watch": "tsc -p . -w",
"build-cli": "node ./scripts/build-cli.js",
"prepare-binaries": "pnpm run build-cli && pnpm run build-lsp && pnpm run ensure-cli-executable",
"ensure-cli-executable": "node ./scripts/ensure-cli-executable.js",
"package": "pnpm run prepare-binaries && node ../../common-libs/scripts/package-vsix.js",
"build-lsp": "cd ../arazzo-designer-lsp && bash build.sh",
"build": "pnpm clean && pnpm run copyFonts && webpack --mode production --devtool hidden-source-map && pnpm run package && pnpm run postbuild",
"compile-tests": "pnpm run compile",
"watch-tests": "pnpm run watch",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"lint": "eslint src --ext ts",
"test": "pnpm run pretest && node ./out/test/runTest.js",
"e2e-test-setup": "npx extest get-vscode -c 1.81.1 && npx extest get-chromedriver -c 1.81.1 && npx extest install-vsix -f $(ls vsix/*.vsix)",
"e2e-test": "pnpm run compile-tests && pnpm exec playwright test",
"copyFonts": "copyfiles -f ./node_modules/@wso2/font-wso2-vscode/dist/* ./resources/font-wso2-vscode/dist/",
"copyVSIX": "copyfiles *.vsix ./vsix",
"copyVSIXToRoot": "copyfiles -f ./vsix/* ../../..",
"postbuild": "pnpm run copyVSIX"
},
"devDependencies": {
"@types/vscode": "1.81.0",
"@types/node": "16.x",
"@typescript-eslint/eslint-plugin": "6.4.1",
"@typescript-eslint/parser": "6.4.1",
"eslint": "8.47.0",
"typescript": "5.8.3",
"ts-loader": "9.4.4",
"webpack": "5.104.1",
"webpack-cli": "5.1.4",
"@vscode/test-electron": "2.3.4",
"rimraf": "5.0.5",
"@types/js-yaml": "4.0.9"
},
"dependencies": {
"copyfiles": "2.4.1",
"@vscode/vsce": "3.7.0",
"vscode-languageclient": "9.0.1",
"vscode-messenger": "0.4.5",
"vscode-messenger-common": "0.4.5",
"@wso2/arazzo-designer-core": "workspace:*",
"@wso2/arazzo-designer-rpc-client": "workspace:*",
"@wso2/arazzo-designer-visualizer": "workspace:*",
"@wso2/font-wso2-vscode": "workspace:*",
"@types/xml2js": "0.4.12",
"jsonix": "3.0.0",
"lodash": "4.17.23",
"axios": "1.15.0",
"@types/lodash": "4.14.199",
"xstate": "4.38.3",
"node-fetch": "2.6.7",
"node-loader": "2.0.0",
"to-json-schema": "0.2.5",
"@babel/core": "7.24.4",
"@types/json-schema": "7.0.15",
"json-schema": "0.4.0",
"portfinder": "1.0.32",
"cors-anywhere": "0.4.4",
"@apidevtools/json-schema-ref-parser": "11.6.1",
"adm-zip": "0.5.14",
"js-yaml": "4.1.1"
}
}