-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(crnl): support nitro modules (#721)
### Summary Adds [Nitro Modules](https://nitro.margelo.com/) support to `create-react-native-library`.  ### What's next? ### Test plan Prior to all cases: 1. Clone this branch 2. Call `yarn` and `yarn prepare` 3. Call `bin/create-react-native-library` #### Example app 1. Create a new nitro module 4. Go to the module and install node dependencies 5. Call `yarn nitrogen` to create nitro bindings 6. Build the Android app and make sure it works properly 7. Install the pods and build the iOS app and make sure it works properly #### Published lib 1. Publish the library from the previous case using `https://github.com/wclr/yalc` (`yalc publish`) 2. Create a new React Native app 3. Call `yalc add your-lib` 4. Make sure the React Native app builds and works fine with your lib. --------- Co-authored-by: Marc Rousavy <[email protected]>
- Loading branch information
Showing
22 changed files
with
371 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.