Skip to content

Commit 4924f66

Browse files
authored
Refactor cmake-rn to use a platform abstraction (#189)
* Add isSupportedTriplet to host * Export weak node api path * Refactor into a platform abstraction * Add unit tests to cmake-rn * Add changeset * Update Ferric to use weakNodeApiPath * Add to message when lib names mismatch * Add exception to fail determineLibraryBasename early * Use array as type argument * Skip post build step if no relevant targets exists * Incorporated feedback from CoPilot
1 parent 5c67f90 commit 4924f66

File tree

19 files changed

+708
-545
lines changed

19 files changed

+708
-545
lines changed

.changeset/shiny-hotels-wink.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"cmake-rn": patch
3+
"react-native-node-api": patch
4+
---
5+
6+
Refactor into a platform abstraction

packages/cmake-rn/src/android.ts

Lines changed: 0 additions & 103 deletions
This file was deleted.

packages/cmake-rn/src/apple.ts

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)