Compare commits

...

2 Commits

Author SHA1 Message Date
afc3b66efa refactor: 移除根 package.json 中冗余的 --filter 参数
Turbo 会自动只在定义了对应 script 的包上执行任务,无需手动指定 filter。
2026-03-05 12:08:48 +08:00
3c97e9c3eb refactor: 移除根 turbo.json 中冗余的 compile/dist 任务定义
子包 turbo.json(extends root)已各自定义了完整配置,
根级重复注册无实际作用。
2026-03-05 12:06:11 +08:00
2 changed files with 8 additions and 40 deletions

View File

@@ -9,15 +9,15 @@
],
"scripts": {
"build": "turbo run build",
"compile": "turbo run compile --filter=@furtherverse/server",
"compile:darwin": "turbo run compile:darwin --filter=@furtherverse/server",
"compile:linux": "turbo run compile:linux --filter=@furtherverse/server",
"compile:windows": "turbo run compile:windows --filter=@furtherverse/server",
"compile": "turbo run compile",
"compile:darwin": "turbo run compile:darwin",
"compile:linux": "turbo run compile:linux",
"compile:windows": "turbo run compile:windows",
"dev": "turbo run dev",
"dist": "turbo run dist --filter=@furtherverse/desktop",
"dist:linux": "turbo run dist:linux --filter=@furtherverse/desktop",
"dist:mac": "turbo run dist:mac --filter=@furtherverse/desktop",
"dist:win": "turbo run dist:win --filter=@furtherverse/desktop",
"dist": "turbo run dist",
"dist:linux": "turbo run dist:linux",
"dist:mac": "turbo run dist:mac",
"dist:win": "turbo run dist:win",
"fix": "turbo run fix",
"typecheck": "turbo run typecheck"
},

View File

@@ -6,42 +6,10 @@
"build": {
"dependsOn": ["^build"]
},
"compile": {
"dependsOn": ["build"],
"cache": false
},
"compile:darwin": {
"dependsOn": ["build"],
"cache": false
},
"compile:linux": {
"dependsOn": ["build"],
"cache": false
},
"compile:windows": {
"dependsOn": ["build"],
"cache": false
},
"dev": {
"cache": false,
"persistent": true
},
"dist": {
"dependsOn": ["build"],
"cache": false
},
"dist:linux": {
"dependsOn": ["build"],
"cache": false
},
"dist:mac": {
"dependsOn": ["build"],
"cache": false
},
"dist:win": {
"dependsOn": ["build"],
"cache": false
},
"fix": {
"cache": false
},