Replies: 2 comments 1 reply
-
@lucacasonato can you help us out here? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I looked into this, and could not figure out a way of making this work at the moment. The There is an npm-accepted RFC for this https://github.com/npm/rfcs/blob/main/accepted/0035-registry-spec.md , but supposedly not even npm seems to implement it yet npm/statusboard#340 The avenues that I have not yet fully explored are
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are planning on using a package that is only published to jrs (
@std/path
) as a dependency in a library that is published to both jsr and npm (@eslint/config-array
). Is this use case supported?My understanding is that npm requires a setting in the npm config file in order to resolve jsr packages (i.e.
@jsr:registry=https://npm.jsr.io
in.npmrc
). But we can't enforce users to put that line in their.npmrc
files before they install@eslint/config-array
from npm. So, unless a user has already registered jsr in their global or user-specific npm config, the installation would fail if package.json specifies a dependency that cannot be resolved, i.e.:I couldn't find any help on how to get around this limitation at https://jsr.io/docs/using-packages, so we thought to ask here in case someone has already faced a similar problem.
Beta Was this translation helpful? Give feedback.
All reactions