Replies: 1 comment 1 reply
-
This is a nice idea - there's other improvements we need to make to script definitions & execution as well. If you're willing to write an RFC for this we could discuss it a bit more in our weekly calls. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I'd like to define a pre-hook (or post) once in the package.json, and apply it to several scripts.

The issue is you can't - you must duplicate the hooks, which seems redundant (I have 7!).
For example:
Will be replaced with:

Beta Was this translation helpful? Give feedback.
All reactions