trigger.dev 0.0.0-v3-pnpm-fix-20240404110601 → 0.0.0-v3-pnpm-fix-20240404112326

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/dist/index.js CHANGED
@@ -801,7 +801,7 @@ import invariant from "tiny-invariant";
801
801
  import { z as z4 } from "zod";
802
802
 
803
803
  // package.json
804
- var version = "0.0.0-v3-pnpm-fix-20240404110601";
804
+ var version = "0.0.0-v3-pnpm-fix-20240404112326";
805
805
  var dependencies = {
806
806
  "@clack/prompts": "^0.7.0",
807
807
  "@depot/cli": "0.0.1-cli.2.55.0",
@@ -817,7 +817,7 @@ var dependencies = {
817
817
  "@opentelemetry/sdk-trace-base": "^1.22.0",
818
818
  "@opentelemetry/sdk-trace-node": "^1.22.0",
819
819
  "@opentelemetry/semantic-conventions": "^1.22.0",
820
- "@trigger.dev/core": "workspace:0.0.0-v3-pnpm-fix-20240404110601",
820
+ "@trigger.dev/core": "workspace:0.0.0-v3-pnpm-fix-20240404112326",
821
821
  "@types/degit": "^2.8.3",
822
822
  chalk: "^5.2.0",
823
823
  chokidar: "^3.5.3",
@@ -4360,7 +4360,11 @@ var BackgroundWorker = class {
4360
4360
  }
4361
4361
  let resolved = false;
4362
4362
  const cwd = dirname2(this.path);
4363
- logger.debug("Initializing worker", { path: this.path, cwd });
4363
+ const fullEnv = {
4364
+ ...this.params.env,
4365
+ ...this.#readEnvVars()
4366
+ };
4367
+ logger.debug("Initializing worker", { path: this.path, cwd, fullEnv });
4364
4368
  this.tasks = await new Promise((resolve4, reject) => {
4365
4369
  const child = fork(this.path, {
4366
4370
  stdio: [
@@ -4373,10 +4377,7 @@ var BackgroundWorker = class {
4373
4377
  "ipc"
4374
4378
  ],
4375
4379
  cwd,
4376
- env: {
4377
- ...this.params.env,
4378
- ...this.#readEnvVars()
4379
- }
4380
+ env: fullEnv
4380
4381
  });
4381
4382
  const timeout = setTimeout(() => {
4382
4383
  if (resolved) {