Skip to content

The @nx/expo plugin provides various executors to help you create and configure expo projects within your Nx workspace. Below is a complete reference for all available executors and their options.

For an overview of the plugin and setup instructions, see the @nx/expo introduction.

List all Expo Application Services (EAS) builds for your Expo project.

The build-list command allows to check the details of your Expo Application Services (EAS) build status.

project.json:

{
"name": "mobile",
//...
"targets": {
//...
"build-list": {
"executor": "@nx/expo:build-list",
"options": {}
}
//...
}
}
Terminal window
nx run mobile:build-list

The platform option allows you to check build status of different platform (e.g. android, ios, all):

"build-list": {
"executor": "@nx/expo:build-list",
"options": {
"platform": "ios"
}
}

The interactive option allows you to specify whether to use interactive mode:

"build-list": {
"executor": "@nx/expo:build-list",
"options": {
"interactive": true
}
}

The json option allows you to print the output in JSON format:

"build-list": {
"executor": "@nx/expo:build-list",
"options": {
"interactive": false,
"json": true
}
}

OptionTypeDescriptionDefault
appBuildVersionstringApp build version of EAS build
appIdentifierstringApp identifier of EAS build
appVersionstringApp version of EAS build
buildProfilestringBuild profile of EAS build
channelstringChannel of EAS build
distributionanyDistribution of EAS build
gitCommitHashstringGit commit hash of EAS build
interactivebooleanRun the command in interactive mode.
jsonbooleanEnable JSON output, non-JSON messages will be printed to stderr
limitnumberLimit of numbers to list EAS builds
platformanyThe platform to build the app.
runtimeVersionstringRuntime version of EAS build
sdkVersionstringSDK version of EAS build
statusanyStatus of EAS build

Ensure workspace node_modules is symlink under app’s node_modules folder.

Updates package.json with project dependencies.

OptionTypeDescriptionDefault
allbooleanCopy all dependencies and devDependencies from the workspace root package.json.false
excludearrayAn array of npm packages to exclude.[]
excludeImplicitbooleanThis will ignore npm packages from projects listed in implicitDependencies (e.g. backend API projects)false
includearrayAn array of additional npm packages to include.[]

Start an EAS update for your expo project.

OptionTypeDescriptionDefault
autobooleanUse the current git branch and commit message for the EAS branch and update messagefalse
branchstringBranch to publish the update group on
groupstringUpdate group to republish
inputDirstringLocation of the bundle
interactivebooleanRun command in interactive modetrue
jsonbooleanEnable JSON output, non-JSON messages will be printed to stderrfalse
messagestringA short message describing the update
platformanyThe platform to build the app, example values: ios, android, all."all"
privateKeyPathstringFile containing the PEM-encoded private key corresponding to the certificate in expo-updates’ configuration. Defaults to a file named “private-key.pem” in the certificate’s directory.
republishbooleanRepublish a previous update within a branchfalse
skipBundlerbooleanSkip running Expo CLI to bundle the app before publishingfalse