Răsfoiți Sursa

wip: desktop work

Adam 3 luni în urmă
părinte
comite
e944ff0286
3 a modificat fișierele cu 13 adăugiri și 3 ștergeri
  1. 1 0
      bun.lock
  2. 1 0
      packages/ui/package.json
  3. 11 3
      packages/ui/tsconfig.json

+ 1 - 0
bun.lock

@@ -291,6 +291,7 @@
       },
       },
       "devDependencies": {
       "devDependencies": {
         "@tailwindcss/vite": "catalog:",
         "@tailwindcss/vite": "catalog:",
+        "@tsconfig/node22": "catalog:",
         "@types/bun": "catalog:",
         "@types/bun": "catalog:",
         "tailwindcss": "catalog:",
         "tailwindcss": "catalog:",
         "typescript": "catalog:",
         "typescript": "catalog:",

+ 1 - 0
packages/ui/package.json

@@ -17,6 +17,7 @@
   },
   },
   "devDependencies": {
   "devDependencies": {
     "@types/bun": "catalog:",
     "@types/bun": "catalog:",
+    "@tsconfig/node22": "catalog:",
     "typescript": "catalog:",
     "typescript": "catalog:",
     "vite": "catalog:",
     "vite": "catalog:",
     "vite-plugin-solid": "catalog:",
     "vite-plugin-solid": "catalog:",

+ 11 - 3
packages/ui/tsconfig.json

@@ -1,10 +1,11 @@
 {
 {
+  "$schema": "https://json.schemastore.org/tsconfig",
+  "extends": "@tsconfig/node22/tsconfig.json",
   "compilerOptions": {
   "compilerOptions": {
     // General
     // General
     "jsx": "preserve",
     "jsx": "preserve",
     "jsxImportSource": "solid-js",
     "jsxImportSource": "solid-js",
     "target": "ESNext",
     "target": "ESNext",
-
     // Modules
     // Modules
     "allowSyntheticDefaultImports": true,
     "allowSyntheticDefaultImports": true,
     "esModuleInterop": true,
     "esModuleInterop": true,
@@ -12,9 +13,16 @@
     "module": "ESNext",
     "module": "ESNext",
     "moduleResolution": "bundler",
     "moduleResolution": "bundler",
     "noEmit": true,
     "noEmit": true,
-
+    "lib": [
+      "es2022",
+      "dom",
+      "dom.iterable"
+    ],
     // Type Checking & Safety
     // Type Checking & Safety
     "strict": true,
     "strict": true,
-    "types": ["vite/client"]
+    "types": [
+      "vite/client",
+      "bun"
+    ]
   }
   }
 }
 }