Closed
Description
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 on npm publish
(and presumably yarn publish
), but our CI/publish environment uses neither.
I believe it would be more flexible to use prepack
instead of prepublishOnly
; and in the interest of making it symmetric, I suggest we also use postpack
instead of postpublish
.