From 52ce9f965b92661d41d89e6626dab034c31e7d07 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Tue, 20 Sep 2022 18:40:49 -0700 Subject: [PATCH 1/2] docs: Refer to package.json for supported Node.js versions --- docs/introduction/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/introduction/install.md b/docs/introduction/install.md index 8324c50f0..dd7f0dc31 100644 --- a/docs/introduction/install.md +++ b/docs/introduction/install.md @@ -12,7 +12,7 @@ ## Prerequisites Auspice is a JavaScript program, and requires [Node.js](https://nodejs.org/) to be installed on your system. -We've had success running a range of different node versions between 10.8 and 13. +Refer to `engines.node` in [package.json](https://github.com/nextstrain/auspice/blob/-/package.json) for currently supported versions. We highly recommend using [Conda](https://conda.io/docs/) to manage environments, i.e. use Conda to create an environment with Node.js installed where you can use Auspice. It's possible to use other methods, but this documentation presupposes that you have Conda installed. From 293448feab55ae3cbba2ad787409160c5c36165e Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Tue, 20 Sep 2022 18:41:44 -0700 Subject: [PATCH 2/2] Use Node.js 14 in installation examples Node.js 12 has reached end-of-life status [1], and Auspice supports Node.js 14. [1]: https://github.com/nodejs/Release#end-of-life-releases --- README.md | 2 +- docs/introduction/install.md | 2 +- docs/narratives/create-pdf.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bcb0011f3..d40692ef0 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ We recommend using a conda environment, but this is not the only way. Create and activate a [conda](https://docs.conda.io) environment: ```bash -conda create --name auspice nodejs=12 +conda create --name auspice nodejs=14 conda activate auspice ``` diff --git a/docs/introduction/install.md b/docs/introduction/install.md index dd7f0dc31..1bf971058 100644 --- a/docs/introduction/install.md +++ b/docs/introduction/install.md @@ -24,7 +24,7 @@ You can also use the Windows Subsystem Linux for a fuller Linux environment. ## Create a Conda Environment ```bash -conda create --name auspice nodejs=12 +conda create --name auspice nodejs=14 conda activate auspice ``` diff --git a/docs/narratives/create-pdf.md b/docs/narratives/create-pdf.md index 8abcc6047..039028106 100644 --- a/docs/narratives/create-pdf.md +++ b/docs/narratives/create-pdf.md @@ -22,7 +22,7 @@ If you've followed the [auspice install instructions](https://docs.nextstrain.or If not, you can create the necessary conda environment via: ```bash -conda create --name auspice nodejs=12 +conda create --name auspice nodejs=14 ``` Install Decktape via: