From afc3b66efa5cd941fd7a43b3d0e35ce0f1068979 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Thu, 5 Mar 2026 12:08:48 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E6=A0=B9=20packa?= =?UTF-8?q?ge.json=20=E4=B8=AD=E5=86=97=E4=BD=99=E7=9A=84=20--filter=20?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Turbo 会自动只在定义了对应 script 的包上执行任务,无需手动指定 filter。 --- package.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 2b3c3f5..b241415 100644 --- a/package.json +++ b/package.json @@ -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" },