Skip to content

fix(changeset): enable versioning and tagging for private package - #18

Merged
taiiiyang merged 1 commit into
mainfrom
fix/changeset-private-packages
Mar 2, 2026
Merged

fix(changeset): enable versioning and tagging for private package#18
taiiiyang merged 1 commit into
mainfrom
fix/changeset-private-packages

Conversation

@taiiiyang

Copy link
Copy Markdown
Owner

Type of Changes

  • 🐛 Bug fix (fix)

Description

Changeset release workflow was not triggering GitHub Releases because package.json has "private": true and .changeset/config.json was missing privatePackages configuration.

By default, Changesets skips version bumps and tag creation for private packages. This meant:

  1. changesets/action runs pnpm changeset tag
  2. changeset tag sees the package is private → skips tag creation
  3. No tag → published output is false
  4. All subsequent build/upload steps are skipped
  5. No GitHub Release is produced

Adding privatePackages: { version: true, tag: true } fixes the entire flow:
changeset PR merged → git tag created → GitHub Release generated → extension zip uploaded.

How Has This Been Tested?

  • Verified through manual testing

Verified the config change is valid JSON and matches the changesets config schema. Full verification will happen when merging the next release PR.

Checklist

  • I have tested these changes locally
  • My code follows the code style of this project
  • My changes do not break existing functionality

Additional Information

Reference: read-frog uses the same privatePackages config for their private browser extension package.

🤖 Generated with Claude Code

Add `privatePackages` config to `.changeset/config.json` so that
`changeset tag` creates git tags for the private package, which
enables the release workflow to produce GitHub Releases.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added the fix label Mar 2, 2026
@taiiiyang
taiiiyang merged commit 8d96e45 into main Mar 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant