From 8336f87b8a9abf495ebd3833f5251d5cf6fec6e9 Mon Sep 17 00:00:00 2001 From: Chris Sidi Date: Mon, 26 Aug 2024 12:55:15 -0400 Subject: [PATCH] Align to npm 10 node engine range (#888) Update the node engine range to match npm cli 10. https://github.com/npm/cli/issues/7754 --- package-lock.json | 4 ++-- package.json | 2 +- workspaces/www/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7d6bee5a1..589dc5207 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "tap": "^21.0.1" }, "engines": { - "node": ">=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/@actions/core": { @@ -11598,7 +11598,7 @@ "tap": "^21.0.1" }, "engines": { - "node": ">=18.0.0" + "node": "^18.17.0 || >=20.5.0" } } } diff --git a/package.json b/package.json index f45572140..6acbb179e 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,6 @@ "lib/" ], "engines": { - "node": ">=18.0.0" + "node": "^18.17.0 || >=20.5.0" } } diff --git a/workspaces/www/package.json b/workspaces/www/package.json index 57290b19b..7d1ebc598 100644 --- a/workspaces/www/package.json +++ b/workspaces/www/package.json @@ -39,7 +39,7 @@ "lib/" ], "engines": { - "node": ">=18.0.0" + "node": "^18.17.0 || >=20.5.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",