Use prepack
and postpack
rather than prepublishOnly
and postpublish
#1159
Labels
prepack
and postpack
rather than prepublishOnly
and postpublish
#1159
As an app or addon publisher, I want my type definitions created in
prepack
so that I can use a non-standard publishing mechanism.According to the npm scripts documentation,
prepublishOnly
only runs onnpm publish
(and presumablyyarn publish
), but our CI/publish environment uses neither.I believe it would be more flexible to use
prepack
instead ofprepublishOnly
; and in the interest of making it symmetric, I suggest we also usepostpack
instead ofpostpublish
.The text was updated successfully, but these errors were encountered: