Skip to content

chore(release): use the @ucsantacruz/wordpress-version-updater package - #32

Merged
Herm71 merged 1 commit into
mainfrom
chore/31-version-updater-package
Nov 7, 2026
Merged

Herm71 merged 1 commit into
mainfrom
chore/31-version-updater-package

Conversation

@Herm71

@Herm71 Herm71 commented Nov 7, 2026

Copy link
Copy Markdown
Member

Closes #31

Summary

This PR replaces the local wp-plugin-version-updater.js with the published @ucsantacruz/wordpress-version-updater package (v2.0.0).

  • Installs the package as a dev dependency.
  • Replaces the commit-and-tag-version object in package.json with the configuration from the issue. A prerelease hook runs wordpress-version-updater check plugin.php before any bump.
  • Deletes wp-plugin-version-updater.js.
  • Updates README.md and CLAUDE.md, which named the old file.

Test

  • npx wordpress-version-updater check plugin.php exits 0.
  • npm run dryrun runs the prerelease check. Then it reports a bump from 1.0.6 to 1.0.7 in plugin.php, package-lock.json and package.json.

🤖 Generated with Claude Code

Replace the local wp-plugin-version-updater.js with the published npm
package. The plugin.php bump file now uses the package updater, and a
prerelease hook runs "wordpress-version-updater check plugin.php" before
any bump. Update README.md and CLAUDE.md to name the package.

Closes #31

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Herm71
Herm71 merged commit 4b26cd0 into main Nov 7, 2026
3 checks passed
@Herm71
Herm71 deleted the chore/31-version-updater-package branch November 7, 2026 16:49
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.

Add WordPress Version Updater NPM package

1 participant