@nrwl/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 @nrwl/react-native:upgrade-native ...

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.

install

boolean
Default: true

Runs pod install for native modules before building iOS app.

js

boolean
Default: false

Generate JavaScript files rather than TypeScript files