From 5fcd06abd070bb4b732accc1217b82954d2c0693 Mon Sep 17 00:00:00 2001 From: Jeff McAffer Date: Wed, 7 Oct 2020 16:26:17 -0700 Subject: [PATCH 1/3] correct the version of node required --- contributing/development.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contributing/development.md b/contributing/development.md index 000c3dfcec4f..88d113003f72 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 v12**](https://nodejs.org/) or later 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). 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) From f695b12cad2db0fe05b4732120515de0dc9a27ad Mon Sep 17 00:00:00 2001 From: Zeke Sikelianos Date: Wed, 7 Oct 2020 17:04:15 -0700 Subject: [PATCH 2/3] clarify Node.js 12 and 14 requirements and enviroments --- contributing/development.md | 2 +- contributing/node-versions.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/contributing/development.md b/contributing/development.md index 88d113003f72..58103ce89c1e 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 v12**](https://nodejs.org/) or later 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 - 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: 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: From 73564d15e710404539ae182872b5e12ae593cb72 Mon Sep 17 00:00:00 2001 From: Zeke Sikelianos Date: Thu, 8 Oct 2020 12:12:01 -0700 Subject: [PATCH 3/3] 12 or 14 --- contributing/development.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contributing/development.md b/contributing/development.md index 58103ce89c1e..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 version `12 - 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. +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: