diff --git a/.nvmrc b/.nvmrc index 4a1f488b6..2dbbe00e6 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18.17.1 +20.11.1 diff --git a/Dockerfile b/Dockerfile index 8e93ac8b8..3bebf8204 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -ARG VERSION=lts +ARG VERSION=20 # Use the pre-baked fat node image only in the builder # which includes build utils preinstalled (e.g. gcc, make, etc). # This will result in faster and reliable One App docker image # builds as we do not have to run apk installs for alpine. FROM node:$VERSION as builder WORKDIR /opt/build -RUN npm install -g npm@9.6.7 --registry=https://registry.npmjs.org +RUN npm install -g npm@10.2.3 --registry=https://registry.npmjs.org COPY --chown=node:node ./ /opt/build # npm ci does not run postinstall with root account RUN NODE_ENV=development npm ci --build-from-source diff --git a/package-lock.json b/package-lock.json index 048e815ef..a916b4c26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -132,8 +132,8 @@ "webdriverio": "^7.34.0" }, "engines": { - "node": ">=18 <=20", - "npm": ">=8" + "node": ">=18", + "npm": ">=9" } }, "node_modules/@americanexpress/env-config-utils": { diff --git a/package.json b/package.json index 371606df8..8d18451ae 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "One Amex SPA technology stack.", "main": "index.js", "engines": { - "node": ">=18 <=20", - "npm": ">=8" + "node": ">=18", + "npm": ">=9" }, "scripts": { "preinstall": "npx check-engines@1", @@ -55,18 +55,7 @@ "bugs": { "url": "https://github.com/americanexpress/one-app/issues" }, - "contributors": [ - "Andres Escobar (https://github.com/anescobar1991)", - "James Singleton (https://github.com/JamesSingleton)", - "Jamie King (https://github.com/10xLaCroixDrinker)", - "Jonathan Adshead (https://github.com/JAdshead)", - "Michael Tobia (https://github.com/Francois-Esquire)", - "Michael Tomcal (https://github.com/mtomcal)", - "Stephanie Coates (https://github.com/stephaniecoates)", - "Nelly Kiboi (https://github.com/nellyk)", - "Nickolas Oliver (https://github.com/PixnBits)", - "Ruben Casas (https://github.com/infoxicator)" - ], + "author": "One App Team ", "license": "Apache-2.0", "keywords": [ "spa", diff --git a/prod-sample/api/Dockerfile b/prod-sample/api/Dockerfile index 42dc58fe9..c9c3e2687 100644 --- a/prod-sample/api/Dockerfile +++ b/prod-sample/api/Dockerfile @@ -1,4 +1,4 @@ -ARG VERSION=lts +ARG VERSION=20 FROM node:$VERSION as builder MAINTAINER One App Team