fix(release): bump @prosopo/cli so the next release cuts 3.7.1 - #2974
Merged
Conversation
create_release_pr derives the repo version from @prosopo/cli: root_version=$(npm -w @prosopo/cli pkg get version | jq -r '.["@prosopo/cli"]') npm pkg set version="$root_version" The changesets pending after v3.7.0 target @prosopo/procaptcha-bundle, @prosopo/procaptcha-frictionless and @prosopo/client-bundle-example. @prosopo/cli depends on none of them, so `changeset version` left it at 3.7.0 and the release re-cut 3.7.0 instead of moving to 3.7.1. A patch changeset against @prosopo/cli moves it to 3.7.1, which the workflow then copies into the root package. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XJ7KiTDKiu3mxQ4iuLFK2y
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.
The release run after v3.7.0 produced 3.7.0 again rather than 3.7.1.
Cause
create_release_prderives the repo version from@prosopo/cli, not from the root package:The changesets pending after v3.7.0 target:
@prosopo/procaptcha-bundle@prosopo/procaptcha-frictionless@prosopo/client-bundle-example@prosopo/clidepends on none of them, and.changeset/config.jsonhas"fixed": []/"linked": [], so nothing drags it along.changeset versionbumped those three, leftcliat 3.7.0, and the workflow copied 3.7.0 straight back into the root — a release that re-cut the same version.No changeset has ever targeted the root
@prosopo/captchapackage, so this is the intended lever rather than a workaround.Fix
A patch changeset against
@prosopo/cli, taking it to 3.7.1, which the workflow then copies into the root.After merging
Re-run
create_release_prand it should cut 3.7.1, picking up the three already-pending changesets alongside this one — including #2971, thedetector/assignprefetch.Worth considering separately: if the repo version is meant to track the whole monorepo, deriving it from one leaf package will keep producing this whenever a release touches nothing
clidepends on. Adding@prosopo/clitofixedalongside the packages that should move together, or deriving the version from the root, would remove the footgun.🤖 Generated with Claude Code
https://claude.ai/code/session_01XJ7KiTDKiu3mxQ4iuLFK2y