Skip to content

feat: automate manifest.json version sync with changesets#39

Merged
ryanbas21 merged 7 commits into
mainfrom
feat/changeset-sync-manifest
May 13, 2026
Merged

feat: automate manifest.json version sync with changesets#39
ryanbas21 merged 7 commits into
mainfrom
feat/changeset-sync-manifest

Conversation

@ryanbas21
Copy link
Copy Markdown
Owner

Summary

  • New package @wolfcola/changeset-sync-manifest — CLI that copies package.json version into manifest.json after changeset version
  • Adds privatePackages: { version: true } to changesets config so private packages get version bumps
  • Chains sync-manifest packages/devtools-extension in the root version script

Problem: The Chrome extension manifest.json was hardcoded at 0.1.0 and never bumped. Every CWS publish overwrote the same display version.

Solution: After changeset version bumps package.json, sync-manifest copies the version into manifest.json. At build time, stampVersion appends the CI build number as the 4th segment. CWS now shows real version numbers.

Test plan

  • pnpm --filter @wolfcola/changeset-sync-manifest test — 6 unit tests pass
  • pnpm exec sync-manifest packages/devtools-extension syncs version correctly
  • pnpm build succeeds across the full workspace
  • CI passes

🤖 Generated with Claude Code

ryanbas21 and others added 7 commits May 12, 2026 18:32
CLI package that syncs package.json version into manifest.json
after changeset version, so CWS publishes show real versions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tests

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add privatePackages.version to changeset config
- Chain sync-manifest after changeset version in root version script
- Add project reference to root tsconfig

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Hoists the sync-manifest bin to node_modules/.bin so it's
available in the version script.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ryanbas21 ryanbas21 merged commit b848b9f into main May 13, 2026
1 check passed
@ryanbas21 ryanbas21 deleted the feat/changeset-sync-manifest branch May 13, 2026 00:35
@github-actions github-actions Bot mentioned this pull request May 13, 2026
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.

1 participant