From 1431d3fe787cb7fc9617a7f6af39f235babf7200 Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 30 Nov 2023 19:32:16 +0700 Subject: [PATCH] fix: package.engines --- Dockerfile | 2 +- package-lock.json | 4 ++-- package.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 66dca32..f840032 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18 AS base +FROM node:20 AS base ARG NODE_ENV=production ENV NODE_ENV=${NODE_ENV} diff --git a/package-lock.json b/package-lock.json index 70a95ca..15ae59e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -58,8 +58,8 @@ "vitest": "0.34.3" }, "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 2975bde..b5d84d5 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "version": "0.1.0", "private": true, "engines": { - "npm": ">=9.0.0", - "node": ">=18.0.0" + "npm": "^10.0.0", + "node": "^20.0.0" }, "scripts": { "build": "npm-run-all --parallel build:*",