mirror of
https://github.com/react/react-native.git
synced 2026-09-28 13:23:09 +08:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56887 Drop support for Node.js 20. The minimum supported version is now `^22.13.0 || ^24.3.0 || >= 26.0.0`. Node.js 20 reached end-of-life in April 2026 and is no longer actively maintained. This aligns React Native with the upcoming Metro requirement. Changelog: [General][Breaking] - Require Node.js >= 22.13.0 Reviewed By: christophpurrer, cortinico Differential Revision: D105685641 fbshipit-source-id: f490e5a13e4289daba98c4d56dd8fdd341aef0db
37 lines
1.2 KiB
JSON
37 lines
1.2 KiB
JSON
{
|
|
"name": "@react-native/codegen-typescript-test",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "TypeScript related unit test for @react-native/codegen",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": "^22.13.0 || ^24.3.0 || >= 26.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "yarn clean && node scripts/build.js --verbose && tsc",
|
|
"clean": "rimraf lib && rimraf __generated__/*.ts",
|
|
"prepare": "yarn run build"
|
|
},
|
|
"dependencies": {
|
|
"@react-native/codegen": "0.87.0-main"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.25.2",
|
|
"@babel/plugin-transform-class-properties": "^7.25.4",
|
|
"@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7",
|
|
"@babel/plugin-transform-object-rest-spread": "^7.24.7",
|
|
"@babel/plugin-transform-optional-chaining": "^7.24.8",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
"@babel/plugin-transform-async-to-generator": "^7.24.7",
|
|
"@babel/plugin-transform-destructuring": "^7.24.8",
|
|
"@babel/plugin-transform-flow-strip-types": "^7.25.2",
|
|
"@babel/preset-env": "^7.25.3",
|
|
"@types/jest": "^29.5.14",
|
|
"jest": "^29.7.0",
|
|
"rimraf": "^3.0.2"
|
|
},
|
|
"peerDependencies": {
|
|
"@babel/preset-env": "^7.1.6"
|
|
}
|
|
}
|