Skip to content

Fix: release script and republish with correct exports#619

Merged
FL4TLiN3 merged 1 commit intomainfrom
fix/release-script-and-republish
Feb 24, 2026
Merged

Fix: release script and republish with correct exports#619
FL4TLiN3 merged 1 commit intomainfrom
fix/release-script-and-republish

Conversation

@FL4TLiN3
Copy link
Contributor

Summary

  • Fix release script: sed was matching its own line in package.json, corrupting the JSON during publish. Replace with node -e for safe JSON manipulation
  • Add changeset to republish all public packages — previous versions (0.0.55/0.0.116/etc.) were published with broken exports pointing to ./src/index.ts instead of dist paths

Test plan

  • Local verification: node -e command correctly swaps packageManager to pnpm and git checkout restores it
  • Release workflow succeeds after merge (changeset publish uses pnpm publish → publishConfig.exports applied)

🤖 Generated with Claude Code

The sed command in the release script matches its own line in package.json,
corrupting the JSON. Replace sed with node for safe JSON manipulation.

Also add changeset to republish all public packages with correct exports
(previous publish used npm which ignores publishConfig.exports).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 merged commit 307f1db into main Feb 24, 2026
11 checks passed
@FL4TLiN3 FL4TLiN3 mentioned this pull request Feb 24, 2026
@FL4TLiN3 FL4TLiN3 deleted the fix/release-script-and-republish branch February 25, 2026 13:37
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