mirror of
https://github.com/LeoYeAI/openclaw-master-skills.git
synced 2026-07-27 22:15:43 +00:00
1.0 KiB
1.0 KiB
title, impact, tags
| title | impact | tags |
|---|---|---|
| Monorepo vs Single-App Targeting | HIGH | 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