@nx/react-native:upgrade-native

Upgrade native iOS and Android code to latest.

Usage

nx generate upgrade-native ...

By default, Nx will search for upgrade-native in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

nx g @nx/react-native:upgrade-native ...
Nx 15 and lower use @nrwl/ instead of @nx/

Show what will be generated without writing to disk:

nx g upgrade-native ... --dry-run

Options

name

Required
string

Application project name to upgrade native files.

displayName

string

The display name to show in the application. Defaults to name.

e2eTestRunner

string
Default: detox
Accepted values: detox, none

Adds the specified e2e test runner.

js

boolean
Default: false

Generate JavaScript files rather than TypeScript files

install

boolean
Default: true

Runs pod install for native modules before building iOS app.