Skip to content

Commit

Permalink
chore (doctor): update Node minimum version to 18
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham-TJ committed Jul 17, 2023
1 parent 3ae564d commit 7220640
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
[
require.resolve('@babel/preset-env'),
{
targets: {node: '16'},
targets: {node: '18'},
useBuiltIns: 'entry',
corejs: '2.x',
},
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@react-native-community/eslint-config": "^2.0.0",
"@types/glob": "^7.1.1",
"@types/jest": "^26.0.15",
"@types/node": "^16.0.0",
"@types/node": "^18.0.0",
"@types/node-fetch": "^2.3.7",
"@types/readable-stream": "^2.3.0",
"@types/rimraf": "^3.0.2",
Expand Down Expand Up @@ -59,7 +59,7 @@
"typescript": "^4.9.5"
},
"resolutions": {
"@types/node": "^16.0.0"
"@types/node": "^18.0.0"
},
"lint-staged": {
"./packages/**/*.ts": [
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@react-native-community/cli-types": "12.0.0-alpha.7",
"@types/lodash": "^4.14.149",
"@types/mime": "^2.0.1",
"@types/node": "^16.0.0",
"@types/node": "^18.0.0",
"@types/node-fetch": "^2.5.5",
"@types/shell-quote": "^1.7.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
],
"engineStrict": true,
"engines": {
"node": ">=16"
"node": ">=18"
},
"jest": {
"testEnvironment": "node"
Expand Down

0 comments on commit 7220640

Please sign in to comment.