From 8c100620caa4b058588e1b111ff0e0297b3a3fd0 Mon Sep 17 00:00:00 2001 From: Jan Kassens Date: Wed, 8 Mar 2023 12:14:36 -0500 Subject: [PATCH] Build: specify Node.js 16 as minimum for dev (#26343) - Specifies Node 16 as the minimum supported version. - Remove no longer supported 17.x version (per https://nodejs.dev/en/about/releases/) - Add 19.x Test Plan: (using node 19) as that's what I'm adding) - yarn build - yarn test --- .nvmrc | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.nvmrc b/.nvmrc index 4ec320b217..e329619ca2 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v14.17.6 +v16.19.1 diff --git a/package.json b/package.json index e7401a613a..812221c7bf 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "yargs": "^15.3.1" }, "devEngines": { - "node": "^12.17.0 || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x" + "node": "16.x || 18.x || 19.x" }, "jest": { "testRegex": "/scripts/jest/dont-run-jest-directly\\.js$"