Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .configs/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"esModuleInterop": true,
"emitDecoratorMetadata": false,
"experimentalDecorators": false,
"downlevelIteration": true,
"isolatedModules": true,
"noUncheckedIndexedAccess": true,

Expand Down
2 changes: 1 addition & 1 deletion apps/coordinator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build:image": "docker build -f Containerfile . -t coordinator",
"dev": "tsx --no-warnings=ExperimentalWarning --require dotenv/config --watch src/index.ts",
"start": "tsx src/index.ts",
"typecheck": "tsc --noEmit"
"typecheck": "tsgo --noEmit"
},
"keywords": [],
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion apps/docker-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build:image": "docker build -f Containerfile . -t docker-provider",
"dev": "tsx --no-warnings=ExperimentalWarning --require dotenv/config --watch src/index.ts",
"start": "tsx src/index.ts",
"typecheck": "tsc --noEmit"
"typecheck": "tsgo --noEmit"
},
"keywords": [],
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion apps/kubernetes-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build:image": "docker build -f Containerfile . -t kubernetes-provider",
"dev": "tsx --no-warnings=ExperimentalWarning --require dotenv/config --watch src/index.ts",
"start": "tsx src/index.ts",
"typecheck": "tsc --noEmit"
"typecheck": "tsgo --noEmit"
},
"keywords": [],
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion apps/supervisor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"start": "node dist/index.js",
"test:run": "vitest --no-file-parallelism --run",
"test:watch": "vitest --no-file-parallelism",
"typecheck": "tsc --noEmit"
"typecheck": "tsgo --noEmit"
},
"dependencies": {
"@aws-sdk/client-ecr": "^3.839.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/app/routes/otel.v1.logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function action({ request }: ActionFunctionArgs) {

const exportResponse = await otlpExporter.exportLogs(exportRequest);

return new Response(ExportLogsServiceResponse.encode(exportResponse).finish(), {
return new Response(ExportLogsServiceResponse.encode(exportResponse).finish() as BodyInit, {
status: 200,
});
} else {
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/app/routes/otel.v1.metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export async function action({ request }: ActionFunctionArgs) {

const exportResponse = await otlpExporter.exportMetrics(exportRequest);

return new Response(ExportMetricsServiceResponse.encode(exportResponse).finish(), {
return new Response(ExportMetricsServiceResponse.encode(exportResponse).finish() as BodyInit, {
status: 200,
});
} else {
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/app/routes/otel.v1.traces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function action({ request }: ActionFunctionArgs) {

const exportResponse = await otlpExporter.exportTraces(exportRequest);

return new Response(ExportTraceServiceResponse.encode(exportResponse).finish(), {
return new Response(ExportTraceServiceResponse.encode(exportResponse).finish() as BodyInit, {
status: 200,
});
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,9 @@ export class RedisRealtimeStreams implements StreamIngestor, StreamResponder {
let currentChunkIndex = startChunk;

try {
const textStream = stream.pipeThrough(new TextDecoderStream());
const textStream = stream.pipeThrough(
new TextDecoderStream() as unknown as ReadableWritablePair<string, Uint8Array>
);
const reader = textStream.getReader();

while (true) {
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
"start": "cross-env NODE_ENV=production node --max-old-space-size=8192 ./build/server.js",
"start:local": "cross-env node --max-old-space-size=8192 ./build/server.js",
"typecheck": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" tsc --noEmit -p ./tsconfig.check.json",
"typecheck": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" tsgo --noEmit -p ./tsconfig.check.json",
"db:seed": "tsx seed.mts",
"db:seed:ai-spans": "tsx seed-ai-spans.mts",
"upload:sourcemaps": "bash ./upload-sourcemaps.sh",
Expand Down
1 change: 0 additions & 1 deletion apps/webapp/test/setup-test-env.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { installGlobals } from "@remix-run/node";
import "@testing-library/jest-dom/extend-expect";

installGlobals();
1 change: 0 additions & 1 deletion apps/webapp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"skipLibCheck": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"baseUrl": ".",
"paths": {
"~/*": ["./app/*"],
"@/*": ["./*"]
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"superjson": "^2.2.1"
},
"scripts": {
"typecheck": "tsc --noEmit",
"typecheck": "tsgo --noEmit",
"test": "vitest",
"test:watch": "vitest"
}
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/clickhouse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"scripts": {
"clean": "rimraf dist",
"typecheck": "tsc --noEmit -p tsconfig.build.json",
"typecheck": "tsgo --noEmit -p tsconfig.build.json",
"build": "pnpm run clean && tsc -p tsconfig.build.json",
"dev": "tsc --watch -p tsconfig.build.json",
"db:migrate": "docker compose -p triggerdotdev-docker -f ../../docker/docker-compose.yml up clickhouse_migrator --build",
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/clickhouse/src/client/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ export class ClickhouseClient implements ClickhouseReader, ClickhouseWriter {
}

for (const row of rows) {
const rowData = row.json();
const rowData = row.json<Record<number, unknown>>();

const hydratedRow: Record<string, any> = {};
for (let i = 0; i < req.columns.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/compute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"scripts": {
"clean": "rimraf dist",
"typecheck": "tsc --noEmit",
"typecheck": "tsgo --noEmit",
"build": "pnpm run clean && tsc -p tsconfig.build.json",
"dev": "tsc --watch -p tsconfig.build.json"
}
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"db:push": "prisma db push",
"db:studio": "prisma studio",
"db:reset": "prisma migrate reset",
"typecheck": "tsc --noEmit",
"typecheck": "tsgo --noEmit -p tsconfig.typecheck.json",
"build": "pnpm run clean && tsc --noEmit false --outDir dist --declaration",
"dev": "tsc --noEmit false --outDir dist --declaration --watch"
}
Expand Down
7 changes: 7 additions & 0 deletions internal-packages/database/tsconfig.typecheck.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "bundler"
}
}
2 changes: 1 addition & 1 deletion internal-packages/emails/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"types": "./src/index.tsx",
"scripts": {
"dev": "PORT=3080 email dev",
"typecheck": "tsc --noEmit"
"typecheck": "tsgo --noEmit"
},
"dependencies": {
"@aws-sdk/client-sesv2": "^3.716.0",
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/emails/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"incremental": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/llm-model-catalog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"scripts": {
"test": "vitest --sequence.concurrent=false --no-file-parallelism",
"typecheck": "tsc --noEmit",
"typecheck": "tsgo --noEmit",
"generate": "node scripts/generate.mjs",
"sync-prices": "bash scripts/sync-model-prices.sh && node scripts/generate.mjs",
"sync-prices:check": "bash scripts/sync-model-prices.sh --check",
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/otlp-importer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"protos": "npm run submodule && npm run protos:generate",
"protos:generate": "node ./scripts/generate-protos.mjs",
"submodule": "node ./scripts/submodule.mjs",
"typecheck": "tsc --noEmit"
"typecheck": "tsgo --noEmit"
},
"devDependencies": {
"@types/node": "^20",
Expand Down
3 changes: 2 additions & 1 deletion internal-packages/otlp-importer/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"isolatedDeclarations": false,
"composite": true,
"sourceMap": true,
"stripInternal": true
"stripInternal": true,
"types": ["node"]
},
"include": ["./src/**/*.ts"]
}
2 changes: 1 addition & 1 deletion internal-packages/redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"@trigger.dev/core": "workspace:*"
},
"scripts": {
"typecheck": "tsc --noEmit"
"typecheck": "tsgo --noEmit"
}
}
2 changes: 1 addition & 1 deletion internal-packages/replication/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"scripts": {
"clean": "rimraf dist",
"typecheck": "tsc --noEmit -p tsconfig.build.json",
"typecheck": "tsgo --noEmit -p tsconfig.build.json",
"build": "pnpm run clean && tsc -p tsconfig.build.json",
"dev": "tsc --watch -p tsconfig.build.json",
"test": "vitest --sequence.concurrent=false --no-file-parallelism",
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/run-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"scripts": {
"clean": "rimraf dist",
"typecheck": "tsc --noEmit -p tsconfig.build.json",
"typecheck": "tsgo --noEmit -p tsconfig.build.json",
"test": "vitest --sequence.concurrent=false --no-file-parallelism",
"test:coverage": "vitest --sequence.concurrent=false --no-file-parallelism --coverage.enabled",
"build": "pnpm run clean && tsc -p tsconfig.build.json",
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/schedule-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"scripts": {
"clean": "rimraf dist",
"typecheck": "tsc --noEmit -p tsconfig.build.json",
"typecheck": "tsgo --noEmit -p tsconfig.build.json",
"test": "vitest --sequence.concurrent=false --no-file-parallelism",
"test:coverage": "vitest --sequence.concurrent=false --no-file-parallelism --coverage.enabled",
"build": "pnpm run clean && tsc -p tsconfig.build.json",
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/sdk-compat-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"test": "vitest",
"test:watch": "vitest",
"typecheck": "tsc --noEmit"
"typecheck": "tsgo --noEmit"
},
"dependencies": {
"@trigger.dev/sdk": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/testcontainers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"tinyexec": "^0.3.0"
},
"scripts": {
"typecheck": "tsc --noEmit"
"typecheck": "tsgo --noEmit"
}
}
4 changes: 2 additions & 2 deletions internal-packages/testcontainers/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"compilerOptions": {
"target": "es2022",
"lib": ["ES2022", "DOM", "DOM.Iterable", "DOM.AsyncIterable"],
"module": "CommonJS",
"moduleResolution": "Node",
"module": "ESNext",
"moduleResolution": "bundler",
"moduleDetection": "force",
"types": ["vitest/globals"],
"esModuleInterop": true,
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/tracing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"@trigger.dev/core": "workspace:*"
},
"scripts": {
"typecheck": "tsc --noEmit"
"typecheck": "tsgo --noEmit"
}
}
2 changes: 1 addition & 1 deletion internal-packages/tsql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"zod": "3.25.76"
},
"scripts": {
"typecheck": "tsc --noEmit",
"typecheck": "tsgo --noEmit",
"grammar:build": "pnpm grammar:build:typescript",
"grammar:build:typescript": "cat src/grammar/TSQLLexer.typescript.g4 > src/grammar/TSQLLexer.g4 && tail -n +2 src/grammar/TSQLLexer.common.g4 |sed s/isOpeningTag/self.isOpeningTag/ >> src/grammar/TSQLLexer.g4 && antlr4ts src/grammar/TSQLLexer.g4 && rm src/grammar/TSQLLexer.g4 && antlr4ts -visitor -no-listener -Dlanguage=TypeScript src/grammar/TSQLParser.g4",
"test": "vitest --sequence.concurrent=false --no-file-parallelism",
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/tsql/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"target": "ES2019",
"lib": ["ES2019", "DOM", "DOM.Iterable", "DOM.AsyncIterable"],
"module": "ESNext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"moduleDetection": "force",
"verbatimModuleSyntax": false,
"types": ["vitest/globals"],
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/zod-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"@types/pg": "8.6.6"
},
"scripts": {
"typecheck": "tsc --noEmit"
"typecheck": "tsgo --noEmit"
}
}
4 changes: 2 additions & 2 deletions internal-packages/zod-worker/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"compilerOptions": {
"target": "ES2019",
"lib": ["ES2019", "DOM", "DOM.Iterable", "DOM.AsyncIterable"],
"module": "CommonJS",
"moduleResolution": "Node",
"module": "ESNext",
"moduleResolution": "bundler",
"moduleDetection": "force",
"verbatimModuleSyntax": false,
"types": ["vitest/globals"],
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
"@manypkg/cli": "^0.19.2",
"@playwright/test": "^1.36.2",
"@trigger.dev/database": "workspace:*",
"@types/node": "20.14.14",
"@types/node": "20.19.39",
"@typescript/native-preview": "7.0.0-dev.20260421.2",
Comment on lines +55 to +56
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Description: Verify registry metadata for the pinned compiler packages and confirm pnpm-lock.yaml contains them.
# Expected:
# - `@typescript/native-preview` metadata includes a tsgo bin and platform optional dependencies.
# - `@types/node`@20.19.39 exists.
# - pnpm-lock.yaml includes `@typescript/native-preview` and platform package entries.

npm view `@typescript/native-preview`@7.0.0-dev.20260421.2 bin optionalDependencies --json
npm view `@types/node`@20.19.39 version --json

lockfile="$(fd -H '^pnpm-lock\.yaml$' | head -n 1)"
test -n "$lockfile"

rg -n '@typescript/native-preview|@typescript/native-preview-|@types/node' "$lockfile"

Repository: triggerdotdev/trigger.dev

Length of output: 787


Regenerate pnpm-lock.yaml to include @typescript/native-preview and its platform packages.

The @typescript/native-preview@7.0.0-dev.20260421.2 package is properly configured in the registry with the tsgo binary and all platform-specific optional dependencies. However, pnpm-lock.yaml does not include entries for this package or its platform variants. Run pnpm install to update the lockfile.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` around lines 55 - 56, Run pnpm install to regenerate
pnpm-lock.yaml so the new package
`@typescript/native-preview`@7.0.0-dev.20260421.2 and its platform-specific
optional dependencies are recorded; after installing, verify the lockfile
contains entries for "@typescript/native-preview" and its platform variants
(tsgo binary/platform packages), then commit the updated pnpm-lock.yaml.

"@vitest/coverage-v8": "3.1.4",
"autoprefixer": "^10.4.12",
"eslint-plugin-turbo": "^2.0.4",
Expand Down Expand Up @@ -87,7 +88,7 @@
},
"overrides": {
"typescript": "5.5.4",
"@types/node": "20.14.14",
"@types/node": "20.19.39",
"express@^4>body-parser": "1.20.3",
"@remix-run/dev@2.17.4>tar-fs": "2.1.4",
"testcontainers@10.28.0>tar-fs": "3.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"clean": "rimraf dist .tshy .tshy-build .turbo",
"build": "tshy && pnpm run update-version",
"dev": "tshy --watch",
"typecheck": "tsc --noEmit -p tsconfig.src.json",
"typecheck": "tsgo --noEmit -p tsconfig.src.json",
"update-version": "tsx ../../scripts/updateVersion.ts",
"check-exports": "attw --pack ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-v3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
},
"scripts": {
"clean": "rimraf dist .tshy .tshy-build .turbo",
"typecheck": "tsc -p tsconfig.src.json --noEmit",
"typecheck": "tsgo -p tsconfig.src.json --noEmit",
"build": "tshy && pnpm run update-version",
"dev": "tshy --watch",
"test": "vitest",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli-v3/src/apiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,8 @@ export class CliApiClient {
source.onConnectionError((error) => {
let message = error.message ?? "Unknown error";

if (error.status !== undefined) {
message = `HTTP ${error.status} ${message}`;
if (error.code !== undefined) {
message = `HTTP ${error.code} ${message}`;
}

resolvePromise({
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
"bundle-vendor": "node scripts/bundle-superjson.mjs",
"build": "pnpm run bundle-vendor && tshy && node scripts/bundle-superjson.mjs --copy && pnpm run update-version",
"dev": "pnpm run bundle-vendor && tshy --watch",
"typecheck": "pnpm run bundle-vendor && tsc --noEmit -p tsconfig.src.json",
"typecheck": "pnpm run bundle-vendor && tsgo --noEmit -p tsconfig.src.json",
"pretest": "pnpm run bundle-vendor",
"test": "vitest",
"check-exports": "attw --pack ."
Expand Down
4 changes: 2 additions & 2 deletions packages/python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"clean": "rimraf dist",
"build": "tshy && pnpm run update-version",
"dev": "tshy --watch",
"typecheck": "tsc --noEmit -p tsconfig.src.json",
"typecheck": "tsgo --noEmit -p tsconfig.src.json",
"update-version": "tsx ../../scripts/updateVersion.ts",
"check-exports": "attw --pack ."
},
Expand All @@ -49,7 +49,7 @@
"tinyexec": "^0.3.2"
},
"devDependencies": {
"@types/node": "20.14.14",
"@types/node": "20.19.39",
"rimraf": "6.0.1",
"tshy": "^3.0.2",
"typescript": "^5.5.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"clean": "rimraf dist .tshy .tshy-build .turbo",
"build": "tshy && pnpm run update-version",
"dev": "tshy --watch",
"typecheck": "tsc --noEmit",
"typecheck": "tsgo --noEmit",
"update-version": "tsx ../../scripts/updateVersion.ts",
"check-exports": "attw --pack ."
},
Expand Down
Loading
Loading