trigger.dev 0.0.0-v3-canary-20240321164857 → 0.0.0-v3-canary-20240321165557

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
@@ -800,7 +800,7 @@ import invariant from "tiny-invariant";
800
800
  import { z as z4 } from "zod";
801
801
 
802
802
  // package.json
803
- var version = "0.0.0-v3-canary-20240321164857";
803
+ var version = "0.0.0-v3-canary-20240321165557";
804
804
  var dependencies = {
805
805
  "@baselime/node-opentelemetry": "^0.4.6",
806
806
  "@clack/prompts": "^0.7.0",
@@ -821,7 +821,7 @@ var dependencies = {
821
821
  "@opentelemetry/sdk-trace-node": "^1.21.0",
822
822
  "@opentelemetry/semantic-conventions": "^1.21.0",
823
823
  "@traceloop/instrumentation-openai": "^0.3.9",
824
- "@trigger.dev/core": "workspace:0.0.0-v3-canary-20240321164857",
824
+ "@trigger.dev/core": "workspace:0.0.0-v3-canary-20240321165557",
825
825
  "@types/degit": "^2.8.3",
826
826
  chalk: "^5.2.0",
827
827
  chokidar: "^3.5.3",
@@ -2626,7 +2626,6 @@ ${authorizationCodeResult.error}`
2626
2626
  }
2627
2627
 
2628
2628
  // src/utilities/build.ts
2629
- import { createRequire } from "node:module";
2630
2629
  function bundleDependenciesPlugin(config) {
2631
2630
  return {
2632
2631
  name: "bundle-dependencies",
@@ -2656,19 +2655,11 @@ function bundleDependenciesPlugin(config) {
2656
2655
  };
2657
2656
  }
2658
2657
  function resolvePath(path6) {
2659
- try {
2660
- logger.debug("[bundle-dependencies] Attempting to resolve path using ESM resolver", {
2661
- path: path6,
2662
- importMetaUrl: import.meta.url
2663
- });
2664
- return createRequire(import.meta.url).resolve(path6);
2665
- } catch (error) {
2666
- logger.debug("[bundle-dependencies] Failed. Falling back to require.resolve", {
2667
- path: path6,
2668
- error
2669
- });
2670
- return __require.resolve(path6);
2671
- }
2658
+ logger.debug("[bundle-dependencies] Attempting to resolve path using ESM resolver", {
2659
+ path: path6,
2660
+ importMetaUrl: import.meta.url
2661
+ });
2662
+ return __require.resolve(path6);
2672
2663
  }
2673
2664
 
2674
2665
  // src/commands/deploy.ts