Commit 6e6df73
[rush-lib] Add PathProjectSelectorParser with path: scheme and auto-routing (#5451)
* Initial plan
* Add PathProjectSelectorParser implementation with path: scheme
Co-authored-by: dmichon-msft <[email protected]>
* Address code review feedback and add comprehensive unit tests for selector parsers
Co-authored-by: dmichon-msft <[email protected]>
* Add tests for VersionPolicyProjectSelectorParser and SubspaceSelectorParser
Co-authored-by: dmichon-msft <[email protected]>
* Refactor tests into separate files and improve PathProjectSelectorParser testability
Co-authored-by: dmichon-msft <[email protected]>
* Add change file for PathProjectSelectorParser feature
Co-authored-by: dmichon-msft <[email protected]>
* Update common/changes/@microsoft/rush/copilot-add-path-project-selector-parser_2025-11-17-22-30.json
* Address code review feedback: make workingDirectory required and add comprehensive tests
Co-authored-by: iclanton <[email protected]>
* Fix Windows path separator issue by normalizing to forward slashes for LookupByPath
Co-authored-by: iclanton <[email protected]>
* Use consistent cwd from RushCommandLineParser for path resolution
Co-authored-by: iclanton <[email protected]>
* Auto-route relative and absolute POSIX paths to path: selector
Co-authored-by: dmichon-msft <[email protected]>
* Use Path.convertToSlashes helper instead of manual path separator conversion
Co-authored-by: dmichon-msft <[email protected]>
* Rush change.
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: dmichon-msft <[email protected]>
Co-authored-by: David Michon <[email protected]>
Co-authored-by: iclanton <[email protected]>
Co-authored-by: Ian Clanton-Thuon <[email protected]>1 parent 1001da0 commit 6e6df73
File tree
18 files changed
+518
-41
lines changed- common/changes/@microsoft/rush
- libraries/rush-lib/src
- api/test
- repo
- apps
- app1
- app2
- common/config/rush
- cli
- actions
- parsing
- scriptActions
- logic/selectors
- test
18 files changed
+518
-41
lines changedLines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
43 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
44 | 61 | | |
45 | 62 | | |
46 | 63 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
91 | 98 | | |
92 | 99 | | |
93 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
| 120 | + | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
0 commit comments