🛠 Tooling: dist/ updates aren't committed in pre-commit hook #183
Labels
area: tooling
Managing the repository's maintenance
status: accepting prs
Please, send a pull request to resolve this!
type: bug
Something isn't working :(
Bug Report Checklist
main
branch of the repository.Overview
#171 added
pnpm build:release
to the.husky/pre-commit
file run on a Git pre-commit hook. But changes todist/
caused by that script aren't committed. So you get end up with commits like b506e60 where I realized I also needed to push built files...Additional Info
cc @johnnyreilly - I bet there's a better solution than what I did in #171. Maybe something with
lint-staged
? Or maybe it's as simple as agit add dist
in.husky/pre-commit
? I haven't looked into this.The text was updated successfully, but these errors were encountered: