Files
Ramanpreet NaraandFacebook GitHub Bot 45fa563d3a Remove RCTUnsafeExecuteOnMainQueueSync from sample modules (#50149)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/50149

Let's just remove RCTUnsafeExecuteOnMainQueueSync from the examples.

That way, people don't copy-paste it, thinking it's okay to use.

Changelog: [Internal]

Reviewed By: lyahdav

Differential Revision: D71505823

fbshipit-source-id: f8d51b1a16bfdd6abdf62a6ba09ffff49d79a3f1
2025-03-20 16:25:15 -07:00

68 lines
2.1 KiB
JSON

{
"name": "@react-native/tester",
"version": "0.80.0-main",
"private": true,
"description": "React Native tester app.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/react-native.git",
"directory": "packages/rn-tester"
},
"engines": {
"node": ">=18"
},
"scripts": {
"start": "react-native start",
"android": "react-native run-android --mode HermesDebug",
"install-android-jsc": "../../gradlew :packages:rn-tester:android:app:installJscDebug",
"install-android-hermes": "../../gradlew :packages:rn-tester:android:app:installHermesDebug",
"clean-android": "rm -rf android/app/build",
"prepare-ios": "node ./cli.js bootstrap ios",
"clean-ios": "rm -rf build/generated/ios Pods Podfile.lock",
"e2e-build-android": "../../gradlew :packages:rn-tester:android:app:installHermesRelease -PreactNativeArchitectures=arm64-v8a",
"e2e-build-ios": "./scripts/maestro-build-ios.sh",
"e2e-test-android": "maestro test .maestro/ -e APP_ID=com.facebook.react.uiapp",
"e2e-test-ios": "./scripts/maestro-test-ios.sh"
},
"dependencies": {
"@react-native/oss-library-example": "0.80.0-main",
"@react-native/popup-menu-android": "0.80.0-main",
"flow-enums-runtime": "^0.0.6",
"invariant": "^2.2.4",
"nullthrows": "^1.1.1"
},
"peerDependencies": {
"react": "19.0.0",
"react-native": "*"
},
"codegenConfig": {
"name": "AppSpecs",
"type": "all",
"jsSrcsDir": ".",
"android": {
"javaPackageName": "com.facebook.fbreact.specs"
},
"ios": {
"modules": {
"SampleTurboModule": {
"unstableRequiresMainQueueSetup": true
}
},
"components": {
"RNTMyNativeView": {
"className": "RNTMyNativeViewComponentView"
}
}
}
},
"devDependencies": {
"@react-native-community/cli": "17.0.0",
"@react-native-community/cli-platform-android": "17.0.0",
"@react-native-community/cli-platform-ios": "17.0.0",
"commander": "^12.0.0",
"listr2": "^6.4.1",
"rxjs": "npm:@react-native-community/rxjs@6.5.4-custom"
}
}