From f9961b55fd39028a94991ea792b2abbc244b5746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Bl=C3=A4ttermann?= Date: Sat, 10 Sep 2022 15:06:01 +0200 Subject: [PATCH] Lock current node version --- website/.nvmrc | 1 + website/README.md | 7 +++---- website/package.json | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 website/.nvmrc diff --git a/website/.nvmrc b/website/.nvmrc new file mode 100644 index 000000000..9a037142a --- /dev/null +++ b/website/.nvmrc @@ -0,0 +1 @@ +10 \ No newline at end of file diff --git a/website/README.md b/website/README.md index 24e0d7412..d1c489b2d 100644 --- a/website/README.md +++ b/website/README.md @@ -527,15 +527,14 @@ sit amet dignissim justo congue. ## Setup and installation {#setup} -Before running the setup, make sure your versions of -[Node](https://nodejs.org/en/) and [npm](https://www.npmjs.com/) are up to date. -Node v10.15 or later is required. - ```bash # Clone the repository git clone https://github.com/explosion/spaCy cd spaCy/website +# Switch to the correct Node version +nvm use + # Install Gatsby's command-line tool npm install --global gatsby-cli diff --git a/website/package.json b/website/package.json index 95336a539..b474bab1c 100644 --- a/website/package.json +++ b/website/package.json @@ -79,5 +79,8 @@ }, "bugs": { "url": "https://github.com/explosion/spaCy/issues" + }, + "engines": { + "node": "10" } }