Skip to content

Move update-lock-registry command to beachball-auth-helper - #1400

Merged
Elizabeth Craig (ecraig12345) merged 1 commit into
mainfrom
update-registry-helper
Aug 21, 2026
Merged

Move update-lock-registry command to beachball-auth-helper#1400
Elizabeth Craig (ecraig12345) merged 1 commit into
mainfrom
update-registry-helper

Conversation

@ecraig12345

Copy link
Copy Markdown
Member

update-lock-registry is a logically better fit under beachball-auth-helper than beachball.

Copilot AI balanced review requested due to automatic review settings August 21, 2026 23:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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-registry and --revert to 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.

@ecraig12345
Elizabeth Craig (ecraig12345) merged commit ed1cfbc into main Aug 21, 2026
13 checks passed
@ecraig12345
Elizabeth Craig (ecraig12345) deleted the update-registry-helper branch August 21, 2026 23:51
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.

2 participants