Add .nvmrc and .node_version with node 14 LTS (#2277)

These 2 configs are widely used by various Node version managers
These managers can be easily configured to automatically switch Node version
when entering a directory

With this change, its more likely that correct Node and NPM version will be used,
avoiding accidental usage of incompatible versions

Reference for Node managers support can be found here:
https://stackoverflow.com/questions/27425852/what-uses-respects-the-node-version-file
This commit is contained in:
Lukasz Ostrowski 2022-09-05 10:53:57 +02:00 committed by GitHub
parent 105403e4ff
commit acd596dd45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View file

@ -11,6 +11,7 @@
!.github !.github
!.gitignore !.gitignore
!.nvmrc !.nvmrc
!.node-version
!.npmrc !.npmrc
!.plop !.plop
!.prettierignore !.prettierignore

1
.node-version Normal file
View file

@ -0,0 +1 @@
14.19.0

1
.nvmrc Normal file
View file

@ -0,0 +1 @@
14.19.0