@dooer/dooer-test-env 1.0.0 → 1.0.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.
package/bin/index.js CHANGED
File without changes
@@ -53,6 +53,10 @@ function listContainers({ all }) {
53
53
  all ? '-a' : null,
54
54
  '--filter',
55
55
  `label=com.docker.compose.project=${projectName()}`,
56
+ // skip containers that aren't cleanly running (e.g. a crash-looping one) unless --all: `docker logs`
57
+ // blocks on a mid-restart container, and the timeout guard would otherwise cost a slot on every run.
58
+ all ? null : '--filter',
59
+ all ? null : 'status=running',
56
60
  '--format',
57
61
  '{{.Names}}',
58
62
  ].filter(Boolean)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dooer/dooer-test-env",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Run the whole Dooer backend locally (staging DB minus customers), copy/purge customers between environments, and shred — one CLI.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": "Dooer/cli-dooer-test-env",