Repository navigation
MILAB-6303: publish @platforma-open to npm.platforma.bio - #14
Open
mike-ainsel wants to merge 1 commit into
Open
mike-ainsel wants to merge 1 commit into
mike-ainsel wants to merge 1 commit into
Conversation
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).
|
Automatic reviews are disabled for this repository. Configure in Code Review Settings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves this block's
@platforma-openpublishing from npmjs to npm.platforma.bio. First block to move; the example for other blocks.What
.structure:"ownNpmRegistry": true.pnpm exec block-tools structure refresh(block-tools 2.17.4 → 2.21.0, feat(block-tools): per-block opt-in to publish @platforma-open to npm.platforma.bio milaboratory/platforma#2037) adds one input to the generatedbuild.yaml:npm-own-registry-scopes: '@platforma-open'. The shared CI then installs and publishes@platforma-openthrough npm.platforma.bio with GitHub OIDC (npm-publishenvironment, no npm token)..blockpackage, so the merge produces a release on the new registry.Decisions
cross-envin the root scripts and the@milaboratories-poc/*release-age exclusion. The lockfile diff is block-tools 2.21's own dependencies..blockand.softwareversions on npmjs names this repository, so the registry accepts its publishes.After the merge
.npmrcwith@platforma-open:registry=https://npm.platforma.bio/(and drops the old@milaboratories-pocline).npm view @platforma-open/milaboratories.clone-annotation.block versions --registry https://npm.platforma.bio.Rollback: remove
ownNpmRegistryfrom.structure, refresh, release.Tested
block-tools structure check: up to date (0 changes).pnpm build:dev-local: 12/12 tasks.