Skip to content

chore(ts): migrate npm publish to npmjs.com#16

Merged
bburda merged 2 commits intomainfrom
chore/publish-to-npmjs
Mar 31, 2026
Merged

chore(ts): migrate npm publish to npmjs.com#16
bburda merged 2 commits intomainfrom
chore/publish-to-npmjs

Conversation

@bburda
Copy link
Copy Markdown
Contributor

@bburda bburda commented Mar 31, 2026

Pull Request

Summary

Migrate TypeScript client publishing from GitHub Packages to npmjs.com.

  • GitHub Packages requires auth even for public packages - anyone doing npm install without a PAT gets 401
  • npmjs.com is public by default - no auth needed for install
  • Reset version to 0.1.0 (fresh registry, clean start)
  • CI workflow updated: build job no longer needs registry config, publish job uses NPM_TOKEN secret

Before merging: add NPM_TOKEN secret to repo settings (npmjs.com Automation token).


Issue


Type

  • Bug fix
  • New feature or tests
  • Breaking change
  • Documentation only

Testing

No code changes - only publishing config and CI workflow.


Checklist

  • Breaking changes are clearly described (and announced in docs / changelog if needed)
  • Tests were added or updated if needed
  • Docs were updated if behavior or public API changed

GitHub Packages requires authentication even for public packages,
making npm install fail for anyone without a PAT configured. npmjs.com
is public by default - no auth needed for install.

Reset version to 0.1.0 (fresh registry, no conflict).
Copilot AI review requested due to automatic review settings March 31, 2026 12:28
Copy link
Copy Markdown

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

Migrates the TypeScript client’s publishing pipeline from GitHub Packages to npmjs.com to avoid auth requirements for public installs.

Changes:

  • Update publishConfig to target the npmjs registry and publish the scoped package as public.
  • Update the GitHub Actions workflow to publish using NPM_TOKEN and remove GitHub Packages-specific setup.
  • Reset the TypeScript package version to 0.1.0 for the new registry baseline.

Reviewed changes

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

File Description
clients/typescript/package.json Switch publish registry to npmjs and set access: public; version reset.
clients/typescript/package-lock.json Lockfile version metadata updated to match the new package version.
.github/workflows/typescript-ci.yml Remove GitHub Packages config and publish to npmjs using NPM_TOKEN.
Files not reviewed (1)
  • clients/typescript/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bburda bburda self-assigned this Mar 31, 2026
No longer needed - package is published to npmjs.com (public, no auth).
Copy link
Copy Markdown

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

Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.

Files not reviewed (1)
  • clients/typescript/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bburda bburda merged commit 4f105f5 into main Mar 31, 2026
8 checks passed
@bburda bburda deleted the chore/publish-to-npmjs branch March 31, 2026 12:41
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