Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace postinstall script with prepare #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

djcsdy
Copy link

@djcsdy djcsdy commented Dec 20, 2024

It is not safe to run pinst in the prepack script.

See also #24, #23, #22.

It seems like a bad idea to keep the broken prepack script in the source of pinst itself.

Since we build and publish pinst using npm, not yarn, we can run husky in the prepare step instead of postinstall. Then we don't need to use pinst to publish pinst :-).

It's not safe to do this.

See: https://gist.github.com/djcsdy/3ca078e23fdac4c50e077c84e8284a95

Since we build and publish pinst using npm, not yarn,
we can run husky in the prepare step instead of
postinstall. Then we don't need to use pinst to
publish pinst :-).
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.

1 participant