chore: 统一 Node/TypeScript 配置并修复桌面端类型环境

This commit is contained in:
2026-02-07 05:53:38 +08:00
parent 29969550ed
commit 26f9421130
7 changed files with 23 additions and 15 deletions

View File

@@ -15,7 +15,6 @@
},
"devDependencies": {
"@furtherverse/tsconfig": "workspace:*",
"@types/bun": "catalog:",
"typescript": "catalog:"
"@types/bun": "catalog:"
}
}

View File

@@ -1,3 +1,6 @@
{
"extends": "@furtherverse/tsconfig/bun.json"
"extends": "@furtherverse/tsconfig/bun.json",
"compilerOptions": {
"lib": ["ESNext", "DOM", "DOM.Iterable"]
}
}

View File

@@ -51,7 +51,6 @@
"effect": "catalog:",
"nitro": "catalog:",
"tailwindcss": "catalog:",
"typescript": "catalog:",
"vite": "catalog:",
"vite-tsconfig-paths": "catalog:"
}

View File

@@ -7,6 +7,7 @@
"devDependencies": {
"@biomejs/biome": "^2.3.14",
"turbo": "^2.8.3",
"typescript": "catalog:",
},
},
"apps/desktop": {
@@ -18,7 +19,6 @@
"devDependencies": {
"@furtherverse/tsconfig": "workspace:*",
"@types/bun": "catalog:",
"typescript": "catalog:",
},
},
"apps/server": {
@@ -61,7 +61,6 @@
"effect": "catalog:",
"nitro": "catalog:",
"tailwindcss": "catalog:",
"typescript": "catalog:",
"vite": "catalog:",
"vite-tsconfig-paths": "catalog:",
},
@@ -79,10 +78,12 @@
},
"devDependencies": {
"@furtherverse/tsconfig": "workspace:*",
"typescript": "catalog:",
},
},
},
"overrides": {
"@types/node": "catalog:",
},
"catalog": {
"@biomejs/biome": "^2.3.11",
"@effect/platform": "^0.94.3",
@@ -104,6 +105,7 @@
"@tanstack/react-router-ssr-query": "^1.158.1",
"@tanstack/react-start": "^1.158.3",
"@types/bun": "^1.3.8",
"@types/node": "^24.3.0",
"@vitejs/plugin-react": "^5.1.3",
"babel-plugin-react-compiler": "^1.0.0",
"drizzle-kit": "^0.31.8",
@@ -486,7 +488,7 @@
"@types/bun": ["@types/bun@1.3.8", "", { "dependencies": { "bun-types": "1.3.8" } }, "sha512-3LvWJ2q5GerAXYxO2mffLTqOzEu5qnhEAlh48Vnu8WQfnmSwbgagjGZV6BoHKJztENYEDn6QmVd949W4uESRJA=="],
"@types/node": ["@types/node@17.0.45", "", {}, "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw=="],
"@types/node": ["@types/node@24.10.11", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-/Af7O8r1frCVgOz0I62jWUtMohJ0/ZQU/ZoketltOJPZpnb17yoNc9BSoVuV9qlaIXJiPNOpsfq4ByFajSArNQ=="],
"@types/react": ["@types/react@19.2.13", "", { "dependencies": { "csstype": "^3.2.2" } }, "sha512-KkiJeU6VbYbUOp5ITMIc7kBfqlYkKA5KhEHVrGMmUUMt7NeaZg65ojdPk+FtNrBAOXNVM5QM72jnADjM+XVRAQ=="],
@@ -940,6 +942,8 @@
"undici": ["undici@7.21.0", "", {}, "sha512-Hn2tCQpoDt1wv23a68Ctc8Cr/BHpUSfaPYrkajTXOS9IKpxVRx/X5m1K2YkbK2ipgZgxXSgsUinl3x+2YdSSfg=="],
"undici-types": ["undici-types@7.16.0", "", {}, "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw=="],
"unenv": ["unenv@2.0.0-rc.24", "", { "dependencies": { "pathe": "^2.0.3" } }, "sha512-i7qRCmY42zmCwnYlh9H2SvLEypEFGye5iRmEMKjcGi7zk9UquigRjFtTLz0TYqr0ZGLZhaMHl/foy1bZR+Cwlw=="],
"unplugin": ["unplugin@2.3.11", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "acorn": "^8.15.0", "picomatch": "^4.0.3", "webpack-virtual-modules": "^0.6.2" } }, "sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww=="],

View File

@@ -1,4 +1,3 @@
[tools]
node = "latest"
bun = "1"
rust = 'latest'
node = "24"

View File

@@ -17,7 +17,8 @@
},
"devDependencies": {
"@biomejs/biome": "^2.3.14",
"turbo": "^2.8.3"
"turbo": "^2.8.3",
"typescript": "^5.9.3"
},
"catalog": {
"@biomejs/biome": "^2.3.11",
@@ -39,26 +40,30 @@
"@tanstack/react-router-devtools": "^1.158.1",
"@tanstack/react-router-ssr-query": "^1.158.1",
"@tanstack/react-start": "^1.158.3",
"electrobun": "^1.11.5-beta.5",
"@types/bun": "^1.3.8",
"@types/node": "^24.3.0",
"@vitejs/plugin-react": "^5.1.3",
"babel-plugin-react-compiler": "^1.0.0",
"drizzle-kit": "^0.31.8",
"drizzle-orm": "^0.45.1",
"drizzle-zod": "^0.8.3",
"effect": "^3.19.16",
"electrobun": "^1.11.5-beta.5",
"nitro": "npm:nitro-nightly@3.0.1-20260206-171553-bc737c0c",
"ohash": "^2.0.11",
"postgres": "^3.4.8",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"systeminformation": "^5.30.7",
"tailwindcss": "^4.1.18",
"turbo": "^2.7.5",
"typescript": "^5.9.3",
"uuid": "^13.0.0",
"systeminformation": "^5.30.7",
"vite": "^8.0.0-beta.13",
"vite-tsconfig-paths": "^6.0.5",
"zod": "^4.3.6"
},
"overrides": {
"@types/node": "catalog:"
}
}

View File

@@ -15,7 +15,6 @@
"systeminformation": "catalog:"
},
"devDependencies": {
"@furtherverse/tsconfig": "workspace:*",
"typescript": "catalog:"
"@furtherverse/tsconfig": "workspace:*"
}
}