Skip to content

Publish as @humanlayer/react-hotkeys-hook#2

Merged
K-Mistele merged 4 commits intomainfrom
publish-humanlayer
Mar 18, 2026
Merged

Publish as @humanlayer/react-hotkeys-hook#2
K-Mistele merged 4 commits intomainfrom
publish-humanlayer

Conversation

@K-Mistele
Copy link

Summary

  • Rename package to @humanlayer/react-hotkeys-hook for publishing our fork with the useKey modifier fix
  • Add GitHub Actions workflow to publish to npm on push to main (+ manual dispatch)
  • Add version bump workflow that uses Claude to analyze PRs and auto-bump versions
  • Set publishConfig.access: "public" for scoped package

Setup needed

  • Add NPM_TOKEN secret to this repo
  • Add ANTHROPIC_API_KEY secret for version bump workflow

Test plan

  • Add NPM_TOKEN secret
  • Merge PR to trigger first publish
  • Verify @humanlayer/react-hotkeys-hook@5.2.4 appears on npm

🤖 Generated with Claude Code

- Rename package to @humanlayer/react-hotkeys-hook
- Add publish workflow (on push to main + workflow_dispatch)
- Add version bump workflow for PRs
- Set publishConfig.access to public

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link

Not logged in · Please run /login

@github-actions
Copy link

github-actions bot commented Mar 18, 2026

The user already bumped the version (5.2.5 vs base 5.2.4). Let me analyze the changes to assess whether the patch bump is appropriate.

Changes in this PR:

  • Renamed package from react-hotkeys-hook to @humanlayer/react-hotkeys-hook
  • Updated description, repository URL, and homepage to HumanLayer fork
  • Changed prepublishOnly to prepack
  • Added publishConfig.access: public
  • Added publish workflow (.github/workflows/publish.yml)
  • Added version-bump workflow (.github/workflows/version-bump.yml)

No functional code changes to the hook itself — only packaging/infrastructure/metadata updates.

Version Bump Summary

Package: @humanlayer/react-hotkeys-hook
Action: agreed with user bump to 5.2.5
Reasoning: All changes are infrastructure and metadata — package rename/rebranding, CI/CD workflows, and publish configuration. There are no new features (which would warrant MINOR) and no breaking API changes (which would warrant MAJOR). A PATCH bump is the correct choice for these publishing/tooling changes.

K-Mistele and others added 2 commits March 17, 2026 17:23
Uses --edit-last to update the previous comment instead of creating
a new one on each push.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@K-Mistele K-Mistele merged commit b51061c into main Mar 18, 2026
3 checks passed
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.

3 participants