Skip to content

Comments

feat: add npm publishing to release workflow#13

Merged
butttons merged 2 commits intomainfrom
feat/npm-publishing
Feb 21, 2026
Merged

feat: add npm publishing to release workflow#13
butttons merged 2 commits intomainfrom
feat/npm-publishing

Conversation

@butttons
Copy link
Owner

Summary

Publish @butttons/dora to npm on tag pushes alongside existing binary releases.

Changes

  • Remove private: true from package.json
  • Add build:npm script (JS bundle via bun build --target bun)
  • Add files field to scope what gets published to npm
  • Set bin to dist/index.js for npm installs
  • Add publish job to release workflow using OIDC trusted publishing

- remove private flag from package.json
- add build:npm script and files field
- add npm publish job using OIDC trusted publishing
- keep existing binary release jobs unchanged
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 21, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
dora-docs 9fb4d22 Feb 21 2026, 11:17 AM

- add Option 2 (npm) to README, bump build from source to Option 3
- add npm option to docs.astro installation section
- add npm to QuickStart.astro platform selector as default
@butttons butttons force-pushed the feat/npm-publishing branch from 82bf41b to 9fb4d22 Compare February 21, 2026 11:17
@butttons butttons merged commit 2bb25ec into main Feb 21, 2026
1 of 2 checks passed
@butttons butttons deleted the feat/npm-publishing branch February 21, 2026 11:17
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.

1 participant