mirror of
https://github.com/chrononeko/chronocat.git
synced 2024-11-21 14:48:23 +00:00
34 lines
1.1 KiB
TypeScript
34 lines
1.1 KiB
TypeScript
import { rm } from 'fs/promises'
|
|
import { resolve } from 'node:path'
|
|
|
|
void Promise.all(
|
|
[
|
|
'../build',
|
|
'../packages/red/src/.runOnChanged.hashes.json',
|
|
'../packages/red/lib',
|
|
'../packages/red/tsconfig.tsbuildinfo',
|
|
'../packages/shell/src/.runOnChanged.hashes.json',
|
|
'../packages/shell/lib',
|
|
'../packages/shell/generated',
|
|
'../packages/shell/tsconfig.tsbuildinfo',
|
|
'../packages/engine-chronocat-api/src/.runOnChanged.hashes.json',
|
|
'../packages/engine-chronocat-api/lib',
|
|
'../packages/engine-chronocat-api/tsconfig.tsbuildinfo',
|
|
'../packages/engine-chronocat-event/src/.runOnChanged.hashes.json',
|
|
'../packages/engine-chronocat-event/lib',
|
|
'../packages/engine-chronocat-event/tsconfig.tsbuildinfo',
|
|
'../packages/engine-media/src/.runOnChanged.hashes.json',
|
|
'../packages/engine-media/lib',
|
|
'../packages/engine-media/tsconfig.tsbuildinfo',
|
|
'../packages/iife/lib',
|
|
'../packages/llqqnt/lib',
|
|
'../packages/docs/static/config-v0.schema.json',
|
|
'../packages/docs/static/openapi.yaml',
|
|
].map((x) =>
|
|
rm(resolve(__dirname, x), {
|
|
force: true,
|
|
recursive: true,
|
|
}),
|
|
),
|
|
)
|