@wocker/ws 1.1.3-beta.0 → 1.1.3-beta.1
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.
|
@@ -232,19 +232,11 @@ let ProjectService = class ProjectService extends core_1.ProjectService {
|
|
|
232
232
|
const cli = new PublicCli();
|
|
233
233
|
const cmd = cli.parseCommand(`command ${project.scripts[script]}`, 0);
|
|
234
234
|
this.logService.debug(cmd);
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
Tty: process.stdin.isTTY,
|
|
240
|
-
Cmd: [...cmd, ...args || []]
|
|
241
|
-
});
|
|
242
|
-
const stream = await exec.start({
|
|
243
|
-
hijack: true,
|
|
244
|
-
stdin: true,
|
|
245
|
-
Tty: process.stdin.isTTY
|
|
235
|
+
await this.dockerService.exec(project.containerName, {
|
|
236
|
+
tty: process.stdin.isTTY,
|
|
237
|
+
attach: true,
|
|
238
|
+
cmd: [...cmd, ...args || []]
|
|
246
239
|
});
|
|
247
|
-
await this.dockerService.attachStream(stream);
|
|
248
240
|
break;
|
|
249
241
|
}
|
|
250
242
|
case core_1.ProjectType.COMPOSE: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wocker/ws",
|
|
3
3
|
"type": "commonjs",
|
|
4
|
-
"version": "1.1.3-beta.
|
|
4
|
+
"version": "1.1.3-beta.1",
|
|
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": "
|
|
38
|
+
"@wocker/core": "1.1.3",
|
|
39
39
|
"@wocker/docker-module": "^1.0.1",
|
|
40
40
|
"@wocker/prompts": "^1.0.0",
|
|
41
41
|
"@wocker/utils": "^2.0.6",
|
|
@@ -58,16 +58,5 @@
|
|
|
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
|
-
}
|
|
72
61
|
}
|
|
73
62
|
}
|