jsr-io / jsr-npm

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

feat: add bun to package managers #16

Closed marvinhagemeister closed 9 months ago

marvinhagemeister commented 9 months ago

This adds support for using bun with the jsr cli.

  1. Create custom bunfig.toml instead of .npmrc. Bun doesn't support reading from .npmrc
  2. Detect bun in environment variables
  3. Detect bun via lockfile
  4. Add support for --bun