Commit 917d97e
Fix iOS Codegen fallback for libraries without an iOS config (#57790)
Summary:
- Keep component libraries in the iOS third-party component crawl even when their Codegen config has no `ios` block.
- Add a regression test covering a component library without iOS configuration.
## Changelog:
[iOS] [FIXED] - iOS Codegen now discovers third-party component libraries without an iOS configuration.
Fixes #55308
Pull Request resolved: #57790
Test Plan:
- Targeted Jest test passes:
`yarn jest packages/react-native/scripts/codegen/__tests__/generate-artifacts-executor-test.js --runInBand --testNamePattern="crawls component libraries without an iOS config"`
- The full test file executes all 44 tests successfully, but Jest exits from an existing Node 26 cleanup-hook incompatibility with `fs.rmdirSync(..., {recursive: true})`.
Reviewed By: cortinico
Differential Revision: D114523918
Pulled By: fabriziocucci
fbshipit-source-id: 4630ba1cc60a30f8036d1ba3f022a247d03925591 parent 568eaa6 commit 917d97e
2 files changed
Lines changed: 56 additions & 5 deletions
File tree
- packages/react-native/scripts/codegen
- __tests__
- generate-artifacts-executor
Lines changed: 51 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
176 | 180 | | |
177 | 181 | | |
178 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
179 | 230 | | |
180 | 231 | | |
181 | 232 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | 399 | | |
405 | 400 | | |
406 | 401 | | |
407 | 402 | | |
408 | 403 | | |
409 | 404 | | |
410 | 405 | | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| |||
0 commit comments