Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jsr): support importing from jsr via HTTPS specifiers (except for type checking) #23513

Merged
merged 8 commits into from
Apr 24, 2024

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Apr 23, 2024

This allows importing from JSR via HTTPS specifiers as part of the code graph, but will error resolution for the type graph. Additionally, redirecting to a JSR HTTPS specifier from a non-JSR specifier is not yet implemented for this first pass.

The reason we don't support import JSR packages via HTTPS for type checking is because if we allowed importing anywhere in a package, then the entire package becomes part of the public api rather than just the entrypoints, so we'd be back to the same issues with deno.land/x where entire package implementations are being type checked.

Implementation: denoland/deno_graph#454

Closes jsr-io/jsr#322

@dsherret dsherret enabled auto-merge (squash) April 24, 2024 21:33
@dsherret dsherret merged commit f328452 into denoland:main Apr 24, 2024
17 checks passed
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.

how to create Web Workers from a JSR package
2 participants