mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5112bc5dbc
Summary: Ahead of cut of RN 0.72, I'm upgrading CLI and Metro according to https://github.com/react-native-community/cli/releases/tag/v11.0.0-alpha.2 ~While working on it, I noticed that run-ios has some changes that make the e2e test script not work super well, so I'll be checking in with the CLI team to figure out what's wrong. Let's not merge it until that's address it. (also, there's already a bump for Metro that we need https://github.com/react-native-community/cli/commit/8d18baef554423904c036cbeaa5a1ea92603ff5d so I'll probably change the version to latest CLI and Metro once more)~ (all addressed) ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [GENERAL] [CHANGED] - bump CLI to 11 alphav2 and metro to 0.75.1 Pull Request resolved: https://github.com/facebook/react-native/pull/36271 Test Plan: Test CI, and locally I've used the e2e test script to ensure everything still works. Reviewed By: NickGerleman Differential Revision: D43625952 Pulled By: cipolleschi fbshipit-source-id: dad940b65c56a586ae82acc2e7c16a918b872ee5
178 lines
6.3 KiB
JSON
178 lines
6.3 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": ">=16"
|
|
},
|
|
"types": "types",
|
|
"jest-junit": {
|
|
"outputDirectory": "reports/junit",
|
|
"outputName": "js-test-results.xml"
|
|
},
|
|
"files": [
|
|
"android",
|
|
"build.gradle.kts",
|
|
"cli.js",
|
|
"flow",
|
|
"flow-typed",
|
|
"gradle.properties",
|
|
"index.js",
|
|
"interface.js",
|
|
"jest-preset.js",
|
|
"jest",
|
|
"!jest/private",
|
|
"Libraries",
|
|
"LICENSE",
|
|
"local-cli",
|
|
"React-Core.podspec",
|
|
"react-native.config.js",
|
|
"React.podspec",
|
|
"React",
|
|
"ReactAndroid",
|
|
"ReactCommon",
|
|
"README.md",
|
|
"rn-get-polyfills.js",
|
|
"scripts/compose-source-maps.js",
|
|
"scripts/find-node-for-xcode.sh",
|
|
"scripts/generate-codegen-artifacts.js",
|
|
"scripts/generate-provider-cli.js",
|
|
"scripts/generate-specs-cli.js",
|
|
"scripts/codegen/codegen-utils.js",
|
|
"scripts/codegen/generate-artifacts-executor.js",
|
|
"scripts/codegen/generate-specs-cli-executor.js",
|
|
"scripts/hermes/hermes-utils.js",
|
|
"scripts/hermes/prepare-hermes-for-build.js",
|
|
"scripts/ios-configure-glog.sh",
|
|
"scripts/xcode/with-environment.sh",
|
|
"scripts/launchPackager.bat",
|
|
"scripts/launchPackager.command",
|
|
"scripts/native_modules.rb",
|
|
"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/cocoapods",
|
|
"scripts/react-native-xcode.sh",
|
|
"sdks/.hermesversion",
|
|
"sdks/hermes-engine",
|
|
"sdks/hermesc",
|
|
"settings.gradle.kts",
|
|
"template.config.js",
|
|
"template",
|
|
"!template/node_modules",
|
|
"!template/package-lock.json",
|
|
"!template/yarn.lock",
|
|
"third-party-podspecs",
|
|
"types"
|
|
],
|
|
"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,ts,tsx}\"",
|
|
"format-check": "prettier --list-different \"./**/*.{js,md,yml,ts,tsx}\"",
|
|
"update-lock": "npx yarn-deduplicate",
|
|
"docker-setup-android": "docker pull reactnativecommunity/react-native-android:7.0",
|
|
"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-e2e-local": "node ./scripts/test-e2e-local.js",
|
|
"test-e2e-local-clean": "node ./scripts/test-e2e-local-clean.js",
|
|
"test-ios": "./scripts/objc-test.sh test",
|
|
"test-typescript": "dtslint types",
|
|
"test-typescript-offline": "dtslint --localTs node_modules/typescript/lib types",
|
|
"bump-all-updated-packages": "node ./scripts/monorepo/bump-all-updated-packages",
|
|
"align-package-versions": "node ./scripts/monorepo/align-package-versions.js"
|
|
},
|
|
"workspaces": [
|
|
"packages/*",
|
|
"repo-config"
|
|
],
|
|
"peerDependencies": {
|
|
"react": "18.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@jest/create-cache-key-function": "^29.2.1",
|
|
"@react-native-community/cli": "11.0.0-alpha.2",
|
|
"@react-native-community/cli-platform-android": "11.0.0-alpha.2",
|
|
"@react-native-community/cli-platform-ios": "11.0.0-alpha.2",
|
|
"@react-native/assets-registry": "^0.72.0",
|
|
"@react-native/gradle-plugin": "^0.72.4",
|
|
"@react-native/js-polyfills": "^0.72.1",
|
|
"@react-native/normalize-colors": "^0.72.0",
|
|
"@react-native/virtualized-lists": "^0.72.1",
|
|
"abort-controller": "^3.0.0",
|
|
"anser": "^1.4.9",
|
|
"base64-js": "^1.1.2",
|
|
"deprecated-react-native-prop-types": "^4.0.0",
|
|
"event-target-shim": "^5.0.1",
|
|
"flow-enums-runtime": "^0.0.5",
|
|
"invariant": "^2.2.4",
|
|
"jest-environment-node": "^29.2.1",
|
|
"jsc-android": "^250231.0.0",
|
|
"memoize-one": "^5.0.0",
|
|
"metro-react-native-babel-transformer": "0.75.1",
|
|
"metro-runtime": "0.75.1",
|
|
"metro-source-map": "0.75.1",
|
|
"mkdirp": "^0.5.1",
|
|
"nullthrows": "^1.1.1",
|
|
"pretty-format": "^26.5.2",
|
|
"promise": "^8.3.0",
|
|
"react-devtools-core": "^4.27.2",
|
|
"react-refresh": "^0.4.0",
|
|
"react-shallow-renderer": "^16.15.0",
|
|
"regenerator-runtime": "^0.13.2",
|
|
"scheduler": "^0.23.0",
|
|
"stacktrace-parser": "^0.1.3",
|
|
"use-sync-external-store": "^1.0.0",
|
|
"whatwg-fetch": "^3.0.0",
|
|
"ws": "^6.2.2"
|
|
},
|
|
"devDependencies": {
|
|
"flow-bin": "^0.200.0",
|
|
"hermes-eslint": "0.8.0",
|
|
"mock-fs": "^5.1.4",
|
|
"react": "18.2.0",
|
|
"react-test-renderer": "^18.2.0"
|
|
},
|
|
"codegenConfig": {
|
|
"libraries": [
|
|
{
|
|
"name": "FBReactNativeSpec",
|
|
"type": "modules",
|
|
"ios": {},
|
|
"android": {},
|
|
"jsSrcsDir": "Libraries"
|
|
},
|
|
{
|
|
"name": "rncore",
|
|
"type": "components",
|
|
"ios": {},
|
|
"android": {},
|
|
"jsSrcsDir": "Libraries"
|
|
}
|
|
]
|
|
}
|
|
}
|