diff options
| author | Adam <[email protected]> | 2025-10-30 12:13:02 -0500 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-10-30 12:13:02 -0500 |
| commit | e944ff028639de0e3263aa57cc0c6bafea64e292 (patch) | |
| tree | bd7ebbc2d8c2d561db1fb21a7550fa1f9d118cdd | |
| parent | ee7612a31c02ea442d8bf3e5d3b75ff572fac26a (diff) | |
| download | opencode-e944ff028639de0e3263aa57cc0c6bafea64e292.tar.gz opencode-e944ff028639de0e3263aa57cc0c6bafea64e292.zip | |
wip: desktop work
| -rw-r--r-- | bun.lock | 1 | ||||
| -rw-r--r-- | packages/ui/package.json | 1 | ||||
| -rw-r--r-- | packages/ui/tsconfig.json | 14 |
3 files changed, 13 insertions, 3 deletions
@@ -291,6 +291,7 @@ }, "devDependencies": { "@tailwindcss/vite": "catalog:", + "@tsconfig/node22": "catalog:", "@types/bun": "catalog:", "tailwindcss": "catalog:", "typescript": "catalog:", diff --git a/packages/ui/package.json b/packages/ui/package.json index 520baf6e7..0b3064e3a 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -17,6 +17,7 @@ }, "devDependencies": { "@types/bun": "catalog:", + "@tsconfig/node22": "catalog:", "typescript": "catalog:", "vite": "catalog:", "vite-plugin-solid": "catalog:", diff --git a/packages/ui/tsconfig.json b/packages/ui/tsconfig.json index 8b4ebee2b..440aa8f9b 100644 --- a/packages/ui/tsconfig.json +++ b/packages/ui/tsconfig.json @@ -1,10 +1,11 @@ { + "$schema": "https://json.schemastore.org/tsconfig", + "extends": "@tsconfig/node22/tsconfig.json", "compilerOptions": { // General "jsx": "preserve", "jsxImportSource": "solid-js", "target": "ESNext", - // Modules "allowSyntheticDefaultImports": true, "esModuleInterop": true, @@ -12,9 +13,16 @@ "module": "ESNext", "moduleResolution": "bundler", "noEmit": true, - + "lib": [ + "es2022", + "dom", + "dom.iterable" + ], // Type Checking & Safety "strict": true, - "types": ["vite/client"] + "types": [ + "vite/client", + "bun" + ] } } |
