-
Notifications
You must be signed in to change notification settings - Fork 282
chore: add post-merge hook #2025
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add post-merge hook #2025
Conversation
| }, | ||
| "engines": { | ||
| "node": ">=20" | ||
| "node": ">=22" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀 good catch @SiriusCrain - how about we split this out into its own PR?
I'm still thinking about whether we want that post-merge hook...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can upgrade node in another PR, sure, post-merge hook from my experience can help a lot to avoid bugs or errors about missing package etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@setchy reverted package.json changes btw
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to share your thoughts or close PR if you want to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@setchy what do you think? Should we move further with this decision?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think for now I'd like to leave this out, but keen to hear what @afonsojramos thinks 👂
ChatGPT summarize this as follows, rightly or wrongly
| Setup | Good Idea? | Notes |
|---|---|---|
pnpm install --force always |
🚫 | Too aggressive, slow, not always needed |
pnpm install always |
Better, but still wasteful if deps didn’t change | |
| Conditional install | ✅ | Best balance of correctness and performance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, I will close PR then
8a8a14a to
2c04f84
Compare
When we are updating local branch I think it is crucial to keep dependencies up to date, to avoid confusions or errors