diff --git a/api/cron/monitor-chutes.ts b/packages/web/api/cron/monitor-chutes.ts similarity index 94% rename from api/cron/monitor-chutes.ts rename to packages/web/api/cron/monitor-chutes.ts index e0cfe55a3..51b2f2c9c 100644 --- a/api/cron/monitor-chutes.ts +++ b/packages/web/api/cron/monitor-chutes.ts @@ -1,4 +1,4 @@ -import { runMonitor, round6 } from '../../packages/monitor/index.ts' +import { runMonitor, round6 } from '../../../monitor/index.ts' export const config = { maxDuration: 60 } diff --git a/api/cron/monitor-openrouter.ts b/packages/web/api/cron/monitor-openrouter.ts similarity index 93% rename from api/cron/monitor-openrouter.ts rename to packages/web/api/cron/monitor-openrouter.ts index cb3469d2d..0fb8fe684 100644 --- a/api/cron/monitor-openrouter.ts +++ b/packages/web/api/cron/monitor-openrouter.ts @@ -1,4 +1,4 @@ -import { runMonitor, round6 } from '../../packages/monitor/index.ts' +import { runMonitor, round6 } from '../../../monitor/index.ts' export const config = { maxDuration: 60 } diff --git a/packages/web/tsconfig.json b/packages/web/tsconfig.json index 606701d62..faa634866 100644 --- a/packages/web/tsconfig.json +++ b/packages/web/tsconfig.json @@ -12,6 +12,8 @@ ], "strict": true, "esModuleInterop": true, + "allowImportingTsExtensions": true, + "noEmit": true, "skipLibCheck": true, "forceConsistentCasingInFileNames": true }