Skip to content

Rename dkg-hello-world npm package to @origintrail-official scope#1

Merged
branarakic merged 1 commit intomainfrom
rename/hello-world-scope
Apr 24, 2026
Merged

Rename dkg-hello-world npm package to @origintrail-official scope#1
branarakic merged 1 commit intomainfrom
rename/hello-world-scope

Conversation

@branarakic
Copy link
Copy Markdown
Contributor

Summary

Follow-up to OriginTrail/dkg-hello-world#1, which moves the npm package from `@origintrail/dkg-hello-world` → `@origintrail-official/dkg-hello-world` so it sits in the same scope as the rest of the DKG ecosystem (`@origintrail-official/dkg`, `-mcp`, etc.). The `@origintrail` scope on npm is owned by a different npm user, so publishing there would create an ownership ambiguity.

Change

Single field flip in `integrations/dkg-hello-world.json`:

```diff

  • "package": "@origintrail/dkg-hello-world",
  • "package": "@origintrail-official/dkg-hello-world",
    ```

`version` stays at `0.1.0`; `commit` pin stays at `cb6af61` (the commit on `main` that added the publish workflow). Both will be bumped in a tiny follow-up PR once we've cut the first npm release under the new scope.

CI note

`security-checks.mjs` will emit a "package not yet published" warning when validating this entry — that's expected, the package has never been published under either name. The warning is non-blocking (we made it non-blocking specifically so registry entries can land before their first npm release).

Ordering

Safe to merge in either order relative to the dkg-hello-world PR, since neither state corresponds to a published package yet. Recommended order:

  1. Merge `dkg-hello-world#1` (scope rename)
  2. Merge this PR
  3. Bootstrap-publish `@origintrail-official/dkg-hello-world@0.0.1` locally to claim the name
  4. Create package-scoped `NPM_TOKEN` → push `v0.1.0` tag → CI publishes with provenance
  5. Small follow-up PR bumping `commit` + optionally re-publishing `0.1.0` if we re-tag

Made with Cursor

Follow-up to OriginTrail/dkg-hello-world#1, which renamed the npm
package from @origintrail/dkg-hello-world to
@origintrail-official/dkg-hello-world so it lives in the same scope as
the rest of the DKG ecosystem (@origintrail-official/dkg, -mcp, etc.).

Updates install.package in the registry entry to match the new source
of truth. Version stays at 0.1.0; `commit` pin stays at cb6af61 (the
commit on main that added the publish workflow) and will be bumped to
the rename-merge commit plus a re-published 0.1.0 in a follow-up once
we've cut the first npm release under the new scope.

Note on CI: `security-checks.mjs` will emit a "package not yet
published" warning when validating this entry. That's expected — the
package has never been published under either name. The warning
doesn't block merge, and clears the moment we publish the first
version.

Made-with: Cursor
@branarakic branarakic merged commit c944c9c into main Apr 24, 2026
4 checks passed
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