Skip to content

Wire up plugin for recording published versions; update autoinstaller bumping#5723

Merged
iclanton merged 9 commits intomicrosoft:mainfrom
iclanton:replace-version-collection
Mar 25, 2026
Merged

Wire up plugin for recording published versions; update autoinstaller bumping#5723
iclanton merged 9 commits intomicrosoft:mainfrom
iclanton:replace-version-collection

Conversation

@iclanton
Copy link
Member

Summary

Wires up the @rushstack/rush-published-versions-json-plugin (added in #5701) for use in this repo's own publish pipeline, replacing the old repo-toolbox record-versions script. Also extends BumpDecoupledLocalDependencies to cover autoinstaller package.json files so their Rush-published dependencies stay in sync.

Details

Rush plugin wiring:

  • Adds a plugins autoinstaller with @rushstack/rush-published-versions-json-plugin as its dependency.
  • Registers the plugin in rush-plugins.json.
  • Updates post-publish.yaml to invoke rush record-published-versions instead of calling repo-toolbox directly.
  • Removes RecordVersionsAction from repo-toolbox since it is no longer needed.

Autoinstaller dep bumping:

  • Extends BumpDecoupledLocalDependencies to scan all autoinstaller package.json files for dependencies on packages published from this repo, and bumps them alongside normal Rush project dependencies.
  • Adds a rush update-autoinstaller --name plugins step to the post-publish pipeline so the plugins autoinstaller lockfile is kept up to date after each decoupled dep bump.

How it was tested

Reviewed the pipeline template and TypeScript changes manually. The plugin's record-published-versions command interface matches what was previously done by repo-toolbox record-versions.

Impacted documentation

No user-facing documentation is affected; these are internal pipeline and repo-script changes.

iclanton and others added 5 commits March 24, 2026 20:37
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@iclanton iclanton changed the title [rush-published-versions-json-plugin] Wire up plugin for recording published versions; update autoinstaller bumping Wire up plugin for recording published versions; update autoinstaller bumping Mar 25, 2026
…-toolbox.yaml template

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@iclanton iclanton enabled auto-merge (squash) March 25, 2026 01:38
@iclanton iclanton merged commit 9938fd5 into microsoft:main Mar 25, 2026
6 checks passed
@github-project-automation github-project-automation bot moved this from Needs triage to Closed in Bug Triage Mar 25, 2026
@iclanton iclanton deleted the replace-version-collection branch March 25, 2026 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

2 participants