Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Enforce minimum Node JS to v18 (#4897)
Browse files Browse the repository at this point in the history
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 facebook/react-native#37709 (RN `0.73` will probably enforce min Node JS `v18`)

Bumps in CI via:
1. #4898

## Changelog:

[General] [Breaking] - Enforce minimum Node JS `v18`

Pull Request resolved: #4897

Test Plan: - Should pass tests & builds successfully

Reviewed By: ivanmisuno

Differential Revision: D47294577

Pulled By: passy

fbshipit-source-id: 7ba6a1b6ea6a9e42c77620dc7e0ddf7bd0c641b8
  • Loading branch information
Pranav-yadav authored and facebook-github-bot committed Jul 17, 2023
1 parent 7cef828 commit 78d56ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 78d56ea

Please sign in to comment.