pinst icon indicating copy to clipboard operation
pinst copied to clipboard

Replace postinstall script with prepare

Open djcsdy opened this issue 1 year ago • 0 comments

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 :-).

djcsdy avatar Dec 20 '24 08:12 djcsdy