Skip to content

breaking: update Node minimum version to 18#1986

Merged
thymikee merged 3 commits intoreact-native-community:mainfrom
Shubham1429:update-node-min-ver
Jul 17, 2023
Merged

breaking: update Node minimum version to 18#1986
thymikee merged 3 commits intoreact-native-community:mainfrom
Shubham1429:update-node-min-ver

Conversation

@Shubham1429
Copy link
Copy Markdown
Contributor

@Shubham1429 Shubham1429 commented Jun 26, 2023

Summary:

Set minimum Node version to 18.

Part of #1936

Reference: facebook/react-native#37709

@szymonrybczak szymonrybczak changed the title chore (doctor): update Node minimum version to 18 breaking: update Node minimum version to 18 Jul 4, 2023
Copy link
Copy Markdown
Collaborator

@szymonrybczak szymonrybczak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! You need also to change node version in the engines in package.json, see here:

"engines": {
"node": ">=16"
},

also @types/node in few packages, in babel.config.js and in .github/workflows/test.yml just leave Node 18 for running unit tests.

@thymikee
Copy link
Copy Markdown
Member

@Shubham1429 can you rebase and address the feedback? :)

Copy link
Copy Markdown
Collaborator

@szymonrybczak szymonrybczak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🎉

@thymikee thymikee merged commit be7e6e2 into react-native-community:main Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants