references/monorepo-singlerepo-targeting.md
title: Monorepo vs Single-App Targeting impact: HIGH tags: monorepo, workspace, react-native, app-selection
Skill: Monorepo vs Single-App Targeting
Small instruction set for selecting the correct app package and running upgrade commands in the right scope.
Quick Commands
APP_DIR=apps/mobile
npm pkg get dependencies.react-native devDependencies.react-native --prefix "$APP_DIR"
Rules
- Pick one target app package before any upgrade command.
- Run all app-specific commands with
--prefix "$APP_DIR"or fromcd "$APP_DIR". - Use
APP_DIR=.for single-package repos. - Never apply diffs to workspace root when RN app lives in a subpackage.
Verification
react-nativeis present inAPP_DIR/package.json.ios/andandroid/paths used for build/pods are underAPP_DIR.
Related Skills
- upgrading-react-native.md - Routing and mode selection
- upgrade-helper-core.md - Base upgrade workflow
- expo-sdk-upgrade.md - Expo-specific steps