From 0cde7ff7720f0231652add94671c709682dd2e68 Mon Sep 17 00:00:00 2001 From: Il Harper Date: Tue, 5 Mar 2024 00:03:23 +0800 Subject: [PATCH] chore: update build scipts --- package.json | 2 +- scripts/clean.cts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 50ea82c..9f07322 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ ], "scripts": { "clean": "ts-node -T scripts/clean.cts", - "build": "concurrently -n shell \"yarn workspace @chronocat/shell build\"" + "build": "concurrently -n shell \"yarn workspace @chronocat/shell build\" && concurrently -n api,event \"yarn workspace @chronocat/engine-chronocat-api build\" \"yarn workspace @chronocat/engine-chronocat-event build\"" }, "resolutions": { "ts-node": "11.0.0-beta.1" diff --git a/scripts/clean.cts b/scripts/clean.cts index d4fc02c..e60e952 100644 --- a/scripts/clean.cts +++ b/scripts/clean.cts @@ -7,6 +7,10 @@ void Promise.all( '../packages/shell/lib', '../packages/shell/generated', '../packages/shell/tsconfig.tsbuildinfo', + '../packages/engine-chronocat-api/lib', + '../packages/engine-chronocat-api/tsconfig.tsbuildinfo', + '../packages/engine-chronocat-event/lib', + '../packages/engine-chronocat-event/tsconfig.tsbuildinfo', '../packages/llqqntv0/lib', '../packages/llqqntv1/lib', '../packages/docs/static/config-v0.schema.json',