From 78d56eaa70c6d32cd417aecc429fe5218bfd1f2e Mon Sep 17 00:00:00 2001 From: Pranav Yadav Date: Mon, 17 Jul 2023 04:44:21 -0700 Subject: [PATCH] Enforce minimum Node JS to `v18` (#4897) Summary: Enforce minimum Node JS version to `v18` via `/package.json#engines ` - Node JS `v16`'s EOL is `2023-09-11`: https://nodejs.org/en/blog/announcements/nodejs16-eol - react-native also bumped Node JS to `v18` recently https://github.com/facebook/react-native/pull/37709 (RN `0.73` will probably enforce min Node JS `v18`) Bumps in CI via: 1. https://github.com/facebook/flipper/issues/4898 ## Changelog: [General] [Breaking] - Enforce minimum Node JS `v18` Pull Request resolved: https://github.com/facebook/flipper/pull/4897 Test Plan: - Should pass tests & builds successfully Reviewed By: ivanmisuno Differential Revision: D47294577 Pulled By: passy fbshipit-source-id: 7ba6a1b6ea6a9e42c77620dc7e0ddf7bd0c641b8 --- desktop/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/package.json b/desktop/package.json index 94614233c..effa0a840 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -165,7 +165,7 @@ "watch": "cross-env TZ=Pacific/Pohnpei node --expose-gc --stack-trace-limit=40 ./node_modules/.bin/jest --watch" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": "use yarn instead", "yarn": "^1.16" },