Skip to content

Commit

Permalink
fix(react-native-host): prevent unintentional autolinking (#3124)
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 committed May 2, 2024
1 parent f1f70fb commit f174719
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/strange-lions-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rnx-kit/react-native-host": patch
---

Prevent unintentional autolinking
3 changes: 2 additions & 1 deletion packages/react-native-host/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"android/build.gradle",
"android/gradle.properties",
"android/src",
"cocoa"
"cocoa",
"react-native.config.js"
],
"repository": {
"type": "git",
Expand Down
11 changes: 11 additions & 0 deletions packages/react-native-host/react-native.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
dependency: {
platforms: {
android: null,
ios: null,
macos: null,
visionos: null,
windows: null,
},
},
};

0 comments on commit f174719

Please sign in to comment.