Commit eb3bccb
fix: resolve cli-platform-apple from cli-platform-ios path for pnpm (#2945)
## Summary
- Re-applies the fix from #2820 that was inadvertently reverted in #2917
- In pnpm setups, `@react-native-community/cli-platform-apple` is a
transitive dependency of `cli-platform-ios` and not directly resolvable
from the project root — resolve `cli-platform-ios` first and use its
path as the starting directory
Fixes #2944
## Test plan
- Verified in a pnpm monorepo that `cli-platform-apple` resolves
correctly and the `macos` platform is registered
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent eda57a2 commit eb3bccb
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| 80 | + | |
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
| |||
0 commit comments