Closed tmg0 closed 6 months ago
packageRegistry in package.json
Is this something in the standard? If not I don't think we should invent it.
I am not sure about this feature in general, we the tools we have right now. JSR packages can coexists with NPM packages, and ni
is for package clients not registry.
I think for now it's still better to run ni x
to install npm packages and jsr add x
to install jsr packages.
Clear and concise description of the problem
Maybe support
jsr
as a agent ?Suggested solution
Add a field named
packageRegistry
inpackage.json
?And if declared the
packageRegistry
asjsr
,ni
will run the commandjsr add
with right package manager likenpx jsr add
Alternative
No response
Additional context
No response
Validations