Skip to content

fix: change simple-git-hooks from postinstall to prepare#4

Merged
arshad-yaseen merged 1 commit intobunup:mainfrom
ryohidaka:fix/post-install-script
Jan 31, 2026
Merged

fix: change simple-git-hooks from postinstall to prepare#4
arshad-yaseen merged 1 commit intobunup:mainfrom
ryohidaka:fix/post-install-script

Conversation

@ryohidaka
Copy link
Copy Markdown
Contributor

Summary

Change postinstall to prepare on package.json

Why

When a library created with Bunup is installed via npm install in an environment where Bun is not installed, an error occurs.

How

The post-install script runs both on the end-user's side, so change it to prepare to ensure it only runs in the developer's environment.

@arshad-yaseen
Copy link
Copy Markdown
Collaborator

Yeah, thank you so much! It's was a critical issue, we already fixed this in bunup repo yesterday: bunup/bunup@590e0cd

@arshad-yaseen arshad-yaseen merged commit 973ca62 into bunup:main Jan 31, 2026
@ryohidaka ryohidaka deleted the fix/post-install-script branch January 31, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants