aboutsummaryrefslogtreecommitdiff
path: root/test/cli/install/migration/complex-workspace/packages/with-postinstall/postinstall.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/cli/install/migration/complex-workspace/packages/with-postinstall/postinstall.js')
-rw-r--r--test/cli/install/migration/complex-workspace/packages/with-postinstall/postinstall.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/cli/install/migration/complex-workspace/packages/with-postinstall/postinstall.js b/test/cli/install/migration/complex-workspace/packages/with-postinstall/postinstall.js
new file mode 100644
index 000000000..88ed99cf4
--- /dev/null
+++ b/test/cli/install/migration/complex-workspace/packages/with-postinstall/postinstall.js
@@ -0,0 +1,6 @@
+import { writeFileSync } from "fs";
+
+writeFileSync(import.meta.dir + "/postinstall.txt", `i ran!`);
+
+// TODO: postinstall doesnt run sharp's scripts yet :(
+// import "sharp";