Closed starkensin closed 2 years ago
I think only checking node version using husky is not that good. Husky checks hooks when a contributor commits code to git system. If it only check node version, it cannot check which node.js(npm) version made package-lock.json.
Therefore it seems to need to check packge-lock and nodejs(npm) both.
last weekly meet-up session(Oct 31), "preinstall" is suggested for the solution. While I've researched the method to check node.js and npm version, I found "engines" feature of package.json and ".npmrc" file. I think using these is the best solution. I will apply this way.
Description: Check development environmen on local development environment. (e.g husky) Why: When node.js(npm) version doesn't sync among contributors, it brings in some problems like #137 issue.