Repository navigation
Commit 597471c
committed
tooling(ui-wiring): workspace-mirroring gates learn the four ui/ roots (objectstack#25697)
Three gates hold a hand-written copy of pnpm-workspace.yaml's `packages:`
block and red when the live file names a root they do not declare. Each
now declares the ui roots, which match nothing until the import:
- check-published-files: ROOT_DIR_WATCH_HINTS gains ui/*, ui/packages/*,
ui/apps/*, ui/examples/* (ui/* stands for the bare `ui` member, spelled
with a separator as the declaration requires).
- check-test-source-alias: WORKSPACE_PARENT_GLOBS gains the three `/*`
roots; the bare `ui` member is declared as WORKSPACE_BARE_MEMBER_MANIFESTS
(`ui/package.json`), walked as the one package at that directory and
reconciled against the live file like the globs.
- check-undeclared-dep-imports: its parser refused any entry that is not
`<dir>/*`, so the bare `ui` entry made the sweep fatal. A bare `<dir>`
is now the one package at that directory, absent contributes nothing;
two new refusal-battery cases drive both directions, and `ui/**` joins
ROOT_DIR_WATCH_HINTS.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RSDL3SFtJaKzcymvCD8RsU1 parent 26fb5ba commit 597471c
3 files changed
Lines changed: 72 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
461 | 468 | | |
462 | 469 | | |
463 | 470 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
636 | 641 | | |
637 | 642 | | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
638 | 651 | | |
639 | 652 | | |
640 | 653 | | |
| |||
650 | 663 | | |
651 | 664 | | |
652 | 665 | | |
| 666 | + | |
653 | 667 | | |
654 | 668 | | |
655 | 669 | | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
668 | 681 | | |
| 682 | + | |
| 683 | + | |
669 | 684 | | |
670 | 685 | | |
671 | 686 | | |
| |||
3322 | 3337 | | |
3323 | 3338 | | |
3324 | 3339 | | |
3325 | | - | |
| 3340 | + | |
3326 | 3341 | | |
3327 | 3342 | | |
3328 | 3343 | | |
| |||
3346 | 3361 | | |
3347 | 3362 | | |
3348 | 3363 | | |
3349 | | - | |
| 3364 | + | |
| 3365 | + | |
| 3366 | + | |
| 3367 | + | |
| 3368 | + | |
| 3369 | + | |
3350 | 3370 | | |
3351 | 3371 | | |
3352 | 3372 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
335 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
336 | 338 | | |
337 | 339 | | |
338 | 340 | | |
| |||
354 | 356 | | |
355 | 357 | | |
356 | 358 | | |
357 | | - | |
358 | | - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
359 | 364 | | |
360 | | - | |
361 | | - | |
362 | | - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
363 | 369 | | |
364 | 370 | | |
365 | 371 | | |
| |||
914 | 920 | | |
915 | 921 | | |
916 | 922 | | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
917 | 939 | | |
918 | 940 | | |
919 | 941 | | |
| |||
0 commit comments