expo / expo/eas-cli

Docs Issue -- Corepack listed as boolean, should be "object"

Open
#3,046 0 comments 0 reactions 0 assignees View on GitHub
needs review
Dominant language
TypeScript
Stars
1.4k
Forks
236
Avg merge
3d 1h
Merged PRs (30d)
91

Description

### Build/Submit details page URL

_No response_

### Summary

In the eas.json documentation for "build", the `corepack` option is listed as type "boolean", but when you use that, eas-cli prints an error message specifying that it should be an "object".

**Through trial and error, I found that you can specify it like { "pnpm": "version_number_here" } and I assume that also works for other package managers.**

### Managed or bare?

bare

### Environment

expo-env-info 1.3.3 environment info:
System:
OS: macOS 15.5
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm
Watchman: 2025.05.26.00 - /opt/homebrew/bin/watchman
SDKs:
iOS SDK:
Platforms: DriverKit 24.5, iOS 18.5, macOS 15.5, tvOS 18.5, visionOS 2.5, watchOS 11.5
IDEs:
Xcode: 16.4/16F6 - /usr/bin/xcodebuild
npmPackages:
@expo/metro-config: ^0.20.14 => 0.20.14
expo: ^53.0.10 => 53.0.10
expo-router: ~5.0.7 => 5.0.7
metro: ^0.82.4 => 0.82.4
react: 19.0.0 => 19.0.0
react-dom: 19.0.0 => 19.0.0
react-native: 0.79.3 => 0.79.3
react-native-web: ^0.20.0 => 0.20.0
npmGlobalPackages:
eas-cli: 16.8.0
Expo Workflow: managed

### Error output

_No response_

### Reproducible demo or steps to reproduce from a blank project

N/A -- docs issue only

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.