mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
2eb25cbdbe
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37791 ## Bump minimum Node JS version to 18 via `react-native/package.json#engines` In https://github.com/facebook/react-native/pull/35443 we bumped up the node version from 16 to 18. Node 16 [ends maintenance releases on 2023-09-11](https://nodejs.org/en/blog/announcements/nodejs16-eol/), and bumping this minimum will allow other associated Node JS tools (CLI, Metro, Jest) to reduce their support burden. This follows up by formally making Node 18 the minimum supported version. **Docs PR:** https://github.com/facebook/react-native-website/pull/3748 **Changelog:** [General][Breaking] Bump minimum Node JS version to 18 Reviewed By: cortinico, NickGerleman Differential Revision: D46583997 fbshipit-source-id: 1f31e2f205ac8b09494c2a7d3b73b9f36eff221b
42 lines
1.4 KiB
JSON
42 lines
1.4 KiB
JSON
{
|
|
"name": "@react-native/codegen-typescript-test",
|
|
"version": "0.0.1",
|
|
"description": "TypeScript related unit test for @react-native/codegen",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/react-native.git",
|
|
"directory": "packages/react-native-codegen-typescript-test"
|
|
},
|
|
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/react-native-typescript-test",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"scripts": {
|
|
"build": "yarn clean && node scripts/build.js --verbose && tsc",
|
|
"clean": "rimraf lib && rimraf __generated__/*.ts",
|
|
"prepare": "yarn run build"
|
|
},
|
|
"dependencies": {
|
|
"@react-native/codegen": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.20.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.18.0",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.20.0",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.20.0",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.0",
|
|
"@babel/plugin-transform-async-to-generator": "^7.20.0",
|
|
"@babel/plugin-transform-destructuring": "^7.20.0",
|
|
"@babel/plugin-transform-flow-strip-types": "^7.20.0",
|
|
"@babel/preset-env": "^7.20.0",
|
|
"@types/jest": "^29.2.1",
|
|
"jest": "^29.2.1",
|
|
"rimraf": "^3.0.2"
|
|
},
|
|
"peerDependencies": {
|
|
"@babel/preset-env": "^7.1.6"
|
|
}
|
|
}
|