jsr-io / jsr

The open-source package registry for modern JavaScript and TypeScript
https://jsr.io
MIT License
2.27k stars 100 forks source link

abstract npm tarball making to separate crate #525

Open shevernitskiy opened 3 months ago

shevernitskiy commented 3 months ago

It would be nice to have a cli tool or gh action to prepare identical tarballs that JSR provide. Many user continue to make releases to npm as well as JSR. If tarball making logic will be easy accessable, it will ease whole proccess.

lucacasonato commented 3 months ago

This will be available soon.

KnorpelSenf commented 2 months ago

Solving this will also fix #595. People can then add a mostly empty package.json file to their repository, add the jsr command line tool as a dev dependency, and use it to compile the package from a prepare script. That would integrate extremely well with existing workflows.

We are going to migrate our ecosystem to JSR, with some packages being ⭐⭐ Very Popular on /x. I am looking forward to this CLI!

KnorpelSenf commented 1 month ago

@lucacasonato how soon is soon? Is somebody already working on this? Do you need help from the community? I'm eagerly waiting for this as it is the last thing that's blocking a bunch of migrations.

KnorpelSenf commented 3 weeks ago

Update: @ry has confirmed on Discord that this is still a thing (despite the silence), and that it will be shipped with “probably the next batch of features.”