Skip to content

build!: publish under the @elixir-on-cloud scope #522

Open

Description

@uniqueg

Summary

Publish all packages under the npm scope @elixir-on-cloud instead of @elixir-cloud, and publish them in the GitHub environment release instead of npm. Start after the Monday deploy (2026-11-02) and the CC release before it.

npm can't rename packages, and a package can have only one trusted publisher. Combining both changes means the old @elixir-cloud/* packages never need a new trusted publisher: they're only deprecated. The new packages get trusted publishers for release from the start.

Steps

  1. Before (maintainer): create the npm organisation elixir-on-cloud (free for public packages) and add the maintainers, so the scope is reserved.
  2. One PR:
    • @elixir-cloud/* → @elixir-on-cloud/* in every package.json, internal dependencies, imports in docs and examples, and the package template (turbo/generators/template-package);
    • environment: npm → release in .github/workflows/release.yml, plus comments and docs naming it;
    • versions continue (no restart), so the new packages never look older than releases already out;
    • custom element tag names stay as they are (no breaking change for HTML that uses them; only imports change);
    • docs: upgrade notes (old → new package names), README, installation instructions.
  3. First publish of the new packages: npm allows configuring a trusted publisher only on existing packages (verify). For this one release run, use a short-lived granular access token in the release environment, delete it right after; then the maintainer configures the trusted publisher (release.yml, environment release) on each new package once.
  4. Old packages: deprecate, don't unpublish: npm deprecate "@elixir-cloud/<pkg>" "Moved to @elixir-on-cloud/<pkg>". Then delete the npm environment.
  5. Consumers: update cloud-registry-ui (ai-post-deploy) and any other dependants (e.g. Krini, TES dashboard).

Notes

  • Touches every package: needs the CC maintainer's review before merging.
  • Plan the release on a day with no deploy right after.
  • The scope is the product name (ELIXIR On-Cloud), independent of the GitHub organisation the repos may move to.

Acceptance criteria

  • npm organisation elixir-on-cloud exists with the maintainers
  • All packages published under @elixir-on-cloud from release.yml in environment release, with trusted publishers configured
  • Old packages deprecated with a pointer to the new names; npm environment removed
  • Docs and consumers updated

Activity

  1. added
    priority: medium
    status: on hold
    type flag: breaking change
    type: delivery
    workload: days
    on Oct 31, 2026
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

    priority: mediumstatus: on holdtype flag: breaking changetype: deliveryworkload: days

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions