Commit 4158414
committed
fix(readme): include src field in dfetch.yaml snippet for monorepo components
_generate_readme now emits a `src: <subpath>` line when the manifest
has a non-None subpath, matching the frontend's existing behaviour in
buildSnipHtml/buildEntry. The local checkout name (ext/<name>) also
uses the subpath instead of the repo name, so the snippet is correct
for monorepo components.
Three new tests cover src-line presence, correct local name selection,
and absence of src when subpath is None.
https://claude.ai/code/session_01TM31h9vfpQCdpBw4TyNC8T1 parent b516235 commit 4158414
2 files changed
Lines changed: 33 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
281 | | - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
282 | 284 | | |
283 | 285 | | |
284 | 286 | | |
285 | 287 | | |
286 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
287 | 291 | | |
288 | 292 | | |
| 293 | + | |
| 294 | + | |
289 | 295 | | |
290 | 296 | | |
291 | 297 | | |
| |||
294 | 300 | | |
295 | 301 | | |
296 | 302 | | |
297 | | - | |
298 | | - | |
| 303 | + | |
| 304 | + | |
299 | 305 | | |
300 | 306 | | |
301 | | - | |
| 307 | + | |
302 | 308 | | |
303 | 309 | | |
304 | 310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
427 | 448 | | |
428 | 449 | | |
429 | 450 | | |
| |||
0 commit comments