From e666d059f91c18458c801f4fe78c42f0cdb36653 Mon Sep 17 00:00:00 2001 From: Jeff McAffer Date: Thu, 8 Oct 2020 12:28:31 -0700 Subject: [PATCH] correct the version of node required (#215) * correct the version of node required * clarify Node.js 12 and 14 requirements and enviroments * 12 or 14 Co-authored-by: Zeke Sikelianos --- contributing/development.md | 4 ++-- contributing/node-versions.md | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/contributing/development.md b/contributing/development.md index 000c3dfcec4f..5fa66a72a553 100644 --- a/contributing/development.md +++ b/contributing/development.md @@ -8,7 +8,7 @@ This site is powered by Node.js! :sparkles: :turtle: :rocket: :sparkles: It runs on macOS, Windows, and Linux environments. -You'll need **Node.js v14** to run the site. If you're using [`nodenv`](https://github.com/nodenv/nodenv), read the [`nodenv` docs](#nodenv) for instructions on switching Node.js versions. If you're not using `nodenv`, the best way to install Node.js is to [download the LTS installer from nodejs.org](https://nodejs.org). +You'll need Node.js version 12 or 14 to run the site. To install Node.js, [download the "LTS" installer from nodejs.org](https://nodejs.org). If you're using [`nodenv`](https://github.com/nodenv/nodenv), read the [`nodenv` docs](#nodenv) for instructions on switching Node.js versions. Once you've installed Node.js (which includes the popular `npm` package manager), open Terminal and run the following: @@ -52,4 +52,4 @@ For more info about working with this site, check out these READMEs: - [middleware/README.md](../middleware/README.md) - [script/README.md](../script/README.md) - [stylesheets/README.md](../stylesheets/README.md) -- [tests/README.md](../tests/README.md) \ No newline at end of file +- [tests/README.md](../tests/README.md) diff --git a/contributing/node-versions.md b/contributing/node-versions.md index 60c42b86f1f9..da30ad65768f 100644 --- a/contributing/node-versions.md +++ b/contributing/node-versions.md @@ -1,6 +1,8 @@ # Node Versions -The site currently runs on Node.js v14, the [Active LTS version](https://nodejs.org/en/about/releases/) from 2020-10-27 to 2021-10-26. +In [development](contributing/development.md) enviroments this site will run on Node.js versions `12 - 14`. + +In [staging and production](contributing/deployments.md) environments this site runs on Node.js 14, the [Active LTS version](https://nodejs.org/en/about/releases/) from 2020-10-27 to 2021-10-26). When updating to a new Node.js version, consider the following files: