Skip to content

Epic: org-wide publish (GH Packages + @kolektiv npm + JSR) & Gradle conventions #2

Open

Description

@LizAinslie

Goals (Mey 2026-09-14)

  1. Every artifact-publishing repo also publishes to GitHub Packages (keep existing Yuri Capital / Nexus where present).
  2. npm packages under @kolektiv/... (and dual-publish to GH npm registry where useful).
  3. JSR scope for Kolektiv (@kolektiv preferred; claim when awake) with OIDC from Actions.
  4. Org-wide Gradle conventions for common publishing/config so repos don’t copy-paste publishing {} forever.

Maven

  • Dual repos in publishing.repositories: existing Yuri Capital and https://maven.pkg.github.com/KolektivComputer/<repo>
  • Auth: GITHUB_TOKEN with packages: write on the publish job
  • GroupIds: computer.kolektiv.* (separate boarding already in flight)

npm

  • Scope @kolektiv/* everywhere (Keel/brand/themes already)
  • Dual: keep repo.yuri.capital where used; add https://npm.pkg.github.com with @kolektiv:registry=… in CI
  • Trusted Publishing / OIDC where possible

JSR

  • Claim @kolektiv (or @kolektiv-computer if taken) on jsr.io
  • jsr.json + npx jsr publish / OIDC from Actions — not a substitute for npm publish
  • Consumers may use @jsr/… — document both

Gradle conventions

  • New published plugin or included build: computer.kolektiv.publishing (and maybe computer.kolektiv.base)
  • Lives in KolektivComputer/gradle-conventions (or under this .github repo until spun out)
  • Repos apply the plugin; local overrides only for pom name/url/license

Reusable workflows (this repo)

  • publish-maven.yml / publish-npm.yml / publish-jsr.yml fragments under .github/workflows/ for workflow_call

Repo sweep (PRs)

  • Maven-ish: keel, kalendee, kraft, konfy, kord, lokus (backend), wake (if libs), others with maven-publish
  • npm: keel, brand, themes, kalendee workers/pack, email-worker, TimezoneDB platforms, lokus web
  • Apps-only (Kompass): skip Maven unless they publish an AAR later

Mey later (secrets / accounts)

  • Org Packages permissions / GITHUB_TOKEN packages write
  • Claim JSR @kolektiv
  • npm Trusted Publishing / GH Packages npm auth
  • Wire org secrets if dual Yuri+GH still needed

Activity

  1. LizAinslie commented on Sep 14, 2026

    @LizAinslie
    ContributorAuthor

    Cloud agents launching for dual-publish PRs + gradle-conventions starter. Mey configures JSR/@kolektiv claim + Packages secrets after sleep.

  2. LizAinslie commented on Sep 14, 2026

    @LizAinslie
    ContributorAuthor

    PR sweep (opened 2026-09-14)

    Org / conventions

    Maven dual (GH Packages)

    npm @kolektiv + JSR stubs

    • brand / themes / email-worker / lokus — see open PRs titled dual-publish / scope

    Blocked without Mey

    • Editing .github/workflows/* needs a token with workflows scope — each PR has docs/CI_DUAL_PUBLISH.md (or org workflow-templates/) to paste
    • Claim JSR @kolektiv, wire Packages, dual-publish secrets

    Discord: Humanizer’s Kolektiv announcement draft is ready to paste as-is.

  3. LizAinslie commented on Sep 14, 2026

    @LizAinslie
    ContributorAuthor

    Locked (Mey 2026-09-14)

    JSR scope is @kolektiv (owned). Same scope as npm.

    Next when wiring Actions: link each JSR package to its GitHub repo for OIDC (id-token: write) — no long-lived JSR token.

  4. kolektiv commented on Sep 14, 2026

    @kolektiv

    Hello! Sorry, not meaning to intrude, but GitHub summons me if you use @kolektiv as, well... It Me. Just a note! I'm not using kolektiv as an org on npmjs either, but let me know if there's somewhere I am just in case I don't need it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions