mirror of
https://github.com/expo/eas-cli.git
synced 2026-11-15 17:31:46 -10:00
## Consolidate eas-build packages into eas-cli monorepo This PR completes the migration of packages from the `eas-build` repository into `eas-cli`, consolidating all EAS Build tooling into a single monorepo. ### Background Previously, the EAS Build libraries lived in a separate `expo/eas-build` repository. This made development and releases more complex, requiring coordination between two repos. By consolidating into `eas-cli`, we can: - Develop and test changes across CLI and build tools in a single PR - Simplify the release process - Reduce dependency version drift between packages ### Migrated Packages The following packages have been moved from `eas-build`: | Package | npm Name | License | |---------|----------|---------| | `build-tools` | `@expo/build-tools` | BUSL-1.1 | | `eas-build-job` | `@expo/eas-build-job` | MIT | | `steps` | `@expo/steps` | BUSL-1.1 | | `logger` | `@expo/logger` | BUSL-1.1 | | `downloader` | `@expo/downloader` | BUSL-1.1 | | `turtle-spawn` | `@expo/turtle-spawn` | BUSL-1.1 | | `template-file` | `@expo/template-file` | BUSL-1.1 | | `local-build-plugin` | `eas-cli-local-build-plugin` | BUSL-1.1 | | `create-eas-build-function` | `create-eas-build-function` | MIT | ### Changes **Package Configuration:** - Updated `repository` and `bugs` URLs in all migrated package.json files to point to `expo/eas-cli` - Updated README repository links - Aligned dependency versions across `eas-cli`, `eas-json`, and `worker` to use workspace packages **Documentation:** - Expanded `CLAUDE.md` with comprehensive documentation covering all packages, architectural patterns, and development workflows - Added `AGENTS.md` for AI agent guidance **Licensing:** - Added `LICENSE-BUSL` for BUSL-1.1 licensed packages - Added `LICENSE-eas-build-job` for MIT licensed packages **Build Infrastructure:** - Added `.gitignore` entries for build artifacts: `dist`, `*.tsbuildinfo` (needed for `tsconfig.json` and `tsconfig.build.json`), vim swap files - Added `bin/eas-cli-local-build-plugin` symlink for local build testing **Dependency Cleanup:** - Removed stale npm registry entries from `yarn.lock` - workspace packages now resolve locally ### Testing - [x] `yarn install` completes successfully - [x] `yarn build` builds all packages - [x] `yarn test` passes - [x] Worker builds and runs correctly against workspace packages ### Follow-up After this PR is merged: - Archive or deprecate the `expo/eas-build` repository - Update any CI/CD pipelines that referenced the old repo - Update internal documentation pointing to eas-build
806 B
806 B
@expo/steps
TBD
Examples
If you want to run config examples from the examples directory, e.g. examples/simple, follow the steps:
- Run
yarnandyarn buildin the root of the monorepo. - Add
alias eas-steps="/REPLACE/WITH/PATH/TO/eas-cli/packages/steps/cli.sh"to your .zshrc/.bashrc/etc. - cd into examples/simple and run
eas-steps config.yml project [darwin|linux]. The first argument is the config file, and the second is the default working directory for the config file. The third argument is the platform for which you want to simulate running a custom build, it defaults to the platform of the device on which the CLI is currently being run.
Example project
See the example project using custom builds at https://github.com/expo/eas-custom-builds-example.