jsr-io / jsr-npm

A cli tool to make installing packages form jsr.io in node easy
https://npmjs.com/package/jsr
MIT License
88 stars 12 forks source link

Use `.npmrc` for Bun #93

Closed ryoppippi closed 6 days ago

ryoppippi commented 1 week ago

In Bun v1.1.18, .npmrc file is supported https://bun.sh/blog/bun-v1.1.18#npmrc-support

In current implementation, Bun's jsr installing experience is not good. We cannot specify package version... which we can use with npm/pnpm. And that caused some errors when uploading to JSR if the jsr package was included as a dependency in the Bun project.

So, when we switch to use .npmrc, we can specify version