Closed wangjue666 closed 1 week ago
Thanks for contribution. While we're trying to make create-rslib
a minimal scaffold to create Rslib project. prepublishOnly
is not must-have script if the user already ran npm run build
in the release workflow ahead. Since the workflow might varies, we tend to keep it simple and leave the opt-in command to userland.
Thanks for contribution. While we're trying to make
create-rslib
a minimal scaffold to create Rslib project.prepublishOnly
is not must-have script if the user already rannpm run build
in the release workflow ahead. Since the workflow might varies, we tend to keep it simple and leave the opt-in command to userland.
Appreciate your insights!
Summary
Automatically execute the
npm run build
command before executing thenpm publish
commandRelated Links
Checklist