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',