trigger.dev 0.0.0-v3-canary-20240321162743 → 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-
|
|
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-
|
|
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",
|
|
@@ -2636,12 +2636,17 @@ function bundleDependenciesPlugin(config) {
|
|
|
2636
2636
|
}
|
|
2637
2637
|
for (let pattern of config.dependenciesToBundle ?? []) {
|
|
2638
2638
|
if (typeof pattern === "string" ? args.path === pattern : pattern.test(args.path)) {
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2639
|
+
try {
|
|
2640
|
+
const resolvedPath = resolvePath(args.path);
|
|
2641
|
+
logger.debug(`Bundling ${args.path} as ${resolvedPath}`);
|
|
2642
|
+
return {
|
|
2643
|
+
path: resolvedPath,
|
|
2644
|
+
external: false
|
|
2645
|
+
};
|
|
2646
|
+
} catch (error) {
|
|
2647
|
+
logger.error(`Failed to resolve path ${args.path}`, error);
|
|
2648
|
+
return void 0;
|
|
2649
|
+
}
|
|
2645
2650
|
}
|
|
2646
2651
|
}
|
|
2647
2652
|
return void 0;
|
|
@@ -2649,6 +2654,13 @@ function bundleDependenciesPlugin(config) {
|
|
|
2649
2654
|
}
|
|
2650
2655
|
};
|
|
2651
2656
|
}
|
|
2657
|
+
function resolvePath(path6) {
|
|
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);
|
|
2663
|
+
}
|
|
2652
2664
|
|
|
2653
2665
|
// src/commands/deploy.ts
|
|
2654
2666
|
var DeployCommandOptions = CommonCommandOptions.extend({
|