From be6e9c95b5756ed226d3ce171090eb4ff3387771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=8E=E5=A3=B0?= Date: Tue, 12 Sep 2023 11:01:34 +0800 Subject: [PATCH] chore: adjust command dependency --- package.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index c78e8284..acc9e22c 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ ], "scripts": { "format": "prettier --write '**/*.{js,css,json,md}'", - "ts:check": "tsc -p ./tsconfig.build.json --noEmit", + "tsc:build": "wireit", "build": "wireit", "build:libs": "wireit", "build:cfworker": "wireit", @@ -40,11 +40,16 @@ "build:libs": { "command": "lerna run build --stream --scope @opensumi/*" }, + "tsc:build": { + "command": "tsc -p ./tsconfig.build.json --noEmit", + "dependencies": [ + "build:libs" + ] + }, "build": { "command": "run-p build:cfworker build:node", "dependencies": [ - "build:libs", - "ts:check", + "tsc:build", "gen" ] },