From 54958e59cdc96d7292768f7ecbc5b21c93e7bbef Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Fri, 1 Dec 2023 13:21:16 +0100 Subject: [PATCH] Update NodeJS version for asdf Signed-off-by: Lukas Taegert-Atkinson --- .github/workflows/tests.yml | 4 ++-- .prettierignore | 2 ++ .tool-versions | 3 +-- package-lock.json | 4 ++-- package.json | 4 ++-- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 08566f83..b9a6684c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Install dependencies run: npm ci - name: Run tests @@ -34,7 +34,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Install dependencies run: npm ci - name: Install Playwright Browsers diff --git a/.prettierignore b/.prettierignore index d9ac84bf..5ba6eae6 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,3 +4,5 @@ backend/sendmessage/build frontend/dist frontend/dist-ssr backend/packaged.yaml +.tool-versions +.prettierignore diff --git a/.tool-versions b/.tool-versions index fa7162cf..7bd5f0bf 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1 @@ -nodejs lts-gallium -# Gallium = Node v16 +nodejs 20.10.0 diff --git a/package-lock.json b/package-lock.json index 9d798990..9627ced9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -48,8 +48,8 @@ "ws": "^8.14.1" }, "engines": { - "node": ">=18.0.0", - "npm": ">=9.0.0" + "node": ">=20.0.0", + "npm": ">=10.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index fee36bd8..61651141 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "ws": "^8.14.1" }, "engines": { - "node": ">=18.0.0", - "npm": ">=9.0.0" + "node": ">=20.0.0", + "npm": ">=10.0.0" } }