- Fork this repository to your own GitHub account and then clone it to your local device. (
git remote add upstream git@github.com:expo/orbit.git😉) - Make sure you have the following packages globally installed on your system:
- Install the Node packages (
yarn install) - Build
common-types,eas-sharedandcliby runningyarn buildat the root of the project - Inside the
apps/clidirectory runyarn archiveto generate the standalone executable used by themenu-bar - Finally, run
yarn update-cliinside theapps/menu-bardirectory to update the local cli file
- From the
apps/clidirectory runyarn startto start Metro Bundler - Run
yarn macosto build themenu-barapp with Xcode - And Orbit should automatically show up in your menu bar.
If this is your first time committing to a large public repo, you could look through this neat tutorial: "How to Write a Git Commit Message"
Commit messages are formatted like so: [menu-bar] Title. Examples:
[cli] Fix typo in xxx
[devices-manager] Add test-case for custom devices
[menu-bar] Update loading icon
To help keep CI green, please make sure of the following:
- Run
yarn lint --fixto fix the formatting of the code. Ensure thatyarn lintsucceeds without errors or warnings.
Hungry for more, check out these great guides: