Skip to content

Commit dd59b47

Browse files
committed
dev now depends on build, fixed supervisor typecheck
1 parent 30b2277 commit dd59b47

File tree

7 files changed

+16
-14
lines changed

7 files changed

+16
-14
lines changed

Diff for: apps/supervisor/tsconfig.json

-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,5 @@
44
"compilerOptions": {
55
"rootDir": "src",
66
"outDir": "dist"
7-
},
8-
"paths": {
9-
"@trigger.dev/core/v3": ["../../packages/core/src/v3"],
10-
"@trigger.dev/core/v3/*": ["../../packages/core/src/v3/*"]
117
}
128
}

Diff for: internal-packages/run-engine/src/engine/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ import {
7171
} from "./statuses.js";
7272
import { HeartbeatTimeouts, RunEngineOptions, TriggerParams } from "./types.js";
7373
import { RunQueueFullKeyProducer } from "../run-queue/keyProducer.js";
74-
import { retryOutcomeFromCompletion } from "./retrying";
74+
import { retryOutcomeFromCompletion } from "./retrying.js";
7575

7676
const workerCatalog = {
7777
finishWaitpoint: {

Diff for: internal-packages/run-engine/src/engine/retrying.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import {
2+
calculateNextRetryDelay,
23
isOOMRunError,
34
RetryOptions,
5+
sanitizeError,
46
shouldRetryError,
57
TaskRunError,
6-
TaskRunExecutionRetry,
78
taskRunErrorEnhancer,
8-
sanitizeError,
9-
calculateNextRetryDelay,
9+
TaskRunExecutionRetry,
1010
} from "@trigger.dev/core/v3";
11-
import { PrismaClientOrTransaction, TaskRunStatus } from "@trigger.dev/database";
12-
import { MAX_TASK_RUN_ATTEMPTS } from "./consts";
13-
import { ServiceValidationError } from ".";
11+
import { PrismaClientOrTransaction } from "@trigger.dev/database";
12+
import { MAX_TASK_RUN_ATTEMPTS } from "./consts.js";
13+
import { ServiceValidationError } from "./index.js";
1414

1515
type Params = {
1616
runId: string;

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"db:seed": "turbo run db:seed",
1616
"db:studio": "turbo run db:studio",
1717
"db:populate": "turbo run db:populate",
18-
"dev": "turbo run dev --parallel",
18+
"dev": "turbo run dev",
1919
"i:dev": "infisical run -- turbo run dev --parallel",
2020
"format": "prettier . --write --config prettier.config.js",
2121
"generate": "turbo run generate",

Diff for: packages/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -679,4 +679,4 @@
679679
"main": "./dist/commonjs/index.js",
680680
"types": "./dist/commonjs/index.d.ts",
681681
"module": "./dist/esm/index.js"
682-
}
682+
}

Diff for: packages/react-hooks/src/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"type": "commonjs"
3+
}

Diff for: turbo.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@
5353
"cache": false
5454
},
5555
"dev": {
56-
"cache": false
56+
"cache": false,
57+
"dependsOn": [
58+
"^build"
59+
]
5760
},
5861
"i:dev": {
5962
"cache": false

0 commit comments

Comments
 (0)