trigger.dev 3.0.0-beta.2 → 3.0.0-beta.3
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 = "3.0.0-beta.
|
|
803
|
+
var version = "3.0.0-beta.3";
|
|
804
804
|
var dependencies = {
|
|
805
805
|
"@clack/prompts": "^0.7.0",
|
|
806
806
|
"@depot/cli": "0.0.1-cli.2.55.0",
|
|
@@ -816,7 +816,7 @@ var dependencies = {
|
|
|
816
816
|
"@opentelemetry/sdk-trace-base": "^1.22.0",
|
|
817
817
|
"@opentelemetry/sdk-trace-node": "^1.22.0",
|
|
818
818
|
"@opentelemetry/semantic-conventions": "^1.22.0",
|
|
819
|
-
"@trigger.dev/core": "workspace:^3.0.0-beta.
|
|
819
|
+
"@trigger.dev/core": "workspace:^3.0.0-beta.2",
|
|
820
820
|
"@types/degit": "^2.8.3",
|
|
821
821
|
chalk: "^5.2.0",
|
|
822
822
|
chokidar: "^3.5.3",
|
|
@@ -1643,9 +1643,6 @@ import checkForUpdate from "update-check";
|
|
|
1643
1643
|
import chalk2 from "chalk";
|
|
1644
1644
|
var green = "#4FFF54";
|
|
1645
1645
|
var purple = "#735BF3";
|
|
1646
|
-
function chalkPurple(text2) {
|
|
1647
|
-
return chalk2.hex(purple)(text2);
|
|
1648
|
-
}
|
|
1649
1646
|
function chalkGrey(text2) {
|
|
1650
1647
|
return chalk2.hex("#878C99")(text2);
|
|
1651
1648
|
}
|
|
@@ -4477,9 +4474,13 @@ async function devCommand(dir, options) {
|
|
|
4477
4474
|
const authorization = await isLoggedIn(options.profile);
|
|
4478
4475
|
if (!authorization.ok) {
|
|
4479
4476
|
if (authorization.error === "fetch failed") {
|
|
4480
|
-
logger.
|
|
4477
|
+
logger.log(
|
|
4478
|
+
`${chalkError(
|
|
4479
|
+
"X Error:"
|
|
4480
|
+
)} Connecting to the server failed. Please check your internet connection or contact eric@trigger.dev for help.`
|
|
4481
|
+
);
|
|
4481
4482
|
} else {
|
|
4482
|
-
logger.
|
|
4483
|
+
logger.log(`${chalkError("X Error:")} You must login first. Use the \`login\` CLI command.`);
|
|
4483
4484
|
}
|
|
4484
4485
|
process.exitCode = 1;
|
|
4485
4486
|
return;
|
|
@@ -4950,14 +4951,12 @@ async function gatherRequiredDependencies2(outputMeta, config) {
|
|
|
4950
4951
|
function createDuplicateTaskIdOutputErrorMessage(duplicateTaskIds, taskResources) {
|
|
4951
4952
|
const duplicateTable = duplicateTaskIds.map((id) => {
|
|
4952
4953
|
const tasks = taskResources.filter((task) => task.id === id);
|
|
4953
|
-
return `
|
|
4954
|
-
${tasks.map((task) => `${task.filePath} -> ${task.exportName}`).join("\n")}`;
|
|
4955
|
-
}).join("\n\n");
|
|
4956
|
-
return `Duplicate task ids detected:
|
|
4954
|
+
return `
|
|
4957
4955
|
|
|
4958
|
-
${
|
|
4959
|
-
|
|
4960
|
-
|
|
4956
|
+
${chalkTask(id)} was found in:${tasks.map((task) => `
|
|
4957
|
+
${task.filePath} -> ${task.exportName}`).join("")}`;
|
|
4958
|
+
}).join("");
|
|
4959
|
+
return `Duplicate ${chalkTask("task id")} detected:${duplicateTable}`;
|
|
4961
4960
|
}
|
|
4962
4961
|
function gatherProcessEnv() {
|
|
4963
4962
|
const env = {
|