summaryrefslogtreecommitdiffhomepage
path: root/packages/ui
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-10-30 12:13:02 -0500
committerAdam <[email protected]>2025-10-30 12:13:02 -0500
commite944ff028639de0e3263aa57cc0c6bafea64e292 (patch)
treebd7ebbc2d8c2d561db1fb21a7550fa1f9d118cdd /packages/ui
parentee7612a31c02ea442d8bf3e5d3b75ff572fac26a (diff)
downloadopencode-e944ff028639de0e3263aa57cc0c6bafea64e292.tar.gz
opencode-e944ff028639de0e3263aa57cc0c6bafea64e292.zip
wip: desktop work
Diffstat (limited to 'packages/ui')
-rw-r--r--packages/ui/package.json1
-rw-r--r--packages/ui/tsconfig.json14
2 files changed, 12 insertions, 3 deletions
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"
+ ]
}
}