mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
f10dd3f666
Summary: X-link: https://github.com/facebook/metro/pull/987 While working on https://github.com/facebook/react-native/pull/35786 I noticed some inconsistencies in the versioning for Babel and Flow across the monorepo. So in this PR I wanted to address that so that for 0.72 we'll have the codebase in a more consistent shape. Happy to split in multiple PRs if needed. ## Changelog [GENERAL] [CHANGED] - Bump Babel packages to ^7.20.0 (or closest latest release), bump flow parser to 0.206.0 in a few places that were left out from latest bump Pull Request resolved: https://github.com/facebook/react-native/pull/35787 Test Plan: CI is green. Reviewed By: cipolleschi Differential Revision: D42384881 Pulled By: hoxyq fbshipit-source-id: 21fd43391d12722cf707c3cdbbb36f49c036359d
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": ">=16"
|
|
},
|
|
"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": "^24.0.17",
|
|
"jest": "^24.0.17",
|
|
"rimraf": "^3.0.2"
|
|
},
|
|
"peerDependencies": {
|
|
"@babel/preset-env": "^7.1.6"
|
|
}
|
|
}
|