Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 2.38 KB

File metadata and controls

48 lines (34 loc) · 2.38 KB

Contributing to Expo Orbit

📦 Download and Setup

  1. 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 😉).
  2. Make sure you have the following packages globally installed on your system:
    • node (Node 20 or higher is recommended)
    • yarn (1.22 or higher is recommended)
    • ruby (3.2 or higher is recommended)
  3. Install the Node packages (yarn install).
  4. Install the Ruby packages (bundle install) inside the apps/menu-bar directory.
  5. Install the Pods (npx pod-install) inside the apps/menu-bar directory.
  6. Build common-types, eas-shared and cli by running yarn build at the root of the project.
  7. Inside the apps/cli directory run yarn archive to generate the standalone executable used by the menu-bar.
  8. Finally, run yarn update-cli inside the apps/menu-bar directory to update the local CLI file.

🏎️ Start the Development environment

  1. From the apps/menu-bar directory, run yarn start to start Metro Bundler.
  2. Run yarn macos and build the menu-bar app with Xcode.
  3. And Orbit should automatically show up in your menu bar.

📝 Writing a Commit Message

Note

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

🔎 Before Submitting a PR

To help keep CI green, please make sure of the following:

  • Run yarn lint --fix to fix the formatting of the code. Ensure that yarn lint succeeds without errors or warnings.

📚 Additional Resources

Hungry for more, check out these great guides: