Routing and navigation for your React Native apps.
Documentation can be found at reactnavigation.org.
The project uses a monorepo structure for the packages managed by yarn workspaces and lerna. To get started with the project, run yarn
in the root directory to install the required dependencies for each package:
While developing, you can run the example app with Expo to test your changes:
Make sure your code passes TypeScript and ESLint. Run the following to verify:
yarn typescript yarn lint
To fix formatting errors, run the following:
Remember to add tests for your change if possible. Run the unit tests by:
Running the e2e tests with Detox (on iOS) requires the following:
First you need to install applesimutils
and detox-cli
:
brew tap wix/brew brew install applesimutils yarn global add detox-cli
Then you can build and run the tests:
detox build -c ios.sim.debug detox test -c ios.sim.debug
To publish a new version, first we need to export a GH_TOKEN
environment variable as mentioned here. Then run:
This will automatically bump the version and publish the packages. It'll also publish the changelogs on GitHub for each package.
Installing from a fork on GitHubSince we use a monorepo, it's not possible to install a package from the repository URL. If you need to install a forked version from Git, you can use gitpkg
.
First install gitpkg
:
Then follow these steps to publish and install a forked package:
cd
to the location of the cloned repoyarn
to install any dependenciescd
to the package directory that you want to use (e.g. cd packages/stack
for @react-navigation/stack
)gitpkg publish
to publish the package to your repoAfter publishing, you should see something like this:
Package uploaded to git@github.com:<user>/<repo>.git with the name <name>
You can now install the dependency in your project:
yarn add <user>/<repo>.git#<name>
Remember to replace <user>
, <repo>
and <name>
with right values.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4