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

Add support for jsr registry and jsr: protocol for the imports. #366

Open
JayaKrishnaNamburu opened this issue Jul 10, 2024 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@JayaKrishnaNamburu
Copy link
Member

JayaKrishnaNamburu commented Jul 10, 2024

When installing some packages from denoland. Few of the packages are using jsr: registry and the protocol for its imports. This is an issue to keep track for the progress of jsr support in @jspm/generator

import { Generator } from "@jspm/generator";

const generator = new Generator({
  defaultProvider: "denoland",
  defaultRegistry: "npm",
});
await generator.install("denoland:oak/body.ts");
console.log(generator.getMap());

Sandbox to reproduce the same

Once the implementation is done, the tests need to be re-enabled in @jspm/generator and jspm-cli respectively.

@JayaKrishnaNamburu JayaKrishnaNamburu added the enhancement New feature or request label Jul 10, 2024
@guybedford
Copy link
Member

Yes, these would be great to support! I have some prototype work, sounds like a good next step after we complete the release and update for the integrity story.

@guybedford
Copy link
Member

WIP at #372.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants