@wocker/ws 1.1.2 → 1.1.3-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -258,7 +258,11 @@ let ProjectService = class ProjectService extends core_1.ProjectService {
|
|
|
258
258
|
case core_1.ProjectType.IMAGE:
|
|
259
259
|
case core_1.ProjectType.DOCKERFILE:
|
|
260
260
|
case core_1.ProjectType.PRESET:
|
|
261
|
-
await this.dockerService.exec(project.containerName,
|
|
261
|
+
await this.dockerService.exec(project.containerName, {
|
|
262
|
+
tty: this.processService.stdout.isTTY ?? false,
|
|
263
|
+
attach: true,
|
|
264
|
+
cmd: command
|
|
265
|
+
});
|
|
262
266
|
break;
|
|
263
267
|
case core_1.ProjectType.COMPOSE: {
|
|
264
268
|
const [service, ...args] = command;
|
|
@@ -290,7 +294,7 @@ let ProjectService = class ProjectService extends core_1.ProjectService {
|
|
|
290
294
|
stderr: true,
|
|
291
295
|
follow: false
|
|
292
296
|
});
|
|
293
|
-
|
|
297
|
+
this.processService.write(data);
|
|
294
298
|
}
|
|
295
299
|
break;
|
|
296
300
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wocker/ws",
|
|
3
3
|
"type": "commonjs",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.3-beta.0",
|
|
5
5
|
"author": "Kris Papercut <krispcut@gmail.com>",
|
|
6
6
|
"description": "Docker workspace for web projects",
|
|
7
7
|
"license": "MIT",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"make-coverage-badge": "make-coverage-badge"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@wocker/core": "1.1.
|
|
38
|
+
"@wocker/core": "^1.1.3-beta.0",
|
|
39
39
|
"@wocker/docker-module": "^1.0.1",
|
|
40
40
|
"@wocker/prompts": "^1.0.0",
|
|
41
41
|
"@wocker/utils": "^2.0.6",
|
|
@@ -58,5 +58,16 @@
|
|
|
58
58
|
"ts-node": "^10.9.2",
|
|
59
59
|
"typescript": "^5.9.3",
|
|
60
60
|
"unionfs": "^4.5.4"
|
|
61
|
+
},
|
|
62
|
+
"overrides": {
|
|
63
|
+
"@wocker/testing": {
|
|
64
|
+
"@wocker/core": "^1.1.3-beta.0"
|
|
65
|
+
},
|
|
66
|
+
"@wocker/docker-module": {
|
|
67
|
+
"@wocker/core": "^1.1.3-beta.0"
|
|
68
|
+
},
|
|
69
|
+
"@wocker/docker-mock-module": {
|
|
70
|
+
"@wocker/core": "^1.1.3-beta.0"
|
|
71
|
+
}
|
|
61
72
|
}
|
|
62
73
|
}
|