Skip to content

Conversation

@ryanande
Copy link
Owner

Fixes the duplicate version error by checking npm for the latest published version before bumping.

Problem:

  • Workflow was bumping from package.json (1.1.0) instead of latest published (1.1.1)
  • This caused duplicate version errors when trying to publish

Solution:

  • ✅ Check npm for latest published version first
  • ✅ Bump from published version (e.g., 1.1.1 → 1.1.2)
  • ✅ Fall back to package.json if package not published yet
  • ✅ Removed duplicate checkout step

Also includes:

  • README improvements (better examples, TypeScript docs, use cases)

This ensures the workflow always bumps from the correct version source.

…json

- Check npm for latest published version before bumping
- Prevents duplicate version errors when package.json hasn't been updated
- Falls back to package.json version if package not published yet
- Remove duplicate checkout step
@ryanande ryanande merged commit ca46438 into main Dec 23, 2025
1 check passed
@ryanande ryanande deleted the feature/pubiss2 branch January 7, 2026 20:19
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