Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
bd78d54
bump all to 6.0.3
carderne Jul 20, 2026
d510b89
5to6
carderne Jul 20, 2026
9ba7cf4
chore(tsconfig): drop TS6-deprecated compiler options
carderne Jul 20, 2026
a03319e
fix(core): type RandomFiller buffer as ArrayBuffer for TS6
carderne Jul 20, 2026
fca85aa
chore(tsconfig): restore @types/node and fix declaration builds for TS6
carderne Jul 20, 2026
3748796
chore(redis-worker,plugins): silence tsup-injected baseUrl deprecation
carderne Jul 20, 2026
95d24ac
fix(tsconfig): use rootDir '.' for packages whose exports keep the sr…
carderne Jul 20, 2026
787c52c
fix(rbac,sso): exclude dist from noEmit typecheck
carderne Jul 20, 2026
462f6b6
fix(cli): use ErrorEvent.code from eventsource v3
carderne Jul 20, 2026
99c3cc2
fix(webapp): TS6 lib compat in otel ingest and realtime streams
carderne Jul 20, 2026
272daa8
build(tsup): patch out injected baseUrl instead of silencing it
carderne Jul 20, 2026
75c3f2f
chore(tsql): use bundler module resolution instead of node10
carderne Jul 20, 2026
c3bff81
format
carderne Jul 20, 2026
b3637cc
chore: bump @arethetypeswrong/cli to ^0.18.5 for TS6
carderne Jul 20, 2026
09ca62f
fix: add node types to python build and sdk-compat ts fixture
carderne Jul 20, 2026
28c69d0
chore(cli e2e): keep fixtures on typescript 5.5.4
carderne Jul 20, 2026
c31a786
chore(cli): preserve error handling during TS6 upgrade
carderne Jul 21, 2026
b3b6fe7
restore llm-model-catalog from main
carderne Jul 21, 2026
d1bd8a0
fix(cli): include status in deployment connection errors
carderne Jul 21, 2026
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
13 changes: 9 additions & 4 deletions apps/webapp/app/routes/otel.v1.logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ export async function action({ request }: ActionFunctionArgs) {
await exporter.exportLogsRaw(new Uint8Array(buffer));

return new Response(
ExportLogsServiceResponse.encode(ExportLogsServiceResponse.create()).finish(),
ExportLogsServiceResponse.encode(
ExportLogsServiceResponse.create()
).finish() as Uint8Array<ArrayBuffer>,
{ status: 200 }
);
}
Expand All @@ -30,9 +32,12 @@ export async function action({ request }: ActionFunctionArgs) {

const exportResponse = await exporter.exportLogs(exportRequest);

return new Response(ExportLogsServiceResponse.encode(exportResponse).finish(), {
status: 200,
});
return new Response(
ExportLogsServiceResponse.encode(exportResponse).finish() as Uint8Array<ArrayBuffer>,
{
status: 200,
}
);
} else {
return new Response(
"Unsupported content type. Must be either application/x-protobuf or application/json",
Expand Down
13 changes: 9 additions & 4 deletions apps/webapp/app/routes/otel.v1.metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ export async function action({ request }: ActionFunctionArgs) {
await exporter.exportMetricsRaw(new Uint8Array(buffer));

return new Response(
ExportMetricsServiceResponse.encode(ExportMetricsServiceResponse.create()).finish(),
ExportMetricsServiceResponse.encode(
ExportMetricsServiceResponse.create()
).finish() as Uint8Array<ArrayBuffer>,
{ status: 200 }
);
}
Expand All @@ -34,9 +36,12 @@ export async function action({ request }: ActionFunctionArgs) {

const exportResponse = await exporter.exportMetrics(exportRequest);

return new Response(ExportMetricsServiceResponse.encode(exportResponse).finish(), {
status: 200,
});
return new Response(
ExportMetricsServiceResponse.encode(exportResponse).finish() as Uint8Array<ArrayBuffer>,
{
status: 200,
}
);
} else {
return new Response(
"Unsupported content type. Must be either application/x-protobuf or application/json",
Expand Down
13 changes: 9 additions & 4 deletions apps/webapp/app/routes/otel.v1.traces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ export async function action({ request }: ActionFunctionArgs) {
await exporter.exportTracesRaw(new Uint8Array(buffer));

return new Response(
ExportTraceServiceResponse.encode(ExportTraceServiceResponse.create()).finish(),
ExportTraceServiceResponse.encode(
ExportTraceServiceResponse.create()
).finish() as Uint8Array<ArrayBuffer>,
{ status: 200 }
);
}
Expand All @@ -30,9 +32,12 @@ export async function action({ request }: ActionFunctionArgs) {

const exportResponse = await exporter.exportTraces(exportRequest);

return new Response(ExportTraceServiceResponse.encode(exportResponse).finish(), {
status: 200,
});
return new Response(
ExportTraceServiceResponse.encode(exportResponse).finish() as Uint8Array<ArrayBuffer>,
{
status: 200,
}
);
} else {
return new Response(
"Unsupported content type. Must be either application/x-protobuf or application/json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,9 @@ export class RedisRealtimeStreams implements StreamIngestor, StreamResponder {
let currentChunkIndex = startChunk;

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

while (true) {
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/tsconfig.check.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
},
"customConditions": []
},
"exclude": ["**/*.test.ts", "**/*.test.tsx"]
"exclude": ["**/*.test.ts", "**/*.test.tsx", "test/setup-test-env.ts"]
}
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/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"moduleResolution": "Node16",
"moduleDetection": "force",
"verbatimModuleSyntax": false,
"types": ["vitest/globals"],
"types": ["vitest/globals", "node"],
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
Expand Down
2 changes: 2 additions & 0 deletions internal-packages/clickhouse/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.test.ts"],
"compilerOptions": {
"types": ["node"],
"rootDir": ".",
"composite": true,
"target": "ES2019",
"lib": ["ES2019", "DOM", "DOM.Iterable", "DOM.AsyncIterable"],
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/clickhouse/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"moduleResolution": "Node16",
"moduleDetection": "force",
"verbatimModuleSyntax": false,
"types": ["vitest/globals"],
"types": ["vitest/globals", "node"],
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
Expand Down
3 changes: 2 additions & 1 deletion internal-packages/dashboard-agent-db/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"preserveWatchOutput": true,
"skipLibCheck": true,
"noEmit": true,
"strict": true
"strict": true,
"types": ["node"]
},
"exclude": ["node_modules", "drizzle"]
}
2 changes: 1 addition & 1 deletion internal-packages/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"db:studio": "prisma studio",
"db:reset": "prisma migrate reset",
"typecheck": "tsc --noEmit",
"build": "pnpm run clean && tsc --noEmit false --outDir dist --declaration",
"build": "pnpm run clean && tsc -p tsconfig.build.json",
"dev": "tsc --noEmit false --outDir dist --declaration --watch"
}
}
12 changes: 12 additions & 0 deletions internal-packages/database/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.test.ts"],
"compilerOptions": {
"noEmit": false,
"declaration": true,
"outDir": "dist",
"rootDir": "src",
"types": ["node"]
}
}
5 changes: 3 additions & 2 deletions internal-packages/database/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"moduleResolution": "node",
"module": "nodenext",
"moduleResolution": "nodenext",
"preserveWatchOutput": true,
"skipLibCheck": true,
"noEmit": true,
"strict": true
},
"exclude": ["node_modules"]
"exclude": ["node_modules", "dist"]
}
4 changes: 2 additions & 2 deletions internal-packages/emails/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"noEmit": true,
"incremental": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"module": "nodenext",
"moduleResolution": "nodenext",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
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/rbac/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"clean": "rimraf dist",
"typecheck": "tsc --noEmit",
"build": "pnpm run clean && tsc --noEmit false --outDir dist --declaration",
"build": "pnpm run clean && tsc -p tsconfig.build.json",
"dev": "tsc --noEmit false --outDir dist --declaration --watch",
"test": "vitest run",
"test:watch": "vitest"
Expand Down
12 changes: 12 additions & 0 deletions internal-packages/rbac/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.test.ts"],
"compilerOptions": {
"noEmit": false,
"declaration": true,
"outDir": "dist",
"rootDir": ".",
"types": ["node"]
}
}
2 changes: 1 addition & 1 deletion internal-packages/rbac/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"strict": true,
"customConditions": ["@triggerdotdev/source"]
},
"exclude": ["node_modules"]
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion internal-packages/redis/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"moduleResolution": "Node16",
"moduleDetection": "force",
"verbatimModuleSyntax": false,
"types": ["vitest/globals"],
"types": ["vitest/globals", "node"],
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
Expand Down
2 changes: 2 additions & 0 deletions internal-packages/replication/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.test.ts"],
"compilerOptions": {
"types": ["node"],
"rootDir": ".",
"composite": true,
"target": "ES2020",
"lib": ["ES2020", "DOM", "DOM.Iterable", "DOM.AsyncIterable"],
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/replication/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"moduleResolution": "Node16",
"moduleDetection": "force",
"verbatimModuleSyntax": false,
"types": ["vitest/globals"],
"types": ["vitest/globals", "node"],
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
Expand Down
2 changes: 2 additions & 0 deletions internal-packages/run-engine/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.test.ts", "src/engine/tests/utils/*.ts"],
"compilerOptions": {
"types": ["node"],
"rootDir": ".",
"composite": true,
"target": "ES2020",
"lib": ["ES2020", "DOM", "DOM.Iterable", "DOM.AsyncIterable"],
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/run-engine/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"moduleResolution": "Node16",
"moduleDetection": "force",
"verbatimModuleSyntax": false,
"types": ["vitest/globals"],
"types": ["vitest/globals", "node"],
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/run-ops-database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"db:push": "prisma db push",
"test": "vitest run",
"typecheck": "tsc --noEmit",
"build": "pnpm run clean && tsc --noEmit false --outDir dist --declaration",
"build": "pnpm run clean && tsc -p tsconfig.build.json",
"dev": "tsc --noEmit false --outDir dist --declaration --watch",
"db:studio": "prisma studio",
"db:reset": "prisma migrate reset"
Expand Down
12 changes: 12 additions & 0 deletions internal-packages/run-ops-database/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.test.ts"],
"compilerOptions": {
"noEmit": false,
"declaration": true,
"outDir": "dist",
"rootDir": "src",
"types": ["node"]
}
}
3 changes: 2 additions & 1 deletion internal-packages/run-ops-database/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"moduleResolution": "node",
"module": "nodenext",
"moduleResolution": "nodenext",
"preserveWatchOutput": true,
"skipLibCheck": true,
"noEmit": true,
Expand Down
2 changes: 2 additions & 0 deletions internal-packages/run-store/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.test.ts"],
"compilerOptions": {
"types": ["node"],
"rootDir": ".",
"composite": true,
"target": "ES2020",
"lib": ["ES2020", "DOM", "DOM.Iterable", "DOM.AsyncIterable"],
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/run-store/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"moduleResolution": "Node16",
"moduleDetection": "force",
"verbatimModuleSyntax": false,
"types": ["vitest/globals"],
"types": ["vitest/globals", "node"],
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
Expand Down
2 changes: 2 additions & 0 deletions internal-packages/schedule-engine/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.test.ts"],
"compilerOptions": {
"types": ["node"],
"rootDir": ".",
"composite": true,
"target": "ES2020",
"lib": ["ES2020", "DOM", "DOM.Iterable", "DOM.AsyncIterable"],
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/schedule-engine/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"moduleResolution": "Node16",
"moduleDetection": "force",
"verbatimModuleSyntax": false,
"types": ["vitest/globals"],
"types": ["vitest/globals", "node"],
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
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 @@ -14,7 +14,7 @@
"devDependencies": {
"esbuild": "^0.24.0",
"execa": "^9.3.0",
"typescript": "^5.5.0",
"typescript": "catalog:",
"vitest": "4.1.7"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"noEmit": true
"noEmit": true,
"types": ["node"]
},
"include": ["test.ts"]
}
2 changes: 1 addition & 1 deletion internal-packages/sso/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"scripts": {
"clean": "rimraf dist",
"typecheck": "tsc --noEmit",
"build": "pnpm run clean && tsc --noEmit false --outDir dist --declaration",
"build": "pnpm run clean && tsc -p tsconfig.build.json",
"dev": "tsc --noEmit false --outDir dist --declaration --watch",
"test": "vitest run",
"test:watch": "vitest"
Expand Down
12 changes: 12 additions & 0 deletions internal-packages/sso/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.test.ts"],
"compilerOptions": {
"noEmit": false,
"declaration": true,
"outDir": "dist",
"rootDir": ".",
"types": ["node"]
}
}
2 changes: 1 addition & 1 deletion internal-packages/sso/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"strict": true,
"customConditions": ["@triggerdotdev/source"]
},
"exclude": ["node_modules"]
"exclude": ["node_modules", "dist"]
}
Loading
Loading