Open benallfree opened 7 months ago
I like this change, but it's technically a breaking change.
Let's merge your other PRs, then we can address this. Sorry for the delays on this all - it's been a busy/rough month
Do we have a system for tagging open PRs for future releases?
How would you feel about making a next
branch so users can do npm i plop@next
?
@crutchcorn Can you take a look at this please, I think it might be helpful for the community.
This PR does two things:
run()
awaitable. Previously,run()
was fire-and-forget, but this doesn't work well when wrapping Plop. I needed a way toawait run()
.run()
was not bubbling exceptions. It was callingprocess.exit
, but that is insufficient if the user has setup/teardown that needs to happen afterrun()
.