mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a58dea1e9e
Summary: **NOTE**: This is a **BREAKING** change. TLDR; Enforce minimum Node.js v16 in all RN packages. This diff **Updates Node.js to v16** across all RN packages. #### Context: - For RN development and new project created; bump to node 16 was in https://github.com/facebook/react-native/pull/36217 - Recently `react-native-windows` also; updated node to v16, https://github.com/microsoft/react-native-windows/pull/11500 #### Changes: - [BREAKING] Update Node.js to v16 across all RN packages under 'packages/' dir ## Changelog: [GENERAL][BREAKING] - Update Node.js to v16 in all RN packages Pull Request resolved: https://github.com/facebook/react-native/pull/37073 Test Plan: - `yarn lint && yarn flow && yarn test-ci` --> _should be green_ Reviewed By: cipolleschi Differential Revision: D45306108 Pulled By: jacdebug fbshipit-source-id: e3ba7d0151b86a6a0a3d63fb29c2bd887e1ac1e7
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",
|
|
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/react-native-typescript-test",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:facebook/react-native.git",
|
|
"directory": "packages/react-native-codegen-typescript-test"
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"scripts": {
|
|
"build": "yarn clean && node scripts/build.js --verbose && tsc",
|
|
"clean": "rimraf lib && rimraf __generated__/*.ts",
|
|
"prepare": "yarn run build"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@react-native/codegen": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.20.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
"@babel/plugin-transform-async-to-generator": "^7.0.0",
|
|
"@babel/plugin-transform-destructuring": "^7.0.0",
|
|
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
|
|
"@babel/preset-env": "^7.14.0",
|
|
"@types/jest": "^24.0.17",
|
|
"jest": "^24.0.17",
|
|
"rimraf": "^3.0.2"
|
|
},
|
|
"peerDependencies": {
|
|
"@babel/preset-env": "^7.1.6"
|
|
}
|
|
}
|