Skip to content

fix: Pin @changesets/cli to properly apply patch to release c2pa-web correctly - #196

Merged
ale-adobe merged 2 commits into
mainfrom
fix/patch-correct-changesets-cli-version
Aug 17, 2026
Merged

fix: Pin @changesets/cli to properly apply patch to release c2pa-web correctly#196
ale-adobe merged 2 commits into
mainfrom
fix/patch-correct-changesets-cli-version

Conversation

@ale-adobe

Copy link
Copy Markdown
Collaborator

Republish again — 0.14.1 still published with unresolved workspace:* dependencies, because the serial-publish patch from #194 was applied to a @changesets/cli resolution that the release pipeline never actually invoked (see the patch-targeting fix in this same release). No source changes; this release exists solely to get a correctly published package out now that the patch is wired up correctly.

ale-adobe and others added 2 commits August 17, 2026 14:25
…s/cli

The patch introduced in #194 targeted @changesets/cli@2.31.0, but the root
workspace's own devDependency range (^2.29.6) resolved to a separate,
unpatched 2.29.8 -- the version actually invoked by `pnpm ci:publish`,
since that script runs from the workspace root, not from packages/c2pa-node
(whose own ^2.31.0 devDependency was the only thing getting patched).

This is why c2pa-web@0.14.1 still published with unrewritten workspace:*
dependencies in the most recent release, identically to the original
c2pa-web@0.14.0 failure: the concurrency fix was never actually in effect.

Bumping root's range to ^2.31.0 lets pnpm dedupe to a single resolved
version, so the existing patch now covers the invocation that matters.
Verified via a clean `pnpm install --frozen-lockfile` that only the
patched instance exists and that node_modules/.bin/changeset's NODE_PATH
resolves to it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0.14.1 published with unresolved workspace:* dependencies for the same
reason 0.14.0 did -- see the preceding commit fixing which
@changesets/cli resolution the serial-publish patch covers.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3dd262e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@contentauth/c2pa-web Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ale-adobe ale-adobe changed the title fix: Pin @changesets/cli to properly apply patch in order to release c2pa-web correctly fix: Pin @changesets/cli to properly apply patch to release c2pa-web correctly Aug 17, 2026
@ale-adobe
ale-adobe merged commit 1b3b9ed into main Aug 17, 2026
2 checks passed
@ale-adobe
ale-adobe deleted the fix/patch-correct-changesets-cli-version branch August 17, 2026 22:47
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