Skip to content

feat: package bt as npm pkg#208

Open
Cedric / ViaDézo1er (viadezo1er) wants to merge 1 commit into
mainfrom
cedric/publish-npm-package
Open

feat: package bt as npm pkg#208
Cedric / ViaDézo1er (viadezo1er) wants to merge 1 commit into
mainfrom
cedric/publish-npm-package

Conversation

@viadezo1er
Copy link
Copy Markdown
Contributor

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

Need some help to get an NPM_TOKEN to publish bt as an npm package.

Published name would be braintrust/bt since w have the braintrust org name and bt is already taken.
We might want to reach out to see if it could be possible to get the bt npm pkg since it's dead but that's not a priority.

We could have used https://axodotdev.github.io/cargo-dist/book/installers/npm.html since we're already using cargo-dist but it would make braintrust/bt into an installer instead of really being bt.

@github-actions
Copy link
Copy Markdown

Latest downloadable build artifacts for this PR commit c34ee382d417:

Available artifact names
  • ``artifacts-build-global
  • ``artifacts-build-local-x86_64-apple-darwin
  • ``artifacts-build-local-aarch64-pc-windows-msvc
  • ``artifacts-build-local-x86_64-pc-windows-msvc
  • ``artifacts-build-local-aarch64-apple-darwin
  • ``artifacts-build-local-x86_64-unknown-linux-musl
  • ``artifacts-build-local-x86_64-unknown-linux-gnu
  • ``artifacts-build-local-aarch64-unknown-linux-gnu
  • ``artifacts-plan-dist-manifest
  • ``cargo-dist-cache

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.

Thought: I vote for naming the package @braintrust/cli. If the binary in package.json is called bt and they install the package with npm i -g @braintrust/cli, they will still be able to invoke the cli globally with bt.

@braintrust/bt is a bit of a pleonasm. Also we already have places where we refer to bt as "CLI":

Screenshot 2026-05-28 at 11 38 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.

2 participants