Skip to content

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