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

Publish the types on JSR #155

Open
JumpLink opened this issue Mar 13, 2024 · 2 comments
Open

Publish the types on JSR #155

JumpLink opened this issue Mar 13, 2024 · 2 comments

Comments

@JumpLink
Copy link
Collaborator

We sould also publish the types on JSR, a new NPM registry build from the creators of Deno.

Reasons:

  • This registry is runtime-independent and all runtimes are allowed, including GJS
  • TypeScript first
  • JSR handles generating API docs, would be great to get a good GJS API documentation very easily
  • ESM only
@JumpLink
Copy link
Collaborator Author

This could be a problem for us: About "slow types"

@bb010g
Copy link

bb010g commented Jan 8, 2025

Do you know how to successfully import from npm:@girs/… in deno repl? I think publishing on JSR might be required for use from deno repl (i.e. from Deno without custom import maps or node_modules) due to the current use of declare module in the types on NPM.

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

No branches or pull requests

2 participants