Socket
Socket
Sign inDemoInstall

react-native-create-bridge

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-create-bridge - npm Package Compare versions

Comparing version 1.2.2 to 2.0.0

2

CONTRIBUTING.md

@@ -19,3 +19,3 @@ # Contributor Guidelines

5. Make the appropriate changes for the issue you are trying to address or the feature that you want to add. If you are adding a feature or changing functionality, please write tests! 👍 Tests will help your PR get merged faster.
6. Test your change locally by running `npm run package:dev`. This command will build the project and create a symlink. In a test project, run `npm link react-native-create-bridge` which will link to your local copy. Then, you can run `create-bridge` to test your change.
6. Test your change locally by running `npm run package:dev`. This command will build the project and create a symlink. In a test project, run `npm install --save react-native-create-bridge && npm link react-native-create-bridge` which will link to your local copy. Then, you can run `react-native new-module` to test your change.
7. Confirm that tests still pass by running `npm run test`. If the tests are failing, please ask for help!

@@ -22,0 +22,0 @@ 8. Add and commit the changed files using `git add` and `git commit`. We use [Conventional Changelog Standard](https://github.com/bcoe/conventional-changelog-standard/blob/master/convention.md) for our commit messages. More info on that below.

{
"name": "react-native-create-bridge",
"version": "1.2.2",
"version": "2.0.0",
"description": "A CLI generator that creates React Native bridges with ease!",

@@ -67,3 +67,6 @@ "main": "index.js",

"plugins": ["transform-runtime"]
},
"rnpm": {
"plugin": "./src/index.js"
}
}

@@ -5,4 +5,4 @@ # react-native-create-bridge

## Getting Started
1. `npm install -g react-native-create-bridge` or `yarn global add react-native-create-bridge`
2. From the root of your React Native project, run `create-bridge`
1. `npm install --save react-native-create-bridge` or `yarn add react-native-create-bridge`
2. From the root of your React Native project, run `react-native new-module`
3. The prompts will ask you for:

@@ -52,3 +52,3 @@ - Your bridge module name

- Import your package at the top: `import com.yourapp.yourmodule.YourModulePackage`
#### iOS/Obj-C

@@ -73,3 +73,3 @@ - Currently, you will need to add the files manually to your project in Xcode. Right click on the folder with your app name and select `Add Files To YourApp`. Select the files associated with your module and click `Add`

4. After you make changes, link your local package by running `npm run package:dev`
5. You can now run `create-bridge` locally in a React Native project to test your changes
5. You can now run `react-native new-module` locally in a React Native project to test your changes
6. `npm run test` will run the Jest test suite

@@ -91,4 +91,5 @@

| :---: | :---: | :---: | :---: | :---: | :---: |
| [<img src="https://avatars0.githubusercontent.com/u/4745679?s=460&v=4" width="100px;"/><br /><sub>Jarret Moses</sub>](https://github.com/jarretmoses)<br />[💻](https://github.com/peggyrayzis/react-native-create-bridge/commits?author=jarretmoses "Code") [📖](https://github.com/peggyrayzis/react-native-create-bridge/commits?author=jarretmoses "Documentation") |
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc