@lde/task-runner-docker 0.2.11 → 0.2.13

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.
package/README.md CHANGED
@@ -41,5 +41,6 @@ await runner.stop(container);
41
41
  - Mounts a host directory as `/mount` with the `mountDir` option
42
42
  - Runs commands as the current user (UID/GID) for file permissions
43
43
  - Exposes ports with `port` option
44
+ - Stops containers (without removing) so logs remain available via `docker logs`
44
45
  - Removes previous containers with the same name on restart
45
46
  - Streams container logs to stdout
package/dist/index.js CHANGED
@@ -74,7 +74,7 @@ export class DockerTaskRunner {
74
74
  stderr: true,
75
75
  follow: false,
76
76
  });
77
- await task.remove({ force: true });
77
+ await task.stop();
78
78
  return logs.toString();
79
79
  }
80
80
  }
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@lde/task-runner-docker",
3
- "version": "0.2.11",
3
+ "version": "0.2.13",
4
4
  "repository": {
5
- "url": "https://github.com/ldengine/lde",
5
+ "url": "git+https://github.com/ldelements/lde.git",
6
6
  "directory": "packages/task-runner-docker"
7
7
  },
8
+ "license": "MIT",
8
9
  "type": "module",
9
10
  "exports": {
10
11
  "./package.json": "./package.json",
@@ -23,8 +24,8 @@
23
24
  "!**/*.tsbuildinfo"
24
25
  ],
25
26
  "dependencies": {
26
- "@lde/task-runner": "0.2.10",
27
- "dockerode": "^4.0.7",
27
+ "@lde/task-runner": "0.2.11",
28
+ "dockerode": "^4.0.10",
28
29
  "tslib": "^2.3.0"
29
30
  },
30
31
  "devDependencies": {