Skip to content

Update Rush to 5.172.0 and use rush-published-versions-json-plugin#187

Merged
iclanton merged 3 commits intoSharePoint:mainfrom
iclanton:update-rush
Mar 25, 2026
Merged

Update Rush to 5.172.0 and use rush-published-versions-json-plugin#187
iclanton merged 3 commits intoSharePoint:mainfrom
iclanton:update-rush

Conversation

@iclanton
Copy link
Contributor

Description

  • Updates Rush from 5.171.0 to 5.172.0
  • Adds the @rushstack/rush-published-versions-json-plugin autoinstaller and registers it in rush-plugins.json
  • Replaces the record-versions pipeline template (which cloned and built the rushstack repo to run repo-toolbox record-versions) with a single rush record-published-versions call
  • Removes the RushstackRepo checkout resource and its SDL exclusion from bump-versions.yaml
  • Simplifies bump-versions.yaml to use default checkout path and workingDirectory throughout
  • Adds Rush temp/generated paths to .gitignore and removes the now-gitignored rush-prettier/.npmrc

How was this tested?

CI

Type of change

  • Documentation / CI / governance

iclanton and others added 2 commits March 24, 2026 18:16
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>
Copilot AI review requested due to automatic review settings March 24, 2026 22:37
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.0 to 5.172.0 (and update the validated lock data accordingly).
  • Add and register the @rushstack/rush-published-versions-json-plugin autoinstaller, and switch the pipeline template to rush record-published-versions.
  • Simplify the bump-versions pipeline by removing the extra rushstack checkout and normalizing checkout/working directory usage; expand .gitignore for 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.

@iclanton iclanton enabled auto-merge (squash) March 24, 2026 22:43
@iclanton iclanton merged commit d86d67f into SharePoint:main Mar 25, 2026
4 checks passed
@iclanton iclanton deleted the update-rush branch March 25, 2026 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants