This commit is contained in:
2025-04-02 17:53:50 +08:00
parent a65cd7b4ce
commit 839eac2894
9 changed files with 265 additions and 271 deletions

11
script/clear.ts Normal file
View File

@@ -0,0 +1,11 @@
import fs from 'fs';
import path from 'path';
export const root = process.cwd();
export const clearWorkspace = () => {
const files = ['submodules', 'packages', 'pnpm-workspace.yaml', 'turbo.json'];
for (const file of files) {
fs.rmSync(path.join(root, file), { recursive: true, force: true });
}
};