Move update-lock-registry command to beachball-auth-helper - #1400
Merged
Conversation
Copilot started reviewing on behalf of
Elizabeth Craig (ecraig12345)
August 21, 2026 23:25
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Moves lock-file registry rewriting from Beachball’s hidden publish-helpers command into the more appropriate beachball-auth-helper binary.
Changes:
- Adds
update-lock-registryand--revertto the auth-helper CLI. - Resolves the package-manager workspace root before modifying npm or Yarn v1 lock files.
- Updates tests, snapshots, documentation, examples, and change files for the new command location.
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
packages/esrp-npm-release/README.md |
Updates pipeline examples to invoke the auth-helper binary. |
packages/beachball/src/options/optionDefinitions.ts |
Removes options for the old nested command. |
packages/beachball/src/options/commandDefinitions.ts |
Removes the publish-helpers command definitions. |
packages/beachball/src/cli.ts |
Removes old command dispatch. |
packages/beachball/src/authHelper/updateLockFileRegistry.ts |
Moves registry rewriting and adds workspace-root discovery. |
packages/beachball/src/authHelper/authHelperCli.ts |
Adds the new auth-helper command. |
packages/beachball/src/authHelper/authHelperBin.ts |
Supplies the working directory to the CLI. |
packages/beachball/src/__tests__/authHelper/authHelperCli.test.ts |
Tests command options and delegation. |
packages/beachball/src/__tests__/authHelper/__snapshots__/authHelperCli.test.ts.snap |
Updates auth-helper help snapshots. |
packages/beachball/src/__functional__/options/__snapshots__/getCliOptions.test.ts.snap |
Removes snapshots for the old command. |
packages/beachball/src/__functional__/authHelper/updateLockFileRegistry.test.ts |
Updates functional coverage for workspace-root behavior. |
docs/overview/v3-migration.md |
Documents the auth-helper command set. |
docs/concepts/ci-integration/auth-helper.md |
Documents usage and options for registry rewriting. |
change/beachball-1e7655e2-96ee-4b39-a442-3f99d5efb270.json |
Updates Beachball’s release note. |
change/@microsoft-esrp-npm-release-58af9747-619e-4f05-9d82-46e45ad4b1bc.json |
Records the README update. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
update-lock-registryis a logically better fit underbeachball-auth-helperthanbeachball.