aboutsummaryrefslogtreecommitdiff
path: root/test/cli/install/migration/complex-workspace/reset.ts
diff options
context:
space:
mode:
authorGravatar Dylan Conway <dylan.conway567@gmail.com> 2023-10-14 12:58:30 -0700
committerGravatar Dylan Conway <dylan.conway567@gmail.com> 2023-10-14 12:58:30 -0700
commitf9add8b6bea4df3cdbd56a21f17e4cab1a854e4e (patch)
tree8e5306104d81c67b771181337bba02cd9ec39453 /test/cli/install/migration/complex-workspace/reset.ts
parent81a1a58d66c598ea35c42453d0ba4c6341a940fc (diff)
parent9b5e66453b0879ed77b71dcdbe50e4efa184261e (diff)
downloadbun-f9add8b6bea4df3cdbd56a21f17e4cab1a854e4e.tar.gz
bun-f9add8b6bea4df3cdbd56a21f17e4cab1a854e4e.tar.zst
bun-f9add8b6bea4df3cdbd56a21f17e4cab1a854e4e.zip
Merge branch 'main' into sdlsdl
Diffstat (limited to 'test/cli/install/migration/complex-workspace/reset.ts')
-rw-r--r--test/cli/install/migration/complex-workspace/reset.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/cli/install/migration/complex-workspace/reset.ts b/test/cli/install/migration/complex-workspace/reset.ts
new file mode 100644
index 000000000..6573d9811
--- /dev/null
+++ b/test/cli/install/migration/complex-workspace/reset.ts
@@ -0,0 +1,9 @@
+import fs from "fs";
+
+fs.rmSync("bun.lockb", { recursive: true, force: true });
+fs.rmSync("node_modules", { recursive: true, force: true });
+fs.rmSync("packages/body-parser/node_modules", { recursive: true, force: true });
+fs.rmSync("packages/lol-package/node_modules", { recursive: true, force: true });
+fs.rmSync("packages/second/node_modules", { recursive: true, force: true });
+fs.rmSync("packages/with-postinstall/node_modules", { recursive: true, force: true });
+fs.rmSync("packages/with-postinstall/postinstall.txt", { recursive: true, force: true });