keep a consistent development environment between different developers.
will check:
- nodejs version by
.nvmrc
- package manager type and it's version by the
packageManager
field of package.json
recommend using corepack to manage the package manager.
Add following to package.json scripts:
{
"scripts": {
"preinstall": "npx check-fe-env"
}
}
- only-allow source of inspiration