mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
eba1828a83
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44721 For iOS builds of `react-native`, the [react-native-xcode.sh](https://www.internalfb.com/code/fbsource/[7ad79aae3e8bf565d53f087ac7f7b7622b19acec]/xplat/js/react-native-github/packages/react-native/scripts/react-native-xcode.sh) script is executed as one of the build phases. This phase bundles the JS application (dev or production). I've updated this to use the new `bundle.js` script instead of calling the `react-native/cli.js`. This is identical except with how the config is captured: {F1669960016} This is similar to our approach with the Gradle plugin, giving Framework authors more control. **Other:** formatting changes for the Privacy Manifest that Xcode keeps updating. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D57915368 fbshipit-source-id: f52ea4b3cb94212ac97a3d7edeb68747418fe0a9
170 lines
4.6 KiB
JSON
170 lines
4.6 KiB
JSON
{
|
|
"name": "react-native",
|
|
"version": "1000.0.0",
|
|
"description": "A framework for building native apps using React",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/facebook/react-native.git",
|
|
"directory": "packages/react-native"
|
|
},
|
|
"homepage": "https://reactnative.dev/",
|
|
"keywords": [
|
|
"react",
|
|
"react-native",
|
|
"android",
|
|
"ios",
|
|
"mobile",
|
|
"cross-platform",
|
|
"app-framework",
|
|
"mobile-development"
|
|
],
|
|
"bugs": "https://github.com/facebook/react-native/issues",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"bin": {
|
|
"react-native": "cli.js"
|
|
},
|
|
"types": "types",
|
|
"jest-junit": {
|
|
"outputDirectory": "reports/junit",
|
|
"outputName": "js-test-results.xml"
|
|
},
|
|
"files": [
|
|
"android",
|
|
"build.gradle.kts",
|
|
"cli.js",
|
|
"flow",
|
|
"gradle.properties",
|
|
"gradle/libs.versions.toml",
|
|
"index.js",
|
|
"interface.js",
|
|
"jest-preset.js",
|
|
"jest",
|
|
"Libraries",
|
|
"LICENSE",
|
|
"React-Core.podspec",
|
|
"react-native.config.js",
|
|
"React.podspec",
|
|
"React",
|
|
"!React/Fabric/RCTThirdPartyFabricComponentsProvider.*",
|
|
"ReactAndroid",
|
|
"ReactApple",
|
|
"ReactCommon",
|
|
"README.md",
|
|
"rn-get-polyfills.js",
|
|
"scripts/compose-source-maps.js",
|
|
"scripts/find-node-for-xcode.sh",
|
|
"scripts/bundle.js",
|
|
"scripts/generate-codegen-artifacts.js",
|
|
"scripts/generate-provider-cli.js",
|
|
"scripts/generate-specs-cli.js",
|
|
"scripts/codegen",
|
|
"!scripts/codegen/__tests__",
|
|
"!scripts/codegen/__test_fixtures__",
|
|
"scripts/hermes/hermes-utils.js",
|
|
"scripts/hermes/prepare-hermes-for-build.js",
|
|
"scripts/ios-configure-glog.sh",
|
|
"scripts/xcode/ccache-clang++.sh",
|
|
"scripts/xcode/ccache-clang.sh",
|
|
"scripts/xcode/ccache.conf",
|
|
"scripts/xcode/with-environment.sh",
|
|
"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/cocoapods/__tests__",
|
|
"scripts/react-native-xcode.sh",
|
|
"sdks/.hermesversion",
|
|
"sdks/hermes-engine",
|
|
"sdks/hermesc",
|
|
"settings.gradle.kts",
|
|
"src",
|
|
"template.config.js",
|
|
"template",
|
|
"!template/node_modules",
|
|
"!template/package-lock.json",
|
|
"!template/yarn.lock",
|
|
"third-party-podspecs",
|
|
"types"
|
|
],
|
|
"scripts": {
|
|
"prepack": "node ./scripts/prepack.js",
|
|
"featureflags-check": "node ./scripts/featureflags/index.js --verify-unchanged",
|
|
"featureflags-update": "node ./scripts/featureflags/index.js"
|
|
},
|
|
"peerDependencies": {
|
|
"@types/react": "^18.2.6",
|
|
"react": "^18.2.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@types/react": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@jest/create-cache-key-function": "^29.6.3",
|
|
"@react-native-community/cli": "14.0.0-alpha.2",
|
|
"@react-native-community/cli-platform-android": "14.0.0-alpha.2",
|
|
"@react-native-community/cli-platform-ios": "14.0.0-alpha.2",
|
|
"@react-native/assets-registry": "0.75.0-main",
|
|
"@react-native/codegen": "0.75.0-main",
|
|
"@react-native/community-cli-plugin": "0.75.0-main",
|
|
"@react-native/gradle-plugin": "0.75.0-main",
|
|
"@react-native/js-polyfills": "0.75.0-main",
|
|
"@react-native/normalize-colors": "0.75.0-main",
|
|
"@react-native/virtualized-lists": "0.75.0-main",
|
|
"abort-controller": "^3.0.0",
|
|
"anser": "^1.4.9",
|
|
"ansi-regex": "^5.0.0",
|
|
"base64-js": "^1.5.1",
|
|
"chalk": "^4.0.0",
|
|
"event-target-shim": "^5.0.1",
|
|
"flow-enums-runtime": "^0.0.6",
|
|
"glob": "^7.1.1",
|
|
"invariant": "^2.2.4",
|
|
"jest-environment-node": "^29.6.3",
|
|
"jsc-android": "^250231.0.0",
|
|
"memoize-one": "^5.0.0",
|
|
"metro-runtime": "^0.80.3",
|
|
"metro-source-map": "^0.80.3",
|
|
"mkdirp": "^0.5.1",
|
|
"nullthrows": "^1.1.1",
|
|
"pretty-format": "^26.5.2",
|
|
"promise": "^8.3.0",
|
|
"react-devtools-core": "5.1.0",
|
|
"react-refresh": "^0.14.0",
|
|
"react-shallow-renderer": "^16.15.0",
|
|
"regenerator-runtime": "^0.13.2",
|
|
"scheduler": "0.24.0-canary-efb381bbf-20230505",
|
|
"semver": "^7.1.3",
|
|
"stacktrace-parser": "^0.1.10",
|
|
"whatwg-fetch": "^3.0.0",
|
|
"ws": "^6.2.2",
|
|
"yargs": "^17.6.2"
|
|
},
|
|
"codegenConfig": {
|
|
"libraries": [
|
|
{
|
|
"name": "FBReactNativeSpec",
|
|
"type": "modules",
|
|
"ios": {},
|
|
"android": {},
|
|
"jsSrcsDir": "src"
|
|
},
|
|
{
|
|
"name": "rncore",
|
|
"type": "components",
|
|
"ios": {},
|
|
"android": {},
|
|
"jsSrcsDir": "src"
|
|
}
|
|
]
|
|
}
|
|
}
|