Skip to content

More release checks - #3

Merged
solsson merged 2 commits into
mainfrom
release-checks
Nov 19, 2026
Merged

solsson merged 2 commits into
mainfrom
release-checks

Conversation

@solsson

@solsson solsson commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

No description provided.

solsson and others added 2 commits November 19, 2026 13:28
scripts/changeset-check.mjs runs in CI and before `changeset version`:
- every .changeset file parses with changesets' own parser, so a frontmatter mistake
  (e.g. the closing --- glued to the last release line) fails the PR instead of
  release:version
- released packages exist in the workspace and are published
- a major release lists every published package that depends on it: internal
  dependencies are npm aliases (workspace:@yolean/x@^), which changesets doesn't bump,
  so a dependent left out stays published against the previous major and consumers
  install two copies

scripts/release-verify.mjs runs after `changeset publish`: it waits until every
published package's current version has a downloadable tarball (the registry's CDN
lagged by up to ~10 minutes in earlier releases), then pushes the tags changeset
publish created at HEAD, or prints the command when HEAD isn't on origin yet.

@changesets/read 0.5.9 is the version @changesets/cli 2.21.0 already uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
They are upstream's, written for evidence-dev's community and product, and don't apply
to this copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@solsson
solsson merged commit 2d8fd49 into main Nov 19, 2026
1 check passed
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