Configure nvm to help us avoid constant switching between lockfile versions 1 and 2 by suggesting which Node.js/npm version to use

This commit is contained in:
nkoder 2021-04-26 23:14:12 +02:00
parent 3d3a6f4d78
commit fde0211145
2 changed files with 8 additions and 1 deletions

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
v15.14.0

View File

@ -40,7 +40,13 @@ Suggestions / Planned features:
## How to Contribute
Requirements: you must have node.js and git installed.
### Requirements
You must have node.js and git installed.
You also need `npm` in version 7 (because of 2nd version of lockfile which was introduced there) which comes with Node.js 15 or newer. To simplify installation of proper versions you can make use of [nvm](https://github.com/nvm-sh/nvm#installing-and-updating) and run `nvm install` it will activate proper Node.js version in your current command prompt session.
### Contribution Workflow
1. Click **Fork** above. It will automatically create a copy of this repository and add it to your account.
2. Clone the repository to your computer.