UNPKG

@nx/react-native

Version:

The Nx Plugin for React Native contains generators for managing React Native applications and libraries within an Nx workspace. It provides: -Integration with libraries such as Jest, Detox, and Storybook. -Scaffolding for creating buildable libraries th

15 lines (14 loc) 639 B
import { Tree } from '@nx/devkit'; /** * Remove metro-* package since it is no longer explicity required in package.json. * react-native has dependency of @react-native/community-cli-plugin * @react-native/community-cli-plugin has dependency of metro * * Also remove @react-native-community/cli-* since it is a dependency of react-native. * (excpet reactNativeCommunityCliPlatformAndroidVersion because android files refer it by path) * * https://react-native-community.github.io/upgrade-helper/?from=0.72.6&to=0.73.1#RnDiffApp-package.json * @param tree * @returns */ export default function update(tree: Tree): Promise<void>;