Repository navigation
Merge v4-beta to v4 (2026-11-20): own-registry opt-in, drop the poc scope mapping - #254
Merged
Merged
Conversation
The SDK depends on the quickjs-emscripten fork, which is served only by npm.platforma.bio. Add the scope mapping to every consumer's .npmrc so block builds resolve it without per-repo config.
…ub OIDC (draft) - publish-tarballs: npm.platforma.bio is a supported registry; each upload there gets a fresh GitHub OIDC token (audience https://npm.platforma.bio) through its own env; Verdaccio's E409 duplicate counts as published. - own-registry-scopes: maps our own-registry scopes to npm.platforma.bio in the workspace .npmrc (prepare, prepare-pnpm), so no repo lists it. - node-simple-pnpm: the upload job runs in the npm-publish environment only when something goes to npm.platforma.bio. The scope name is a placeholder (scope-tbd) until it is decided.
…he owner map does not list yet
…es owners at publish time)
…the publish-time owner check
…-registry uploads
…s as a duplicate only on our registry
feat(npm): opt-in publishing of chosen scopes to npm.platforma.bio
feat(npm): opt-in publishing of chosen scopes to npm.platforma.bio
|
Automatic reviews are disabled for this repository. Configure in Code Review Settings. |
…the fork is on npmjs)
prepare-pnpm: stop mapping @milaboratories-poc to npm.platforma.bio
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.
Promotes v4-beta to v4. Two changes:
prepare-pnpmstops mapping@milaboratories-pocto npm.platforma.bio. The quickjs-emscripten fork is on npmjs now (byte-identical; we own the org). Since the step reached v4 today, the CI bot has been committing the line into block repositories'.npmrc(8 so far); without the step, each block's next run removes it the same way. npm.platforma.bio keeps serving the scope as a read-only pass-through to npmjs (infrastructure#680, live), so nothing breaks in between.What changes for v4 callers
Nothing, unless a repository sets the new input
npm-own-registry-scopes. That's gated in the workflow and verified on real runs:@v4-beta, 2026-11-20): the release published toregistry.npmjs.orgwith trusted publishing, exactly as before. No environment and no deployment was used.pack-unpublishedandpublish-tarballsdirectly. For npmjs uploads thepublish.tschanges do nothing. The 409 rule is unchanged for npmjs (a 409 there still fails the release).With the opt-in (end-to-end on prod, 2026-11-20): existing and new
@platforma-openpackages published to npm.platforma.bio with GitHub OIDC. A package owned by another repository was refused with a readable reason.Files
The 9 files of #253, plus #255's removal in
prepare-pnpm. All self-references are on@v4; no@v4-betais left.After merging: run
sync-branch.sh(fix-beta.shin older checkouts) so v4-beta takes the promotion commit back.