refactor: 重构桌面端构建配置与依赖管理

- 删除桌面端构建配置文件
- 添加二进制文件复制工具,支持多平台目标映射并自动处理文件路径与扩展名,通过类型安全配置和错误处理确保构建流程稳定可靠。
- 添加依赖项以支持类型安全的模式定义和项目配置,并新增脚本用于复制二进制文件。
- 添加桌面应用的TypeScript配置文件并继承统一的tsconfig设置,排除node_modules和src-tauri目录。
- 添加必要的开发依赖项以支持类型检查和构建工具链
This commit is contained in:
2026-01-21 23:38:16 +08:00
parent 712ed1919f
commit 46984c2687
5 changed files with 465 additions and 0 deletions

View File

@@ -13,7 +13,12 @@
"name": "@furtherverse/desktop",
"version": "1.0.0",
"devDependencies": {
"@effect/schema": "catalog:",
"@furtherverse/tsconfig": "workspace:*",
"@tauri-apps/cli": "catalog:",
"@types/bun": "catalog:",
"effect": "catalog:",
"typescript": "catalog:",
},
},
"apps/server": {