mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
41cbccd98d
Summary: I'm kicking this off to see what's the extent of failures we're going to get if we try to bump to React 18 inside RN OSS. This sync includes the following changes: - **[34aa5cfe0](https://github.com/facebook/react/commit/34aa5cfe0 )**: Update local package.jsons for 18 //<Andrew Clark>// - **[e7d0053e6](https://github.com/facebook/react/commit/e7d0053e6 )**: [fizz] Fix validateIterable call ([#24166](https://github.com/facebook/react/pull/24166)) //<salazarm>// - **[6b85823b3](https://github.com/facebook/react/commit/6b85823b3 )**: Clean up Selective Hydration / Event Replay flag ([#24156](https://github.com/facebook/react/pull/24156)) //<salazarm>// Changelog: [General][Changed] - React Native sync for revisions 1159ff6...34aa5cf jest_e2e[run_all_tests] Reviewed By: cortinico Differential Revision: D35504622 fbshipit-source-id: ad0f6b42b6e03d78cd5d6ba51ce5a5730d25b167
152 lines
5.2 KiB
JSON
152 lines
5.2 KiB
JSON
{
|
|
"name": "react-native",
|
|
"private": true,
|
|
"version": "1000.0.0",
|
|
"bin": "./cli.js",
|
|
"description": "A framework for building native apps using React",
|
|
"license": "MIT",
|
|
"repository": "github:facebook/react-native",
|
|
"engines": {
|
|
"node": ">=14"
|
|
},
|
|
"jest-junit": {
|
|
"outputDirectory": "reports/junit",
|
|
"outputName": "js-test-results.xml"
|
|
},
|
|
"files": [
|
|
"!template/node_modules",
|
|
"!template/package-lock.json",
|
|
"!template/yarn.lock",
|
|
"android",
|
|
"cli.js",
|
|
"flow",
|
|
"flow-typed",
|
|
"index.js",
|
|
"interface.js",
|
|
"jest-preset.js",
|
|
"jest",
|
|
"Libraries",
|
|
"LICENSE",
|
|
"local-cli",
|
|
"React-Core.podspec",
|
|
"react-native.config.js",
|
|
"react.gradle",
|
|
"React.podspec",
|
|
"React",
|
|
"ReactAndroid",
|
|
"ReactCommon",
|
|
"README.md",
|
|
"rn-get-polyfills.js",
|
|
"scripts/compose-source-maps.js",
|
|
"scripts/find-node-for-xcode.sh",
|
|
"scripts/generate-artifacts.js",
|
|
"scripts/generate-provider-cli.js",
|
|
"scripts/generate-specs-cli.js",
|
|
"scripts/ios-configure-glog.sh",
|
|
"scripts/xcode/with-environment.sh",
|
|
"scripts/launchPackager.bat",
|
|
"scripts/launchPackager.command",
|
|
"scripts/node-binary.sh",
|
|
"scripts/packager.sh",
|
|
"scripts/packager-reporter.js",
|
|
"scripts/react_native_pods_utils/script_phases.rb",
|
|
"scripts/react_native_pods_utils/script_phases.sh",
|
|
"scripts/react_native_pods.rb",
|
|
"scripts/react-native-xcode.sh",
|
|
"sdks/hermesc",
|
|
"template.config.js",
|
|
"template",
|
|
"third-party-podspecs"
|
|
],
|
|
"scripts": {
|
|
"start": "react-native start",
|
|
"test": "jest",
|
|
"test-ci": "jest --maxWorkers=2 --ci --reporters=\"default\" --reporters=\"jest-junit\"",
|
|
"flow": "flow",
|
|
"flow-check-ios": "flow check",
|
|
"flow-check-android": "flow check --flowconfig-name .flowconfig.android",
|
|
"lint": "eslint .",
|
|
"lint-ci": "./scripts/circleci/analyze_code.sh && yarn shellcheck",
|
|
"lint-java": "node ./scripts/lint-java.js",
|
|
"shellcheck": "./scripts/circleci/analyze_scripts.sh",
|
|
"clang-format": "clang-format -i --glob=*/**/*.{h,cpp,m,mm}",
|
|
"format": "npm run prettier && npm run clang-format",
|
|
"prettier": "prettier --write \"./**/*.{js,md,yml}\"",
|
|
"format-check": "prettier --list-different \"./**/*.{js,md,yml}\"",
|
|
"update-lock": "npx yarn-deduplicate",
|
|
"docker-setup-android": "docker pull reactnativecommunity/react-native-android:5.2",
|
|
"docker-build-android": "docker build -t reactnativeci/android -f .circleci/Dockerfiles/Dockerfile.android .",
|
|
"test-android-run-instrumentation": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh",
|
|
"test-android-run-unit": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-unit-tests.sh",
|
|
"test-android-run-e2e": "docker run --privileged -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-ci-e2e-tests.sh --android --js",
|
|
"test-android-all": "yarn run docker-build-android && yarn run test-android-run-unit && yarn run test-android-run-instrumentation && yarn run test-android-run-e2e",
|
|
"test-android-instrumentation": "yarn run docker-build-android && yarn run test-android-run-instrumentation",
|
|
"test-android-unit": "yarn run docker-build-android && yarn run test-android-run-unit",
|
|
"test-android-e2e": "yarn run docker-build-android && yarn run test-android-run-e2e",
|
|
"test-ios": "./scripts/objc-test.sh test"
|
|
},
|
|
"workspaces": [
|
|
"packages/!(eslint-config-react-native-community)",
|
|
"repo-config"
|
|
],
|
|
"peerDependencies": {
|
|
"react": "18.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@jest/create-cache-key-function": "^27.0.1",
|
|
"@react-native-community/cli": "^8.0.0-alpha.0",
|
|
"@react-native-community/cli-platform-android": "^8.0.0-alpha.0",
|
|
"@react-native-community/cli-platform-ios": "^8.0.0-alpha.0",
|
|
"@react-native/assets": "1.0.0",
|
|
"@react-native/normalize-color": "2.0.0",
|
|
"@react-native/polyfills": "2.0.0",
|
|
"abort-controller": "^3.0.0",
|
|
"anser": "^1.4.9",
|
|
"base64-js": "^1.1.2",
|
|
"event-target-shim": "^5.0.1",
|
|
"hermes-engine": "~0.11.0",
|
|
"invariant": "^2.2.4",
|
|
"jsc-android": "^250230.2.1",
|
|
"memoize-one": "^5.0.0",
|
|
"metro-react-native-babel-transformer": "0.70.1",
|
|
"metro-runtime": "0.70.1",
|
|
"metro-source-map": "0.70.1",
|
|
"nullthrows": "^1.1.1",
|
|
"pretty-format": "^26.5.2",
|
|
"promise": "^8.0.3",
|
|
"react-devtools-core": "4.24.0",
|
|
"react-native-gradle-plugin": "^0.0.6",
|
|
"react-refresh": "^0.4.0",
|
|
"react-shallow-renderer": "16.14.1",
|
|
"regenerator-runtime": "^0.13.2",
|
|
"scheduler": "^0.21.0",
|
|
"stacktrace-parser": "^0.1.3",
|
|
"use-subscription": ">=1.0.0 <1.6.0",
|
|
"whatwg-fetch": "^3.0.0",
|
|
"ws": "^6.1.4"
|
|
},
|
|
"devDependencies": {
|
|
"flow-bin": "^0.175.1",
|
|
"react": "18.0.0",
|
|
"react-test-renderer": "^18.0.0"
|
|
},
|
|
"codegenConfig": {
|
|
"libraries": [
|
|
{
|
|
"name": "FBReactNativeSpec",
|
|
"type": "modules",
|
|
"ios": {},
|
|
"android": {},
|
|
"jsSrcsDir": "Libraries"
|
|
},
|
|
{
|
|
"name": "rncore",
|
|
"type": "components",
|
|
"ios": {},
|
|
"android": {},
|
|
"jsSrcsDir": "Libraries"
|
|
}
|
|
]
|
|
}
|
|
}
|