Currently, Layer5 repositories do not have a .nvmrc file (meshery/meshery has it), which helps enforce a consistent Node.js version for contributors. While Node.js versions are generally backward compatible, specifying a version helps:
-
Prevent unexpected build or dependency issues due to version mismatches.
-
Ensure security updates by standardizing on a maintained Node.js version.
-
Improve developer experience by reducing environment inconsistencies.
Adding a .nvmrc file with the recommended Node.js version would be a small but valuable improvement.
Expected Behavior
Repositories should contain a .nvmrc file specifying the preferred Node.js version, ensuring consistency across development and deployment environments.