jsr-io / jsr-npm

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

Installation fails with existing .npmrc #41

Closed bavoco closed 5 months ago

bavoco commented 5 months ago

I added jsr to an existing project that already had a .npmrc file with a few entries. When executing npm i jsr -D the line @jsr:registry=https://npm.jsr.io was appended to the last line in the file instead of being put on a new line. This causes npx jsr add ... to fail.