Skip to content

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

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

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