From a5a1d72ad9acacc56c7469b9104917dc6aca89cd Mon Sep 17 00:00:00 2001 From: Rowan Manning <138944+rowanmanning@users.noreply.github.com> Date: Sat, 25 Mar 2023 14:55:55 +0000 Subject: [PATCH] Drop Node.js 14 support and add Node.js 18 support --- .github/workflows/verify-test.yml | 4 ++-- README.md | 4 ++-- package-lock.json | 4 ++-- package.json | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/verify-test.yml b/.github/workflows/verify-test.yml index e59d9ad..27b00b6 100644 --- a/.github/workflows/verify-test.yml +++ b/.github/workflows/verify-test.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '18' cache: 'npm' - run: npm install - run: npm run verify @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: ['14', '16'] + node: ['16', '18'] mongodb: ['4', '5'] steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index 1870bcd..3fc291c 100755 --- a/README.md +++ b/README.md @@ -41,13 +41,13 @@ Audrey is self-hosted; you can set up an installation on your own server or clou This application requires the following to run: - * [Node.js](https://nodejs.org/) v14.0.0+ + * [Node.js](https://nodejs.org/) v16.0.0+ * [MongoDB](https://www.mongodb.com/) v4.0.0+ ## Running Locally -You can run Audrey locally if you intend on making your own changes, or just want to test it out. Follow theses steps to get Audrey running on your local machine: +You can run Audrey locally if you intend on making your own changes, or just want to test it out. Follow these steps to get Audrey running on your local machine: 1. Make sure you have all of the software listed in [Requirements](#requirements) diff --git a/package-lock.json b/package-lock.json index cf252f6..1590abe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44,8 +44,8 @@ }, "engines": { "mongodb": "4 || 5", - "node": ">=14 <=16", - "npm": ">=7 <=16" + "node": "16.x || 18.x", + "npm": "8.x || 9.x" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 23b9dc0..6387d6b 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ "bugs": "https://github.com/rowanmanning/audrey/issues", "license": "GPL-3.0", "engines": { - "node": ">=14 <=16", - "npm": ">=7 <=16", + "node": "16.x || 18.x", + "npm": "8.x || 9.x", "mongodb": "4 || 5" }, "scripts": {