@nx/react-native:upgrade-native

Upgrade native iOS and Android code to latest.

Usage

1nx generate upgrade-native ... 2

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

You can specify the collection explicitly as follows:

1nx g @nx/react-native:upgrade-native ... 2

Show what will be generated without writing to disk:

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

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: cypress
Accepted values: cypress, playwright, detox, none

Adds the specified e2e test runner.

js

boolean
Default: false

Generate JavaScript files rather than TypeScript files

install

Internal
boolean
Default: true

Runs pod install for native modules before building iOS app.