Skip to content

watch bt releases on npm, update local bt version on update#2067

Closed
Cedric / ViaDézo1er (viadezo1er) wants to merge 1 commit into
mainfrom
cedric/publish-bt-cli
Closed

watch bt releases on npm, update local bt version on update#2067
Cedric / ViaDézo1er (viadezo1er) wants to merge 1 commit into
mainfrom
cedric/publish-bt-cli

Conversation

@viadezo1er
Copy link
Copy Markdown
Contributor

@viadezo1er Cedric / ViaDézo1er (viadezo1er) commented May 28, 2026

Run with a daily cron job or manually.

Regenerate pnpm-lock.yaml once the bt binaries have been pushed to npm to fix CI.

Depends on braintrustdata/bt#208.

@viadezo1er Cedric / ViaDézo1er (viadezo1er) changed the title feat: watch bt releases on npm, update local bt version on update watch bt releases on npm, update local bt version on update May 28, 2026
@viadezo1er Cedric / ViaDézo1er (viadezo1er) marked this pull request as ready for review May 28, 2026 23:24
Copy link
Copy Markdown
Member

@lforst Luca Forstner (lforst) left a comment

Choose a reason for hiding this comment

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

This is not what we want. Updates should be manual as a minor in bt is a minor in sdk, and a major in bt, is a major in sdk.

Comment thread js/bin/bt.cjs
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should not be a .cjs file I think. In general, let's follow https://github.com/getsentry/sentry-cli/blob/master/scripts/install.js or https://blog.sentry.io/publishing-binaries-on-npm/ to the tee. The logs are very intentional there and we should log similar things to ensure people are not confused when installing the package and things fail.

I also have an example repo on how this should look like: https://github.com/lforst/npm-binary-example

@viadezo1er
Copy link
Copy Markdown
Contributor Author

We'll stick with manual version update for now.

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