mirror of
https://github.com/expo/turtle.git
synced 2026-11-14 19:12:55 -10:00
2.3 KiB
2.3 KiB
Contributing to Turtle CLI
How to contribute
You can contribute to Turtle CLI in various ways, including:
- Reporting bugs or issues on GitHub. Please make sure to fill in all the details suggested by the template to make sure the issue can be addressed as quickly as possible.
- Submitting improvements to the documentation. Updates, enhancements, new guides, spelling fixes…
- Helping other people on Expo Forums and on Expo Developers Discord.
- Looking at existing issues and adding more information, particularly helping to reproduce the issues.
- Submitting a pull request with a bug fix or an improvement.
Turtle CLI repository
Codebase
This repository contains the codebase for the turtle-cli NPM package. The same codebase is used to run standalone app builders on the Expo servers.
Branches
The master branch of the repository should be kept releasable at any time. This way we can continuously release fixes and improvements without costly managing of different branches and issues will be noticed and fixed quickly. This also ensures other contributors can check out the latest version from GitHub and work on it with minimal disruption from other features in progress.
Submitting a pull request
To submit a pull request:
- Fork the repository and create a feature branch. (Existing contributors can create feature branches without forking. Prefix the branch name with
@your-github-username/.) - Write the description of your pull request. Make sure to include a test plan and test your changes.
- Make sure all tests pass on CircleCI.
- Wait for a review and adjust the code if necessary.
Publishing a release
- Make sure you have set
GITHUB_TOKENandCIRCLE_API_USER_TOKENenvironment variables in.envrc.localfile. If you don't have the file, runcp .envrc.local.example .envrc.localand edit the file. - To release a new version of
turtle-cli, runyarn releasecommand. - If you wish to release a new beta version of
turtle-cli, runyarn release:betainstead. - Update the changelog.