From 7462776d86debab8f3ec16fab73970cf375e2022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20=C4=86ori=C4=87?= Date: Mon, 18 Nov 2024 16:00:54 +0100 Subject: [PATCH] Updates node version to LTS (22) (#338) --- Makefile | 2 +- build/unicorn-history-server/Dockerfile | 2 +- web/.nvmrc | 2 +- web/package.json | 2 +- website/package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6d4b17fc..c90391e0 100644 --- a/Makefile +++ b/Makefile @@ -326,7 +326,7 @@ clean: ## remove generated build artifacts. rm -rf $(LOCALBIN_APP) ##@ Publish -NODE_VERSION ?= 18 +NODE_VERSION ?= 22 ALPINE_VERSION ?= 3.20 DOCKER_OUTPUT ?= type=docker DOCKER_TAGS ?= $(IMAGE_TAG) diff --git a/build/unicorn-history-server/Dockerfile b/build/unicorn-history-server/Dockerfile index 5a0915fd..8d4f6dd8 100644 --- a/build/unicorn-history-server/Dockerfile +++ b/build/unicorn-history-server/Dockerfile @@ -1,4 +1,4 @@ -ARG NODE_VERSION=18 +ARG NODE_VERSION=22 ARG ALPINE_VERSION=3.20 FROM node:${NODE_VERSION} AS builder diff --git a/web/.nvmrc b/web/.nvmrc index 3f430af8..53d1c14d 100644 --- a/web/.nvmrc +++ b/web/.nvmrc @@ -1 +1 @@ -v18 +v22 diff --git a/web/package.json b/web/package.json index 005df098..ea881629 100644 --- a/web/package.json +++ b/web/package.json @@ -53,7 +53,7 @@ }, "engines": { "pnpm": "9", - "node": "18" + "node": "22" }, "packageManager": "pnpm@9" } diff --git a/website/package.json b/website/package.json index 3e5287e8..57245742 100644 --- a/website/package.json +++ b/website/package.json @@ -45,6 +45,6 @@ ] }, "engines": { - "node": ">=18.0" + "node": ">=22.0" } }