A local-first personal finance app
Add post-merge hook to auto-install dependencies (#7248)
Matiss Janis Aboltins23adf06cb038
diff --git a/.husky/post-merge b/.husky/post-mergenew file mode 100755index 0000000000..0d850d89fc--- /dev/null+++ b/.husky/post-merge@@ -0,0 +1,7 @@+#!/bin/sh+# Run yarn install after pulling/merging (if yarn.lock changed)++if git diff --name-only ORIG_HEAD HEAD | grep -q "^yarn.lock$"; then+ echo "yarn.lock changed — running yarn install..."+ yarn install+fidiff --git a/upcoming-release-notes/7248.md b/upcoming-release-notes/7248.mdnew file mode 100644index 0000000000..294bb2952b--- /dev/null+++ b/upcoming-release-notes/7248.md@@ -0,0 +1,6 @@+---+category: Maintenance+authors: [MatissJanis]+---++Add post-merge hook to automatically install dependencies when yarn.lock changes after merges.