Repository navigation
Conversation
release.yml publishes each facade whose version npm lacks, through the workflow's identity (npm trusted publishing: no token, a provenance attestation per tarball), in two jobs: `pack` builds and imports the facades, which runs upstream's code, and `publish`, the only job with the identity npm takes, publishes what was packed. A facade npm has never seen is left out with a warning until `pnpm effectify bootstrap` has run once. Every facade is regenerated by engine 0.5.0 with a new revision: its version is now `<upstream major>.<upstream minor>.<n>` (npm drops `+revision`), its install lines are by name, its package.json names this repository, and docs.json is schema 2. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
Why
Facades were released as tarballs of GitHub releases, which npm and pnpm install only with a switch. The owner wants every
@effectified/*package installable from npm by name, and released by CI with no token and nobody signing in.What changes
release.ymlpublishes on npm through the workflow's identity (npm trusted publishing, a provenance attestation per tarball). npm is the record of what is released: a version it has is skipped, and a run that stopped half way is finished by the next.packbuilds each facade, imports it in Node and builds the demos, which runs upstream's code, so it has no identity npm would take.publishholds the onlyid-token: write, installs only the engine and publishes what was packed.<upstream major>.<upstream minor>.<n>, because npm drops+revision:@effectified/nodemaileris10.6.6for nodemailer 10.6.1, which it pins as a dependency.repositoryin each package.json,docs.jsonschema 2. The engine pin moves to v0.5.0.Do not merge before
docs.jsonschema 2. The site onmaindrops every facade whose schema is not 1, and this workflow deploys the site after each run.effectifiedexists andpnpm effectify bootstraphas run (a person, once, signed in to npm): npm trusts a workflow only for a package it already has. Before that a release run stays green and publishes nothing, with one warning per facade.Checked
pnpm check, 257 tests and the build pass; CI and its release ran on3aaaf33.packandpublishdry runs passed for all 15 (each packed manifest has its new version and this repository).pnpm effectify release nodemailer --dry-runends with+ @effectified/nodemailer@10.6.6.Not checked: a real publish through trusted publishing. This workflow starts on
workflow_run, which npm's documentation does not name among the triggers it describes, so the first release is what proves it.🤖 Generated with Claude Code