Update Rush to 5.172.0 and use rush-published-versions-json-plugin#187
Merged
iclanton merged 3 commits intoSharePoint:mainfrom Mar 25, 2026
Merged
Update Rush to 5.172.0 and use rush-published-versions-json-plugin#187iclanton merged 3 commits intoSharePoint:mainfrom
iclanton merged 3 commits intoSharePoint:mainfrom
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…peline - Add @rushstack/rush-published-versions-json-plugin autoinstaller - Register plugin in rush-plugins.json - Replace record-versions template (which cloned/built rushstack) with rush record-published-versions - Remove RushstackRepo checkout and SDL exclusion from bump-versions pipeline - Use default checkout path/workingDirectory throughout bump-versions pipeline - Add Rush-related entries to .gitignore; remove tracked autoinstaller .npmrc Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the repo’s Rush tooling and CI pipeline to use Rush’s published-versions plugin instead of cloning/building rushstack to generate published-versions.json.
Changes:
- Bump Rush from
5.171.0to5.172.0(and update the validated lock data accordingly). - Add and register the
@rushstack/rush-published-versions-json-pluginautoinstaller, and switch the pipeline template torush record-published-versions. - Simplify the bump-versions pipeline by removing the extra rushstack checkout and normalizing checkout/working directory usage; expand
.gitignorefor Rush-generated artifacts.
Reviewed changes
Copilot reviewed 8 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| rush.json | Updates the pinned Rush version to 5.172.0. |
| common/config/validation/rush-package-lock.json | Updates validated Rush lock data for the new Rush version/deps. |
| common/config/rush/rush-plugins.json | Registers the published-versions plugin via the plugins autoinstaller. |
| common/config/azure-pipelines/templates/record-versions.yaml | Replaces rushstack repo-toolbox invocation with record-published-versions. |
| common/config/azure-pipelines/bump-versions.yaml | Removes rushstack repo checkout/SDL exclusion and simplifies paths/RepoPath usage. |
| common/autoinstallers/rush-prettier/.npmrc | Removes an autoinstaller .npmrc now covered by gitignore. |
| common/autoinstallers/plugins/rush-plugins/@rushstack/rush-published-versions-json-plugin/rush-published-versions-json-plugin/command-line.json | Adds the plugin command definition for record-published-versions. |
| common/autoinstallers/plugins/rush-plugins/@rushstack/rush-published-versions-json-plugin/rush-plugin-manifest.json | Adds the plugin manifest wiring for Rush to load the plugin/command. |
| common/autoinstallers/plugins/pnpm-lock.yaml | Adds the autoinstaller lockfile for the plugin dependency. |
| common/autoinstallers/plugins/package.json | Adds the plugins autoinstaller package.json depending on the plugin. |
| .gitignore | Ignores Rush temp/generated paths and autoinstaller .npmrc files. |
Files not reviewed (2)
- common/autoinstallers/plugins/pnpm-lock.yaml: Language not supported
- common/config/validation/rush-package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
...lugins/rush-plugins/@rushstack/rush-published-versions-json-plugin/rush-plugin-manifest.json
Show resolved
Hide resolved
nick-pape
approved these changes
Mar 25, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
@rushstack/rush-published-versions-json-pluginautoinstaller and registers it inrush-plugins.jsonrecord-versionspipeline template (which cloned and built the rushstack repo to runrepo-toolbox record-versions) with a singlerush record-published-versionscallRushstackRepocheckout resource and its SDL exclusion frombump-versions.yamlbump-versions.yamlto use default checkout path andworkingDirectorythroughout.gitignoreand removes the now-gitignoredrush-prettier/.npmrcHow was this tested?
CI
Type of change