diff options
| author | Dax Raad <[email protected]> | 2025-10-10 18:17:10 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-10-10 18:17:10 -0400 |
| commit | 07645e070525e627cda5cd4ad7f001f70cbc57dc (patch) | |
| tree | c8b7fcbcafbab3af819ca49625865b3d6463b15c /packages | |
| parent | f053862018aab62a02ae994dca6bb9b8aabc3298 (diff) | |
| download | opencode-07645e070525e627cda5cd4ad7f001f70cbc57dc.tar.gz opencode-07645e070525e627cda5cd4ad7f001f70cbc57dc.zip | |
ci: fixes
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/console/core/package.json | 3 | ||||
| -rw-r--r-- | packages/console/core/src/context.ts | 2 | ||||
| -rw-r--r-- | packages/console/function/package.json | 5 | ||||
| -rw-r--r-- | packages/desktop/tsconfig.json | 13 |
4 files changed, 18 insertions, 5 deletions
diff --git a/packages/console/core/package.json b/packages/console/core/package.json index be6723a86..a701dae37 100644 --- a/packages/console/core/package.json +++ b/packages/console/core/package.json @@ -30,7 +30,10 @@ "typecheck": "tsc --noEmit" }, "devDependencies": { + "@cloudflare/workers-types": "4.20251008.0", "@tsconfig/node22": "22.0.2", + "@types/bun": "1.3.0", + "@types/node": "24.7.1", "drizzle-kit": "0.30.5", "mysql2": "3.14.4" } diff --git a/packages/console/core/src/context.ts b/packages/console/core/src/context.ts index c2ca6a313..59594cb4a 100644 --- a/packages/console/core/src/context.ts +++ b/packages/console/core/src/context.ts @@ -14,7 +14,7 @@ export namespace Context { return result }, provide<R>(value: T, fn: () => R) { - return storage.run<R>(value, fn) + return storage.run(value, fn) }, } } diff --git a/packages/console/function/package.json b/packages/console/function/package.json index 16886a98a..97e5b8a87 100644 --- a/packages/console/function/package.json +++ b/packages/console/function/package.json @@ -8,7 +8,8 @@ "typecheck": "tsc --noEmit" }, "devDependencies": { - "@cloudflare/workers-types": "4.20250522.0", + "@cloudflare/workers-types": "4.20251008.0", + "@tsconfig/node22": "22.0.2", "@types/node": "catalog:", "openai": "5.11.0", "typescript": "catalog:" @@ -18,6 +19,8 @@ "@ai-sdk/openai": "2.0.2", "@ai-sdk/openai-compatible": "1.0.1", "@hono/zod-validator": "catalog:", + "@opencode-ai/console-core": "workspace:*", + "@opencode-ai/console-resource": "workspace:*", "@openauthjs/openauth": "0.0.0-20250322224806", "ai": "catalog:", "hono": "catalog:", diff --git a/packages/desktop/tsconfig.json b/packages/desktop/tsconfig.json index d86b8ca46..82541a6d3 100644 --- a/packages/desktop/tsconfig.json +++ b/packages/desktop/tsconfig.json @@ -1,11 +1,18 @@ { "$schema": "https://json.schemastore.org/tsconfig", - "extends": "@tsconfig/bun/tsconfig.json", "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "skipLibCheck": true, + "moduleResolution": "bundler", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, "jsx": "preserve", "jsxImportSource": "solid-js", - "types": ["vite/client"], - "lib": ["DOM", "DOM.Iterable"], + "allowJs": true, + "strict": true, + "noEmit": true, + "isolatedModules": true, "paths": { "@/*": ["./src/*"] } |
