-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rush-sdk] Expose file change analysis on the
ProjectChangeAnalyzer
…
… class (#4959) * Expose analysis of file changes using ProjectChangeAnalyzer.getChangedFilesAsync * Rush change * Add a hook to allow modifying file change analysis * Update change * Revert index changes * Update API * Update API * Fix issue with type export * Rush update * Make generic * PR feedback * Move helper function into @rushstack/lookup-by-path * Rush change * Fix an issue with grouping when the entries are falsy --------- Co-authored-by: Daniel <[email protected]>
- Loading branch information
Showing
11 changed files
with
203 additions
and
64 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
common/changes/@microsoft/rush/user-danade-ExposeFileChangeAnalysis_2024-10-02-19-12.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@microsoft/rush", | ||
"comment": "Expose `getChangesByProject` to allow classes that extend ProjectChangeAnalyzer to override file change analysis", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "@microsoft/rush" | ||
} |
10 changes: 10 additions & 0 deletions
10
...nges/@rushstack/lookup-by-path/user-danade-ExposeFileChangeAnalysis_2024-10-03-00-11.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/lookup-by-path", | ||
"comment": "Allow for a map of file paths to arbitrary info to be grouped by the nearest entry in the LookupByPath trie", | ||
"type": "minor" | ||
} | ||
], | ||
"packageName": "@rushstack/lookup-by-path" | ||
} |
25 changes: 13 additions & 12 deletions
25
common/config/subspaces/build-tests-subspace/pnpm-lock.yaml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush. | ||
{ | ||
"pnpmShrinkwrapHash": "0e569d956f72f98565ea4207cba2d7b359e5cdaa", | ||
"pnpmShrinkwrapHash": "5b75a8ef91af53a8caf52319e5eb0042c4d06852", | ||
"preferredVersionsHash": "ce857ea0536b894ec8f346aaea08cfd85a5af648", | ||
"packageJsonInjectedDependenciesHash": "15081ac6b4174f98e6a82a839055fbda1a33680d" | ||
"packageJsonInjectedDependenciesHash": "8927ca4e0147b9436659f98a2ff8ca347107d52f" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.