-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
235 lines (235 loc) · 7.75 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
{
"name": "vscode-kaoto",
"publisher": "redhat",
"displayName": "Kaoto",
"description": "Kaoto - The Integration Designer for Apache Camel",
"version": "2.4.0",
"federatedModuleName": "kaoto",
"preview": false,
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/KaotoIO/vscode-kaoto.git"
},
"bugs": "https://github.com/KaotoIO/vscode-kaoto/issues",
"homepage": "https://kaoto.io/",
"author": {
"name": "Aurélien Pupier",
"email": "[email protected]"
},
"scripts": {
"lint": "yarn eslint ./src --ext .ts,.tsx",
"build:prod": "rimraf dist && webpack",
"build:dev": "rimraf dist && webpack --env dev",
"build:test:it": "rimraf ./out && tsc --project tsconfig.it-tests.json --skipLibCheck --sourceMap true",
"build:test:unit": "rimraf ./out && tsc --project tsconfig.unit-tests.json --skipLibCheck --sourceMap true",
"compile": "webpack",
"watch": "webpack --env dev",
"run:webmode": "yarn vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --open-devtools ./resources",
"test:unit": "yarn build:test:unit && vscode-test",
"test:it": "yarn build:test:it && extest setup-and-run --yarn --uninstall_extension --extensions_dir ./test-resources 'out/**/*.test.js' --open_resource './test Fixture with speci@l chars'",
"test:it:with-prebuilt-vsix": "yarn build:test:it && extest get-vscode && extest get-chromedriver && extest install-vsix --vsix_file vscode-kaoto-$npm_package_version.vsix --extensions_dir ./test-resources && extest run-tests --uninstall_extension --extensions_dir ./test-resources 'out/**/*.test.js' --open_resource './test Fixture with speci@l chars'",
"test:it:clean": "rimraf ./test-resources && rimraf ./out && rimraf *.vsix"
},
"dependencies": {
"@kaoto/kaoto": "2.3.0",
"@kie-tools-core/backend": "0.32.0",
"@kie-tools-core/editor": "0.32.0",
"@kie-tools-core/i18n": "0.32.0",
"@kie-tools-core/vscode-extension": "0.32.0",
"@patternfly/patternfly": "5.4.2",
"@patternfly/react-code-editor": "5.4.11",
"@patternfly/react-core": "5.4.8",
"@patternfly/react-icons": "5.4.2",
"@patternfly/react-table": "5.4.9",
"@patternfly/react-topology": "5.4.1",
"@redhat-developer/vscode-redhat-telemetry": "^0.9.1",
"monaco-editor": "^0.50.0",
"monaco-yaml": "5.2.3",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-monaco-editor": "0.56.2"
},
"icon": "icon.png",
"main": "./dist/extension/extension.js",
"browser": "./dist/extension/extensionWeb.js",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"keywords": [
"Kaoto",
"Apache Camel",
"Low Code Integration",
"No Code Integration"
],
"activationEvents": [
"workspaceContains:**/*.kaoto.yaml",
"workspaceContains:**/*.kaoto.yml",
"workspaceContains:**/*.camel.yaml",
"workspaceContains:**/*.camel.yml",
"workspaceContains:**/*.kamelet.yaml",
"workspaceContains:**/*.kamelet.yml",
"workspaceContains:**/*.pipe.yaml",
"workspaceContains:**/*.pipe.yml",
"workspaceContains:**/*-pipe.yaml",
"workspaceContains:**/*-pipe.yml",
"onStartupFinished"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": false
}
},
"contributes": {
"commands": [
{
"command": "kaoto.open",
"title": "Open with Kaoto Graphical Editor for Camel"
},
{
"command": "kaoto.open.textualeditor",
"title": "Open Camel file with textual editor on the side",
"shortTitle": "Show source",
"enablement": "activeCustomEditorId == webviewEditorsKaoto",
"category": "Camel",
"icon": "$(go-to-file)"
}
],
"keybindings": {
"command": "kaoto.open.textualeditor",
"key": "ctrl+k v",
"mac": "cmd+k v",
"when": "activeCustomEditorId == webviewEditorsKaoto"
},
"menus": {
"commandPalette": [
{
"command": "kaoto.open",
"when": "false"
}
],
"editor/title": [
{
"command": "kaoto.open.textualeditor",
"when": "activeCustomEditorId == webviewEditorsKaoto",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "kaoto.open",
"when": "resourceExtname == .yaml || resourceExtname == .yml",
"group": "1_belowOpenWith"
}
]
},
"configuration": {
"properties": {
"redhat.telemetry.enabled": {
"type": "boolean",
"default": null,
"markdownDescription": "Enable usage data and errors to be sent to Red Hat servers. Read our [privacy statement](https://developers.redhat.com/article/tool-data-collection).",
"tags": [
"telemetry"
],
"scope": "window"
},
"kaoto.catalog.url": {
"type": "string",
"default": null,
"markdownDescription": "URL to a Kaoto catalog. For instance `https://raw.githubusercontent.com/KaotoIO/catalogs/main/catalogs/index.json`. Documentation to generate your own set of catalog is available [here](https://github.com/KaotoIO/kaoto/tree/main/packages/catalog-generator). It requires to reopen the kaoto editors to be effective.",
"scope": "window"
},
"kaoto.nodeLabel": {
"type": "string",
"default": "description",
"markdownDescription": "Node label, which will be used for nodes in the canvas. Can be either `description` or `id`. If `description` is selected, it will be displayed only if it is available, otherwise `id` will be displayed by default.",
"enum": [
"description",
"id"
],
"scope": "window"
}
}
},
"customEditors": [
{
"viewType": "webviewEditorsKaoto",
"displayName": "Kaoto Editor",
"selector": [
{
"filenamePattern": "*{.kaoto,.camel,.kamelet,.pipe,-pipe}.{yaml,yml}"
}
]
}
],
"languages": [
{
"id": "kaoto-yaml",
"extensions": [
".kaoto.yml",
".kaoto.yaml"
],
"aliases": [
"Kaoto (YAML)",
"kaoto.yaml",
"kaoto.yml"
]
}
]
},
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.10",
"@types/react": "18.3.1",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"@vscode/test-web": "^0.0.65",
"@vscode/vsce": "^3.2.1",
"async-wait-until": "^2.0.18",
"buffer": "^6.0.3",
"chai": "^4.3.10",
"constants-browserify": "^1.0.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "6.8.1",
"fs-extra": "^11.2.0",
"mocha": "^11.0.1",
"mocha-jenkins-reporter": "^0.4.8",
"node-fetch": "2",
"npm-link-shared": "^0.5.6",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"rimraf": "^6.0.1",
"sass": "^1.83.0",
"sass-loader": "^13.0.2",
"source-map-loader": "4.0.1",
"style-loader": "3.3.3",
"ts-loader": "9.4.4",
"tsconfig-paths-webpack-plugin": "^4.2.0",
"typescript": "^5.7.2",
"vscode-extension-tester": "^8.10.0",
"web-worker": "^1.3.0",
"webpack": "5.97.1",
"webpack-cli": "6.0.1",
"webpack-merge": "6.0.1",
"webpack-permissions-plugin": "^1.0.10"
},
"resolutions": {
"react": "18.3.1",
"react-dom": "18.3.1",
"semver": "7.5.2",
"@patternfly/patternfly": "5.4.0",
"@patternfly/react-code-editor": "5.4.0",
"@patternfly/react-core": "5.4.0",
"@patternfly/react-icons": "5.4.0",
"@patternfly/react-table": "5.4.0",
"@patternfly/react-topology": "5.4.0",
"dset": "^3.1.4",
"cross-spawn": "^7.0.5"
},
"packageManager": "[email protected]"
}