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

Add init command #63

Open halvardssm opened 4 months ago

halvardssm commented 4 months ago

It would be great to have an init command for CI and in general to set the @jsr:registry=https://npm.jsr.io line in the .npmrc file without having to add a package.

I would suggest providing a global option if one wants to update the users config file, otherwise adds it in the local project.

I am happy to provide a PR for this.

marvinhagemeister commented 3 months ago

WIP PR that I didn't manage to finish for the launch https://github.com/jsr-io/jsr-npm/pull/11