2024-03-03 16:22:39 +00:00
|
|
|
import { rm } from 'fs/promises'
|
|
|
|
import { resolve } from 'node:path'
|
|
|
|
|
|
|
|
void Promise.all(
|
|
|
|
[
|
|
|
|
'../build',
|
2024-03-09 18:32:24 +00:00
|
|
|
'../packages/red/src/.runOnChanged.hashes.json',
|
2024-03-05 12:07:23 +00:00
|
|
|
'../packages/red/lib',
|
|
|
|
'../packages/red/tsconfig.tsbuildinfo',
|
2024-03-09 18:32:24 +00:00
|
|
|
'../packages/shell/src/.runOnChanged.hashes.json',
|
2024-03-03 16:22:39 +00:00
|
|
|
'../packages/shell/lib',
|
2024-03-03 18:27:43 +00:00
|
|
|
'../packages/shell/generated',
|
2024-03-03 16:22:39 +00:00
|
|
|
'../packages/shell/tsconfig.tsbuildinfo',
|
2024-03-09 18:32:24 +00:00
|
|
|
'../packages/engine-chronocat-api/src/.runOnChanged.hashes.json',
|
2024-03-04 16:03:23 +00:00
|
|
|
'../packages/engine-chronocat-api/lib',
|
|
|
|
'../packages/engine-chronocat-api/tsconfig.tsbuildinfo',
|
2024-03-09 18:32:24 +00:00
|
|
|
'../packages/engine-chronocat-event/src/.runOnChanged.hashes.json',
|
2024-03-04 16:03:23 +00:00
|
|
|
'../packages/engine-chronocat-event/lib',
|
|
|
|
'../packages/engine-chronocat-event/tsconfig.tsbuildinfo',
|
2024-03-09 17:16:19 +00:00
|
|
|
'../packages/iife/lib',
|
2024-03-08 04:10:25 +00:00
|
|
|
'../packages/llqqnt/lib',
|
2024-03-03 18:27:43 +00:00
|
|
|
'../packages/docs/static/config-v0.schema.json',
|
|
|
|
'../packages/docs/static/openapi.yaml',
|
2024-03-03 16:22:39 +00:00
|
|
|
].map((x) =>
|
|
|
|
rm(resolve(__dirname, x), {
|
|
|
|
force: true,
|
|
|
|
recursive: true,
|
|
|
|
}),
|
|
|
|
),
|
|
|
|
)
|