-
Notifications
You must be signed in to change notification settings - Fork 121
Add Flatpak Deno generator #460
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
Conversation
What's the process to create? |
Simply signup here https://jsr.io/ then add a pkg, example in the demo, for more formal docs: https://jsr.io/docs/publishing-packages Screencast.From.2025-05-08.15-57-44.mp4After creating this package, if this pr merges it will automatically trigger github ci and it will upload the code to it |
|
I'll checkout the code later, some generic comments right now. If it's run-able locally I'd document that. Publishing to registry can be figured out later. |
|
I remembered something, after creating the package, you need to add this repo url in the jsr pkg settings Screencast.From.2025-05-08.16-24-43.mp4Please also add the description and select deno in the supported runtimes |
|
running locally is just |
|
also set yourself as codeowner if you want to maintain it longtime https://github.com/flatpak/flatpak-builder-tools/blob/master/CODEOWNERS |
|
Reserved the namespace flatpak-contrib https://jsr.io/@flatpak-contrib/flatpak-deno-generator Anything else needed? |
|
Yep looks good to me that should work |
|
I renamed the pkg to match the scope you reserved, if you change your mind (for example @flatpak/pkg which is nicer imo less keys to type), you need to edit that name in deno.json |
|
contrib is ok, it's going to be copy-pasted anyways. I kept the other ones more official related things if there ever will be. |
Co-authored-by: bbhtt <[email protected]>
|
maybe restrict formatting linting to *.ts, *.js etc. |
|
Seems to work otherwise, tried on your apps and a few random deno projects found on GitHub. The only failure I see was on https://github.com/denoland/fresh/blob/main/deno.lock I guess you should put it behind an if that checks that |
I like that it formats deno.json and README |
nice catch, it have peer dependencies, I added support for it |
|
I sent you an invite, it expires in a week. |
|
thanks |


You can test it here https://jsr.io/@sigmasd/flatpak-deno-generator
I already migrated to it for my projects, for example https://github.com/flathub/io.github.sigmasd.VirtAudio/
You would need to create
@flatpakjsr scope and create @flatpak/flatpak-deno-generator it should be very straightforward