Skip to content

Conversation

@wangjue666
Copy link

Summary

Automatically execute the npm run build command before executing the npm publish command

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@fi3ework
Copy link
Member

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.

@wangjue666
Copy link
Author

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.

Appreciate your insights!

@wangjue666 wangjue666 closed this Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants