Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
Make postinstall default export
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaun Lloyd committed Aug 9, 2023
1 parent 55419e5 commit 252d20c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion postinstall.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/usr/bin/env node
require("./bin/postinstall.js");
const autoConfig = require("./bin/postinstall.js");

module.exports = autoConfig;
2 changes: 1 addition & 1 deletion src/postinstall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ const automigrate = async () => {
logger.plain("✨ Done");
};

automigrate();
export default automigrate;

0 comments on commit 252d20c

Please sign in to comment.