- 添加 Turborepo 缓存目录到忽略列表 - 添加 Turbo 2.7.5 版本及其各平台兼容的二进制文件以支持多平台构建和开发环境。 - 使用 turbo 管理构建和开发脚本,统一构建流程并简化脚本配置 - 移除构建配置中的自定义开发和构建命令,使用默认的构建行为。 - 添加 Turbo 配置文件以定义构建和开发任务依赖关系,启用持久化开发模式并禁用包管理器检查。
24 lines
468 B
JSON
24 lines
468 B
JSON
{
|
|
"$schema": "./node_modules/turbo/schema.json",
|
|
"ui": "tui",
|
|
"dangerouslyDisablePackageManagerCheck": true,
|
|
"tasks": {
|
|
"build:compile": {
|
|
"dependsOn": ["build:vite"]
|
|
},
|
|
"build:tauri": {
|
|
"dependsOn": ["build:compile"]
|
|
},
|
|
"dev": {
|
|
"persistent": true,
|
|
"cache": false
|
|
},
|
|
"dev:tauri": {
|
|
"persistent": true,
|
|
"cache": false,
|
|
"dependsOn": ["build:compile"],
|
|
"with": ["dev:vite"]
|
|
}
|
|
}
|
|
}
|