Skip to content

Conversation

@pipopotamasu
Copy link
Collaborator

@pipopotamasu pipopotamasu commented Aug 8, 2025

I added prepare hook in this PR to run husky command when installing dependencies, but I noticed the hook also works when publishing a new version of the library which is not what I expected.

This PR replaces "prepare" hook with "postintall" to prevent it from running when publishing a new version.

Replaced "prepare" hook with "postintall" to prevent it from running when publishing a new version
@pipopotamasu pipopotamasu marked this pull request as ready for review August 8, 2025 18:50
Copy link

@fallenAfter fallenAfter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pipopotamasu pipopotamasu merged commit 4a284df into master Aug 11, 2025
3 checks passed
@pipopotamasu pipopotamasu deleted the postinstall-husky branch August 11, 2025 13:09
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.

3 participants