mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e96396bd18
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49212 Currently, developers can't use `popup-menu-android` at all because the Gradle file we publish is referencing internal machinery. I'm adding a pre-publish script that manipulates the Gradle. This is the easiest solution without having to do crazy setup inside RNGP or having duplicated version codes around in the monorepo. Fixes https://github.com/facebook/react-native/issues/49112 Changelog: [Android] [Fixed] - Fix react-native/popup-menu-android not building for 3rd party developers Reviewed By: cipolleschi Differential Revision: D69192874 fbshipit-source-id: 9f9e8a0a6e76308e598a09f4c70dbc659c238b00
52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"name": "@react-native/popup-menu-android",
|
|
"version": "0.79.0-main",
|
|
"description": "PopupMenu for the Android platform",
|
|
"main": "index.js",
|
|
"files": [
|
|
"js",
|
|
"android",
|
|
"react-native.config.js",
|
|
"!android/build",
|
|
"!**/__tests__",
|
|
"!**/__fixtures__",
|
|
"!**/__mocks__"
|
|
],
|
|
"keywords": [
|
|
"react-native",
|
|
"android"
|
|
],
|
|
"scripts": {
|
|
"prepublishOnly": "node ./scripts/prepublish-popup-menu-android.js"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@react-native/codegen": "0.79.0-main"
|
|
},
|
|
"peerDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"react": "*",
|
|
"react-native": "*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@types/react": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"nullthrows": "^1.1.1"
|
|
},
|
|
"codegenConfig": {
|
|
"name": "ReactPopupMenuAndroidSpecs",
|
|
"type": "components",
|
|
"jsSrcsDir": "js",
|
|
"outputDir": {
|
|
"android": "android"
|
|
},
|
|
"includesGeneratedCode": true,
|
|
"android": {
|
|
"javaPackageName": "com.facebook.react.viewmanagers"
|
|
}
|
|
}
|
|
}
|