-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
343 lines (343 loc) · 10.9 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
{
"name": "docker-compose",
"displayName": "Docker Compose",
"description": "Manage Docker Compose services",
"icon": "images/icon.png",
"version": "0.5.1",
"publisher": "p1c2u",
"license": "MIT",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"keywords": [
"docker",
"compose",
"container",
"image"
],
"bugs": {
"url": "https://github.com/p1c2u/vscode-docker-compose/issues",
"email": "[email protected]"
},
"homepage": "https://github.com/p1c2u/vscode-docker-compose",
"repository": {
"type": "git",
"url": "https://github.com/p1c2u/vscode-docker-compose.git"
},
"activationEvents": [
"workspaceContains:**/docker-compose.yml",
"workspaceContains:**/docker-compose.yaml",
"onDebugInitialConfigurations"
],
"main": "./out/extension",
"contributes": {
"views": {
"dockerComposeView": [
{
"id": "dockerComposeProjects",
"name": "Projects",
"when": "config.docker-compose.showExplorer == true"
},
{
"id": "dockerComposeServices",
"name": "Services",
"when": "config.docker-compose.showExplorer == true"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "dockerComposeView",
"title": "Docker Compose",
"icon": "images/compose.svg"
}
]
},
"commands": [
{
"command": "docker-compose.explorer.refresh",
"title": "Refresh explorer",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
},
"description": "Refresh Docker Compose explorer",
"category": "Docker Compose"
},
{
"command": "docker-compose.project.select",
"title": "Select",
"description": "Docker Compose project select",
"category": "Docker Compose"
},
{
"command": "docker-compose.project.start",
"title": "Start",
"description": "Docker Compose project start",
"category": "Docker Compose"
},
{
"command": "docker-compose.project.stop",
"title": "Stop",
"description": "Docker Compose project stop",
"category": "Docker Compose"
},
{
"command": "docker-compose.project.up",
"title": "Create and Start",
"description": "Docker Compose project up",
"category": "Docker Compose"
},
{
"command": "docker-compose.project.down",
"title": "Stop and Remove",
"description": "Docker Compose project down",
"category": "Docker Compose"
},
{
"command": "docker-compose.service.shell",
"title": "Open shell",
"description": "Docker Compose service shell",
"category": "Docker Compose"
},
{
"command": "docker-compose.service.up",
"title": "Create and Start",
"description": "Docker Compose service up",
"category": "Docker Compose"
},
{
"command": "docker-compose.service.down",
"title": "Stop and Remove",
"description": "Docker Compose service down",
"category": "Docker Compose"
},
{
"command": "docker-compose.service.start",
"title": "Start",
"description": "Docker Compose service start",
"category": "Docker Compose"
},
{
"command": "docker-compose.service.stop",
"title": "Stop",
"description": "Docker Compose service stop",
"category": "Docker Compose"
},
{
"command": "docker-compose.service.restart",
"title": "Restart",
"description": "Docker Compose service restart",
"category": "Docker Compose"
},
{
"command": "docker-compose.service.build",
"title": "Build",
"description": "Docker Compose service build",
"category": "Docker Compose"
},
{
"command": "docker-compose.service.kill",
"title": "Kill",
"description": "Docker Compose service kill",
"category": "Docker Compose"
},
{
"command": "docker-compose.container.attach",
"title": "Attach",
"description": "Docker Compose container attach",
"category": "Docker Compose"
},
{
"command": "docker-compose.container.logs",
"title": "Open logs",
"description": "Docker Compose container logs",
"category": "Docker Compose"
},
{
"command": "docker-compose.container.start",
"title": "Start",
"description": "Docker Compose container start",
"category": "Docker Compose"
},
{
"command": "docker-compose.container.stop",
"title": "Stop",
"description": "Docker Compose container stop",
"category": "Docker Compose"
},
{
"command": "docker-compose.container.kill",
"title": "Kill",
"description": "Docker Compose container kill",
"category": "Docker Compose"
}
],
"menus": {
"view/title": [
{
"command": "docker-compose.explorer.refresh",
"when": "view == dockerComposeServices",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "docker-compose.project.up",
"when": "view == dockerComposeServices && viewItem == docker-compose:project",
"group": "docker-compose:project-2-general@0"
},
{
"command": "docker-compose.project.start",
"when": "view == dockerComposeServices && viewItem == docker-compose:project",
"group": "docker-compose:project-2-general@1"
},
{
"command": "docker-compose.project.stop",
"when": "view == dockerComposeServices && viewItem == docker-compose:project",
"group": "docker-compose:project-2-general@2"
},
{
"command": "docker-compose.project.down",
"when": "view == dockerComposeServices && viewItem == docker-compose:project",
"group": "docker-compose:project-2-general@3"
},
{
"command": "docker-compose.service.shell",
"when": "view == dockerComposeServices && viewItem == docker-compose:service",
"group": "docker-compose:service-1-top@1"
},
{
"command": "docker-compose.service.up",
"when": "view == dockerComposeServices && viewItem == docker-compose:service",
"group": "docker-compose:service-2-general@2"
},
{
"command": "docker-compose.service.down",
"when": "view == dockerComposeServices && viewItem == docker-compose:service",
"group": "docker-compose:service-2-general@8"
},
{
"command": "docker-compose.service.start",
"when": "view == dockerComposeServices && viewItem == docker-compose:service",
"group": "docker-compose:service-2-general@3"
},
{
"command": "docker-compose.service.restart",
"when": "view == dockerComposeServices && viewItem == docker-compose:service",
"group": "docker-compose:service-2-general@4"
},
{
"command": "docker-compose.service.stop",
"when": "view == dockerComposeServices && viewItem == docker-compose:service",
"group": "docker-compose:service-2-general@5"
},
{
"command": "docker-compose.service.build",
"when": "view == dockerComposeServices && viewItem == docker-compose:service",
"group": "docker-compose:service-2-general@6"
},
{
"command": "docker-compose.service.kill",
"when": "view == dockerComposeServices && viewItem == docker-compose:service",
"group": "docker-compose:service-2-general@7"
},
{
"command": "docker-compose.container.logs",
"when": "view == dockerComposeServices && viewItem == docker-compose:running-container",
"group": "docker-compose:container-1-top@0"
},
{
"command": "docker-compose.container.attach",
"when": "view == dockerComposeServices && viewItem == docker-compose:running-container",
"group": "docker-compose:container-1-top@1"
},
{
"command": "docker-compose.container.start",
"when": "view == dockerComposeServices && viewItem == docker-compose:exited-container",
"group": "docker-compose:container-2-general@0"
},
{
"command": "docker-compose.container.stop",
"when": "view == dockerComposeServices && viewItem == docker-compose:running-container",
"group": "docker-compose:container-2-general@1"
},
{
"command": "docker-compose.container.kill",
"when": "view == dockerComposeServices && viewItem == docker-compose:running-container",
"group": "docker-compose:container-2-general@2"
}
]
},
"configuration": {
"type": "object",
"title": "Docker Compose configuration",
"properties": {
"docker-compose.projectNames": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Override Docker Compose project name for each workspace root."
},
"docker-compose.autoRefreshInterval": {
"type": "integer",
"default": 90000,
"description": "Docker Compose auto refresh interval."
},
"docker-compose.showExplorer": {
"type": "boolean",
"default": true,
"description": "Show Docker Compose explorer."
},
"docker-compose.enableTelemetry": {
"type": "boolean",
"default": false,
"description": "Enable telemetry"
},
"docker-compose.shell": {
"type": "string",
"default": "/bin/sh",
"description": "Specify shell to use inside Docker Container."
},
"docker-compose.files": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Specify Docker Compose files."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^10.0.1",
"@types/node": "^20.2.0",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"@vscode/test-electron": "^1.6.1",
"eslint": "^8.26.0",
"typescript": "^5.0.4"
},
"dependencies": {
"applicationinsights": "^1.0.5",
"docker-compose": "^0.24.1",
"yaml-config-loader": "^2.0.1"
}
}