This project demonstrates react native, using yarn to version components in a monorepo.
- Make sure you have yarn 3
- Clone project
- Run
yarn install
- Make updates to desired component
- Run
yarn workspace @dfs-demo/component-a tsc
npm publish dist/libs/interceptor-react-native-with-reactotron --access public
- yarn workspace app-mobile add @dfs-demo/component-a@0.1.0
- yarn workspace app-mobile add @dfs-demo/component-a@0.1.1
Understand existing RN behavior based on workspaces-not-required-with-metro
branch. That is yarn workspaces don't seem to be required for metro bundler to allow for workspace support.