meilisearch-js icon indicating copy to clipboard operation
meilisearch-js copied to clipboard

Publish to JSR alongside NPM

Open flevi29 opened this issue 1 year ago • 3 comments

Why JSR

  • https://jsr.io/docs/why
  • primarily because it is the default registry for deno, but also it's striving to be (and already is a superset of) the replacement for npm with the goal of supporting every runtime equally
  • secondarily, because it auto-generates documentation, easily switchable between versions, this way we wouldn't need typedoc and additional build step for it and configuration https://jsr.io/docs/writing-docs
    • we should also replace the lengthy README.md documentation with a link to the superior JSR page, but really we should already be doing this with the typedoc docs on github pages
  • it also builds everything from TypeScript source files, so we wouldn't need any build step, at least not for JSR, in theory, still need to experiment with this

flevi29 avatar Dec 03 '24 11:12 flevi29