-
Notifications
You must be signed in to change notification settings - Fork 121
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
jsr: imports #957
jsr: imports #957
Conversation
I tried a few of the modules listed, to find some good stuff and make tests. @libs/markdown: @ch/tomd: I managed to crash the preview server when I tried to import k-means-pp from (Maybe these errors can be controlled?) Most modules I've tried worked out the the box. There is good stuff: @ppz/k-means-pp — @storynode/jql — @dbushell/hyperless — @notwoods/spherical-geometry-js… I'm watching https://www.youtube.com/watch?v=MFCn4ce5dVc for the rationale. |
Not sure if we will be able to fix any of those errors, but I can look. Do you think they are blocking? |
No, not blocking. I'm now trying to publish a package to see what happens "end-to-end". The whole experience seems very nice. |
The |
The @ch/tomd error is because we’re trying to load the happy-dom package from jsDelivr, but jsDelivr refuses to serve it and replaces it with an error saying:
I’m not entirely sure why jsDelivr’s error isn’t shown; but at any rate the error saying that it doesn’t export a symbol called |
I fixed the |
Ref. https://jsr.io/. Fixes #956. TODO
jsr:
imports_jsr
cache during resolutionjsr:
imports (e.g.,@jsr/quentinadam__assert
forjsr:@quentinadam/hex
)npm:
imports (e.g.,jsr:@oak/oak
depends onnpm:path-to-regexp
)