Skip to content

MILAB-6303: publish @platforma-open to npm.platforma.bio - #14

Open
mike-ainsel wants to merge 1 commit into
mainfrom
MILAB-6303_own-npm-registry-opt-in
Open

mike-ainsel wants to merge 1 commit into
mainfrom
MILAB-6303_own-npm-registry-opt-in

Conversation

@mike-ainsel

Copy link
Copy Markdown

Moves this block's @platforma-open publishing from npmjs to npm.platforma.bio. First block to move; the example for other blocks.

What

Decisions

  • Only block-tools is bumped, not the whole SDK, to keep the change small. The refresh also brings the block-tools template updates since 2.17.4: cross-env in the root scripts and the @milaboratories-poc/* release-age exclusion. The lockfile diff is block-tools 2.21's own dependencies.
  • No owner pin needed: the npm provenance of the latest .block and .software versions on npmjs names this repository, so the registry accepts its publishes.
  • No other repository installs this block's packages, so moving it does not change what anyone else gets.

After the merge

  1. First run: the bot commits .npmrc with @platforma-open:registry=https://npm.platforma.bio/ (and drops the old @milaboratories-poc line).
  2. Second run: the release publishes to npm.platforma.bio. Check with npm view @platforma-open/milaboratories.clone-annotation.block versions --registry https://npm.platforma.bio.

Rollback: remove ownNpmRegistry from .structure, refresh, release.

Tested

  • block-tools structure check: up to date (0 changes).
  • pnpm build:dev-local: 12/12 tasks.

Opt in with .structure "ownNpmRegistry": true (block-tools 2.21.0).
The structure refresh adds npm-own-registry-scopes to build.yaml; the
shared CI then installs and publishes @platforma-open through
npm.platforma.bio with GitHub OIDC. The bump from block-tools 2.17.4
also brings its template updates (cross-env in scripts, release-age
exclusion for @milaboratories-poc).
@greptile-apps

greptile-apps Bot commented Nov 25, 2026

Copy link
Copy Markdown

Automatic reviews are disabled for this repository. Configure in Code Review Settings.

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