Skip to content

chore: publish npm package to npmjs.org instead of GitHub Packages#4

Merged
simongdavies merged 1 commit intohyperlight-dev:mainfrom
simongdavies:publish-to-npmjs
Mar 23, 2026
Merged

chore: publish npm package to npmjs.org instead of GitHub Packages#4
simongdavies merged 1 commit intohyperlight-dev:mainfrom
simongdavies:publish-to-npmjs

Conversation

@simongdavies
Copy link
Contributor

Switch from GitHub Packages (npm.pkg.github.com) to the public npm registry (registry.npmjs.org) so users can install without configuring a custom registry.

  • Update publishConfig in package.json to npmjs.org with public access
  • Update publish workflow to use registry.npmjs.org and NPM_TOKEN secret
  • Remove GitHub Packages registry config from README install instructions
  • Update RELEASING docs to reflect new publish target

Requires NPM_TOKEN repository secret with npmjs.org publish permissions.

Switch from GitHub Packages (npm.pkg.github.com) to the public npm
registry (registry.npmjs.org) so users can install without configuring
a custom registry.

- Update publishConfig in package.json to npmjs.org with public access
- Update publish workflow to use registry.npmjs.org and NPM_TOKEN secret
- Remove GitHub Packages registry config from README install instructions
- Update RELEASING docs to reflect new publish target

Requires NPM_TOKEN repository secret with npmjs.org publish permissions.

Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 23, 2026 18:50
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR switches HyperAgent’s npm distribution from GitHub Packages to the public npm registry (npmjs.org) so users can install @hyperlight-dev/hyperagent without custom registry configuration.

Changes:

  • Update publishConfig to target https://registry.npmjs.org and set package access to public.
  • Update the publish GitHub Actions workflow to publish to npmjs.org using NPM_TOKEN.
  • Remove GitHub Packages registry setup steps from install/release documentation.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
package.json Publish configuration updated to npmjs.org with public access.
docs/RELEASING.md Release documentation updated to reflect npmjs.org publishing and simpler install verification.
README.md Install instructions updated to remove GitHub Packages registry configuration.
.github/workflows/publish.yml Publish job retargeted to npmjs.org and uses secrets.NPM_TOKEN for auth.

@simongdavies simongdavies merged commit f8bb9df into hyperlight-dev:main Mar 23, 2026
12 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.

2 participants