From b7ef86cd3291d08cb5f6e211682f4bfc09be69e0 Mon Sep 17 00:00:00 2001 From: Nishant Arora <1895906+whizzzkid@users.noreply.github.com> Date: Tue, 9 May 2023 09:40:01 -0600 Subject: [PATCH] fix: Update required node version to node 18 and npm 8 (#1184) Refs: https://github.com/ipfs/helia/pull/30 --------- Co-authored-by: Alex Potsides --- package.json | 4 ++-- src/check-project/utils.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 394320a11..b66808476 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,8 @@ "standard" ], "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" + "node": ">=18.0.0", + "npm": ">=8.6.0" }, "bin": { "aegir": "src/index.js" diff --git a/src/check-project/utils.js b/src/check-project/utils.js index eab52fd36..8c1944bc8 100644 --- a/src/check-project/utils.js +++ b/src/check-project/utils.js @@ -249,8 +249,8 @@ export function constructManifest (manifest, manifestFields, repoUrl, homePage = }, keywords: manifest.keywords ? manifest.keywords.sort() : undefined, engines: { - node: '>=16.0.0', - npm: '>=7.0.0' + node: '>=18.0.0', + npm: '>=8.6.0' }, bin: manifest.bin, ...manifestFields,