This repository contains the source code for the EAS CLI and its related packages. EAS CLI is the command-line tool for interacting with Expo Application Services (EAS).
This is a Lerna monorepo containing the following packages:
eas-cli
: The main command-line interface for EAS. It allows you to build, submit, and manage your Expo projects.@expo/eas-json
: A library for reading, writing, and validatingeas.json
, the configuration file for EAS CLI.eas-build-cache-provider
: A build cache provider plugin for the Expo CLI to speed up local builds by using EAS's remote build cache.
This repository is a comprehensive resource for developers who want to understand how EAS CLI works, contribute to its development, or use its packages in their own projects.
- Node.js (version 18 or newer)
- Yarn
- Clone the repository:
git clone https://github.com/expo/eas-cli.git
- Navigate to the project directory:
cd eas-cli
- Install dependencies using Yarn:
yarn install
To build all the packages in the monorepo, run the following command from the root directory:
yarn build
To run the test suite for all packages, run the following command from the root directory:
yarn test
To run the local version of EAS CLI, you can use the following command from the root of the repository:
packages/eas-cli/bin/run <command>
For example, to view the help for the build
command:
packages/eas-cli/bin/run build --help
To debug the CLI, you can use the following command:
node --inspect-brk packages/eas-cli/bin/run <command>
Then, open chrome://inspect
in your browser and click on the "Open dedicated DevTools for Node" link.
Please see CONTRIBUTING.md for details on how to contribute to this project.
This project is licensed under the MIT License - see the LICENSE file for details.