From d99b3523a55ad876d56763892f958caaa88d2b30 Mon Sep 17 00:00:00 2001 From: Matthew An Date: Wed, 13 Oct 2021 14:44:20 -0400 Subject: [PATCH] Add .nvmrc file and updated Node.js installation instructions (#1968) by mtthwn Co-authored-by: Jack --- .npmrc | 1 + .nvmrc | 1 + CONTRIBUTING.md | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 .npmrc create mode 100644 .nvmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000..b6f27f135 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 000000000..5af7433da --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +14.17.3 \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e0d1fbbce..1ac16f0d5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -84,6 +84,8 @@ Follow these steps if you want to work on anything involving the database/accoun To install NodeJS, navigate to the NodeJS [website](https://nodejs.org/en/) and download the `xx.xx.x LTS`. +Alternatively, if you use `nvm` then you can run `nvm install && nvm use` to use the version of Node.js in the `.nvmrc` file. + ## Building and Running Monkeytype Once you have completed the above steps, you are ready to build and run Monkeytype.