From e944ff028639de0e3263aa57cc0c6bafea64e292 Mon Sep 17 00:00:00 2001 From: Adam <2363879+adamdotdevin@users.noreply.github.com> Date: Thu, 30 Oct 2025 12:13:02 -0500 Subject: [PATCH] wip: desktop work --- bun.lock | 1 + packages/ui/package.json | 1 + packages/ui/tsconfig.json | 14 +++++++++++--- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/bun.lock b/bun.lock index c651e3a6..3dbe4eac 100644 --- a/bun.lock +++ b/bun.lock @@ -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 520baf6e..0b3064e3 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 8b4ebee2..440aa8f9 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" + ] } }