-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement bun publish
#1976
Comments
Would be neat to also support |
Some workaround? |
Since I would like to use only bun without installing node at all. I would also like to have a way to publish my packages |
I'm converting some of the tinyhttp stuff to use with Bun and it's the only thing preventing it right now |
Here is a simple implement without publish hooks (just work) https://github.com/innoai-tech/nodekit/tree/main/nodedevpkg/bunpublish (published https://github.com/orgs/innoai-tech/packages/npm/package/bunpublish) reuse |
split as single package https://github.com/morlay/bunpublish |
If/ when this gets implemented, it would be awesome if My use case is changing the |
@vveisard may consider to use export condition instead. "exports": {
"bun": "./src/index.ts",
"import": "./out/index.js"
} Realword example: https://github.com/innoai-tech/nodekit/blob/main/nodepkg/config/package.json#L21-L43 |
Any update for this? |
Here's where discussions and updates relevant to that issue are posted: #1976 |
Running into this because the simple workaround to use npm for publishing does not easily work with bun workspaces. |
You can run |
Using When I first ran So it should be possible to publish to npm registry with the following command. The bunx npm@latest publish |
bun publish
@dylan-conway is working on it this week |
Hope that I can replace |
Great to hear that an implementation is underway. Would be great if the publish command could be made to work off of CLI arguments & env vars without needing any config files like Currently, when using a bun-only workflow, an |
|
What is the problem this feature would solve?
Publishing to NPM Registry.
What is the feature you are proposing to solve the problem?
A
publish
command which makes use of already logged in information through npm's cliWhat alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered: