From 31f056503049667c53d4cdb731d3e456415cfe33 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Thu, 2 Mar 2023 12:43:08 -0800 Subject: [PATCH 1/4] Add support for Node.js version 18 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Node.js v18 was released on 2022-04-19¹. ¹ https://github.com/nodejs/Release/blob/54e615d89bf2e056644e138e7e33714bfd1b67ee/README.md#release-schedule --- .github/workflows/ci.yaml | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bd6be8b81..4f8cce485 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [12, 14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [12, 14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -37,7 +37,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [12, 14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [12, 14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -62,7 +62,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16] + node: [12, 14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 diff --git a/package.json b/package.json index cb895252a..09d67f48b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "repository": "github:nextstrain/auspice", "homepage": "https://www.npmjs.com/package/auspice", "engines": { - "node": "^12 || ^14 || ^16", + "node": "^12 || ^14 || ^16 || ^18", "npm": "^7 || ^8" }, "bin": { From 402828c3d9bffe7e081dc0c035f2ab41d9af52ee Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Thu, 2 Mar 2023 12:43:28 -0800 Subject: [PATCH 2/4] Remove support for Node.js version 12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Node.js v12 went from LTS to end-of-life status on 2022-04-30¹. ¹ https://github.com/nodejs/Release/blob/54e615d89bf2e056644e138e7e33714bfd1b67ee/README.md#end-of-life-releases --- .github/workflows/ci.yaml | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4f8cce485..55b3f906f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16, 18] + node: [14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16, 18] + node: [14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -37,7 +37,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16, 18] + node: [14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16, 18] + node: [14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -62,7 +62,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12, 14, 16, 18] + node: [14, 16, 18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 diff --git a/package.json b/package.json index 09d67f48b..33aa5532d 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "repository": "github:nextstrain/auspice", "homepage": "https://www.npmjs.com/package/auspice", "engines": { - "node": "^12 || ^14 || ^16 || ^18", + "node": "^14 || ^16 || ^18", "npm": "^7 || ^8" }, "bin": { From 62de588c2125ca840ed4619644088341b488d464 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Thu, 2 Mar 2023 14:56:41 -0800 Subject: [PATCH 3/4] Add support for NPM version 9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NPM version 9, release 2022-10-19, comes with several changes¹. None of the breaking changes seem to be relevant for usage with Auspice. ¹ https://github.com/npm/cli/releases/tag/v9.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 33aa5532d..730ffc1a1 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "homepage": "https://www.npmjs.com/package/auspice", "engines": { "node": "^14 || ^16 || ^18", - "npm": "^7 || ^8" + "npm": "^7 || ^8 || ^9" }, "bin": { "auspice": "./auspice.js" From 8a47d3ca1bd1dbec5fb0aecc8b194f8b68975261 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Thu, 2 Mar 2023 15:24:07 -0800 Subject: [PATCH 4/4] Update changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0249c1d39..f2d7f97e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ title: Changelog --- +* Remove support for Node.js version 12. ([#1560](https://github.com/nextstrain/auspice/pull/1560)) +* Add support for Node.js version 18 and NPM version 9. ([#1560](https://github.com/nextstrain/auspice/pull/1560)) + ## version 2.44.0 - 2023/03/02