Skip to content

feat: add pkg-flatpak target adapter for Flathub#5

Open
forgou37 wants to merge 1 commit intoprofullstack:masterfrom
forgou37:feat/pkg-flatpak
Open

feat: add pkg-flatpak target adapter for Flathub#5
forgou37 wants to merge 1 commit intoprofullstack:masterfrom
forgou37:feat/pkg-flatpak

Conversation

@forgou37
Copy link
Copy Markdown

Summary

Implements the planned pkg-flatpak target (marked 🚧 in TARGETS.md).

Changes

  • New packages/targets/pkg-flatpak/ adapter with full build, ship, status, and setup hooks
  • Config: appId (reverse-DNS), branch, runtime, runtimeVersion, sdkExtensions
  • build(): renders Flatpak manifest YAML, runs flatpak-builder
  • ship(): pushes updated manifest to github.com/flathub/<appId> and opens version PR
  • status(): returns live URL at flathub.org/apps/<appId>
  • setup(): first-time Flathub submission guide + GITHUB_TOKEN setup
  • Updates TARGETS.md: pkg-flatpak 🚧 → ✅

Test

cd packages/targets/pkg-flatpak && pnpm test

Follows the same structure as pkg-homebrew and pkg-npm.

Implements the planned pkg-flatpak target (was 🚧 in TARGETS.md).

- Config: appId (reverse-DNS), branch, runtime, runtimeVersion, sdkExtensions
- build(): renders Flatpak manifest YAML, runs flatpak-builder
- ship(): pushes updated manifest to github.com/flathub/<appId> and opens version PR
- status(): returns live URL at flathub.org/apps/<appId>
- setup(): first-time Flathub submission instructions + GITHUB_TOKEN setup

Updates TARGETS.md: pkg-flatpak 🚧 → ✅
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.

1 participant