Support JSR
tmg0 opened this issue · comments
Tamago commented
Clear and concise description of the problem
Maybe support jsr
as a agent ?
Suggested solution
Add a field named packageRegistry
in package.json
?
And if declared the packageRegistry
as jsr
, ni
will run the command jsr add
with right package manager like npx jsr add
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Anthony Fu commented
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.