From 4d68dceebccc80a7dc065f4ab5b794591bafd6fc Mon Sep 17 00:00:00 2001 From: Simon Varney Date: Fri, 6 Dec 2024 16:14:28 +0100 Subject: [PATCH] Allow node 22 (#48) --- .github/workflows/nodejs.yml | 2 +- .nvmrc | 2 +- Dockerfile | 2 +- package-lock.json | 6 +++--- package.json | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index f5d5d9a..99d319a 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [16.x, 18.x, 20.x, 22.x] steps: - uses: actions/checkout@v3 diff --git a/.nvmrc b/.nvmrc index 209e3ef..2bd5a0a 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20 +22 diff --git a/Dockerfile b/Dockerfile index 56a7c3b..f6399ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20 +FROM node:22 ADD package.json /app/package.json RUN cd /app && npm ci ADD . /app diff --git a/package-lock.json b/package-lock.json index 3fd492f..3502487 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pg-doc-store", - "version": "7.0.1", + "version": "8.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "pg-doc-store", - "version": "7.0.1", + "version": "8.0.0", "license": "MIT", "dependencies": { "async": "^3.2.4", @@ -25,7 +25,7 @@ "prettier": "^3.0.3" }, "engines": { - "node": ">=16 <=20" + "node": ">=16 <=22" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 2987fd5..dbcfc78 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,9 @@ "Markus Ekholm", "Ivan Malmberg" ], - "version": "7.0.1", + "version": "8.0.0", "engines": { - "node": ">=16 <=20" + "node": ">=16 <=22" }, "scripts": { "lint": "eslint .",