Skip to content

feat(npm): support jsr: scheme in package.json#31938

Merged
dsherret merged 4 commits intodenoland:mainfrom
dsherret:feat_support_jsr_scheme_in_package_json
Jan 30, 2026
Merged

feat(npm): support jsr: scheme in package.json#31938
dsherret merged 4 commits intodenoland:mainfrom
dsherret:feat_support_jsr_scheme_in_package_json

Conversation

@dsherret
Copy link
Member

@dsherret dsherret commented Jan 23, 2026

This locks out the possibility of having both non-scoped packages and tags in the future (due to ambiguity with tags—ex. is jsr:tag a tag or package?), but I think that's ok.

Closes #29427

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this looks good to me.

Before I approve this I want to ask how this change interacts with .npmrc. I know JSR doesn't have good self-hosting capability ATM, but if it did, how one would configure .npmrc to point to private JSR instance?

@dsherret
Copy link
Member Author

Before I approve this I want to ask how this change interacts with .npmrc. I know JSR doesn't have good self-hosting capability ATM, but if it did, how one would configure .npmrc to point to private JSR instance?

You just need to add a @jsr entry and it will go somewhere else.

@dsherret dsherret requested a review from bartlomieju January 30, 2026 14:02
@dsherret dsherret merged commit 7e2abb4 into denoland:main Jan 30, 2026
19 checks passed
@dsherret dsherret deleted the feat_support_jsr_scheme_in_package_json branch January 30, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deno install fails with jsr: specifiers in package.json dependencies

2 participants