How to use Git hooks to detect changes to a lock file and show a message

Learn how to detect changes to a package-lock.json or a yarn.lock file and show a message using Git hooks and Husky