@dooer/dooer-test-env 1.8.1 → 1.8.2

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.
@@ -57,6 +57,10 @@ function localEnv(name, port) {
57
57
  // (service-accounts → /api/v1/token-invalidation/all → ENOTFOUND, which broke every HQ navigation query).
58
58
  // @dooer/service checks DOOER_HOST_<NAME> before Consul, so point the service at its own localhost port.
59
59
  env[`DOOER_HOST_${name.toUpperCase().replace(/-/g, '_')}`] = `localhost:${port}`
60
+ // @dooer/logging: `logMode = DOOER_LOG || (process.stdout.isTTY ? 'pretty' : 'none')`. We redirect the
61
+ // host process to a log FILE, so stdout is not a TTY and it would log NOTHING — the images bake
62
+ // DOOER_LOG=json, which the manifests don't carry, so set it here too or `service local` runs blind.
63
+ env.DOOER_LOG = env.DOOER_LOG || 'json'
60
64
  return env
61
65
  }
62
66
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dooer/dooer-test-env",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
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",