trigger.dev 0.0.0-v3-pnpm-fix-20240409132306 → 0.0.0-v3-pnpm-fix-20240411185916
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-
|
|
804
|
+
var version = "0.0.0-v3-pnpm-fix-20240411185916";
|
|
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-
|
|
820
|
+
"@trigger.dev/core": "workspace:0.0.0-v3-pnpm-fix-20240411185916",
|
|
821
821
|
"@types/degit": "^2.8.3",
|
|
822
822
|
chalk: "^5.2.0",
|
|
823
823
|
chokidar: "^3.5.3",
|
|
@@ -2823,6 +2823,10 @@ function bundleDependenciesPlugin(buildIdentifier, dependenciesToBundle, tsconfi
|
|
|
2823
2823
|
setup(build3) {
|
|
2824
2824
|
build3.onResolve({ filter: /.*/ }, (args) => {
|
|
2825
2825
|
const resolvedPath = resolvePath(args.path);
|
|
2826
|
+
logger.debug(`[${buildIdentifier}] Handling ${args.path}`, {
|
|
2827
|
+
...args,
|
|
2828
|
+
resolvedPath
|
|
2829
|
+
});
|
|
2826
2830
|
if (!isBareModuleId(resolvedPath)) {
|
|
2827
2831
|
return void 0;
|
|
2828
2832
|
}
|
|
@@ -2842,9 +2846,6 @@ function bundleDependenciesPlugin(buildIdentifier, dependenciesToBundle, tsconfi
|
|
|
2842
2846
|
return void 0;
|
|
2843
2847
|
}
|
|
2844
2848
|
}
|
|
2845
|
-
logger.ignore(`[${buildIdentifier}] Externalizing ${args.path}`, {
|
|
2846
|
-
...args
|
|
2847
|
-
});
|
|
2848
2849
|
return {
|
|
2849
2850
|
path: args.path,
|
|
2850
2851
|
external: true
|
|
@@ -5019,11 +5020,11 @@ async function devCommand(dir, options) {
|
|
|
5019
5020
|
process.exitCode = 1;
|
|
5020
5021
|
return;
|
|
5021
5022
|
}
|
|
5022
|
-
const devInstance = await startDev(dir, options, authorization.auth);
|
|
5023
|
+
const devInstance = await startDev(dir, options, authorization.auth, authorization.dashboardUrl);
|
|
5023
5024
|
const { waitUntilExit } = devInstance.devReactElement;
|
|
5024
5025
|
await waitUntilExit();
|
|
5025
5026
|
}
|
|
5026
|
-
async function startDev(dir, options, authorization) {
|
|
5027
|
+
async function startDev(dir, options, authorization, dashboardUrl) {
|
|
5027
5028
|
let rerender;
|
|
5028
5029
|
try {
|
|
5029
5030
|
if (options.logLevel) {
|
|
@@ -5061,6 +5062,7 @@ async function startDev(dir, options, authorization) {
|
|
|
5061
5062
|
return /* @__PURE__ */ React.createElement(
|
|
5062
5063
|
DevUI,
|
|
5063
5064
|
{
|
|
5065
|
+
dashboardUrl,
|
|
5064
5066
|
config: configParam,
|
|
5065
5067
|
apiUrl,
|
|
5066
5068
|
apiKey: devEnv.data.apiKey,
|
|
@@ -5092,6 +5094,7 @@ async function startDev(dir, options, authorization) {
|
|
|
5092
5094
|
}
|
|
5093
5095
|
function useDev({
|
|
5094
5096
|
config,
|
|
5097
|
+
dashboardUrl,
|
|
5095
5098
|
apiUrl,
|
|
5096
5099
|
apiKey,
|
|
5097
5100
|
environmentClient,
|
|
@@ -5121,7 +5124,7 @@ function useDev({
|
|
|
5121
5124
|
}
|
|
5122
5125
|
});
|
|
5123
5126
|
const backgroundWorkerCoordinator = new BackgroundWorkerCoordinator(
|
|
5124
|
-
`${
|
|
5127
|
+
`${dashboardUrl}/projects/v3/${config.project}`
|
|
5125
5128
|
);
|
|
5126
5129
|
websocket.addEventListener("open", async (event) => {
|
|
5127
5130
|
});
|