Repository navigation
@effectified/engine 0.5.0, built from 3aaaf33.
pnpm add -D https://github.com/effectified/engine/releases/download/v0.5.0/effectified-engine-0.5.0.tgzFacades and the engine are on npm, published by CI with no token and nobody signing in: each repository's release.yml publishes through its workflow's identity (npm's trusted publishing), and every tarball has a provenance attestation that names its commit. npm is the record of what is released.
For facade users
- Install from npm, by name.
npm install @effectified/<name> effect(pnpm add,bun add), a frontend facade with Effect UI's snapshot build, which npm 12 installs from a URL only when told to:npm install --allow-remote=root @effectified/<name> effect https://pkg.pr.new/Effect-TS/ui/@effect/ui@<commit>. Migration: replace anhttps://effectified.dev/<name>.tgzor GitHub release tarball URL in your package.json with@effectified/<name>and its npm version. - A facade's version is its library's major.minor, then its releases for it. DefinitelyTyped's scheme,
<upstream major>.<upstream minor>.<n>, n counting the facade's earlier releases for that major.minor:@effectified/nodemailer@10.6.6is the seventh for nodemailer 10.6 and depends on nodemailer 10.6.1 exactly. npm drops+buildmetadata, so the<upstream version>+<revision>versions of the GitHub releases are gone, and a facade's version is no longer its library's: upstream's exact version is its dependency andeffectified.upstreamin its package.json. Migration: pin a facade by its npm version; read the library's version from the facade's dependency. - GitHub releases carry no package.
<name>-v<version>of effectified/packages keeps the notes and a frontend facade's demo, which effectified.dev unpacks.
For engine users
releasepublishes on npm. It publishes every facade whose version npm lacks and makes its GitHub release, each where it is missing, so a run that stopped half way is finished by the next (releasePlan). It ispack(build, import every entry point in Node, pack, build a frontend facade's demo: this runs upstream's code) thenpublish(npm publish, thengh release create), which CI runs as jobs of their own so that only the publishing job has the identity npm takes.--dry-runpacks and lets npm check each tarball (npm publish --dry-run), packages npm has never seen too. A facade npm has never seen is left out with a warning, a GitHub Actions annotation in CI, and the run passes. A version npm lacks whose tag is a GitHub release already (the releases before 0.5.0 were tagged<name>-v<upstream version>) fails: raiserecipe.revision.bootstrap, once, by a person signed in to npm. npm trusts a workflow only for a package it has: for each facade npm has never seen it publishes a placeholder0.0.0(a manifest and a README) and sets the trusted publisher (effectified/packages,release.yml);--enginedoes the same for@effectified/engine(effectified/engine). What is done is skipped;--dry-runsigns in nowhere and changes nothing. npm lets a new trusted publisher expire unless it publishes within two days.recipe.revisioncounts releases within upstream's major.minor. A redraft keeps it at the same version, raises it by one at another version of the same major.minor, and leaves it unset (1) for a new major.minor; it was reset at every new upstream version. It must be a whole number from 1.generaterefuses a prerelease of upstream's (VersionError):<major>.<minor>.<n>cannot tell it from a release.- A facade's package.json names its repository,
git+https://github.com/effectified/packages.gitwith its directory, which npm checks against the publishing workflow's. - docs.json is schema 2.
install.latestandinstall.release, the tarball URLs, are gone;install.npmis the package's npm page; the facade installs byname.install.taganddemo.urlname the GitHub release of the new version. - The engine is on npm too.
release.ymlrunsscripts/release.ts, which also keeps attaching the tarball to the GitHub releasev<version>, since effectified/packages pins the engine by that URL.