From f35a4c78f781c886877ca297899bfc33e312d339 Mon Sep 17 00:00:00 2001 From: BekahHW <34313413+BekahHW@users.noreply.github.com> Date: Mon, 2 Oct 2023 09:49:30 -0700 Subject: [PATCH] fix: update node and npm versions (#180) Co-authored-by: Brian 'bdougie' Douglas --- .nvmrc | 1 + Dockerfile | 2 +- npm-shrinkwrap.json | 4 ++-- package.json | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..603606bc --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +18.17.0 diff --git a/Dockerfile b/Dockerfile index 332361d3..4cd0546e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine as development +FROM node:18.17.0-alpine as development WORKDIR /app diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 8e779e1c..af9f12ad 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -28,8 +28,8 @@ "url-loader": "^4.1.1" }, "engines": { - "node": ">=14", - "npm": ">=7" + "node": "^18", + "npm": ">=9" } }, "node_modules/@algolia/autocomplete-core": { diff --git a/package.json b/package.json index 4372fd32..3cf3e520 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "version": "1.42.0", "private": true, "engines": { - "node": ">=14", - "npm": ">=7" + "node": "^18", + "npm": ">=9" }, "scripts": { "preinstall": "npx @open-sauced/check-engines",