From ce3ee2c5ca2814fd14881d38c4c333f28a7c8239 Mon Sep 17 00:00:00 2001 From: Adishwar Rishi Date: Fri, 20 Oct 2023 23:29:09 +1100 Subject: [PATCH] Upgrade engines to node 18 and attempt to disable renovate from updating engines --- .github/renovate.json | 4 ++++ .nvmrc | 1 + package.json | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .nvmrc diff --git a/.github/renovate.json b/.github/renovate.json index 44565c7..5582ef5 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -8,6 +8,10 @@ "matchUpdateTypes": ["minor", "patch"], "matchCurrentVersion": "!/^0/", "automerge": true + }, + { + "matchPackagePatterns": ["^engines$"], + "enabled": false } ] } diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..a77793e --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +lts/hydrogen diff --git a/package.json b/package.json index e1c7772..fd195f9 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "type": "module", "private": true, "engines": { - "node": ">=16", + "node": ">=18", "pnpm": ">=8" }, "scripts": {