Skip to content
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

feat: use "workspace:" protocol for easier publish #395

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

nobkd
Copy link
Collaborator

@nobkd nobkd commented Nov 2, 2024

Follow up to #261

Pro:

  • Automatically replaces workspace:* version with the actual package version from registry (!) (at least it seemed so in my test, soo... publish order matters) on bun pm pack / bun publish (docs)
  • no more manual latest replace for *-version

Con:

  • Needs patch before install for local npm development setup. See setup-npm.js.

Disclaimer: I've never used bun publish and only tested bun pm pack on nuekit package and looked inside the packed package.json where the version got replaced just fine

@nobkd nobkd marked this pull request as ready for review November 2, 2024 02:32
@nobkd nobkd changed the title feat: use "workspace:" protocol, for easier publish feat: use "workspace:" protocol for easier publish Nov 2, 2024
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