Repository navigation
A changeset that can't be read now fails its own pull request, instead of breaking the release after merge.
Added
- A changeset check (#31). The new CI step, Changesets, runs after Lint. It reads every file in
.changeset/with the parser the release uses, and fails when one can't be parsed or names a package the repository doesn't have. That includes the workspace root, which Changesets never releases. A pull request with no changeset passes, as Dependabot's do.pnpm check:changesetsruns the same check locally, on Linux, macOS or Windows. - Why: a Markdown formatter once rewrote a changeset's frontmatter as a heading. Every check passed, and the release would have failed after merge.
changeset statuscan't catch this without also failing every pull request that has no changeset.
Changed
- Getting Started points to create-ts-monorepo-starter (
npm create ts-monorepo-starter@latest my-project), and says pnpm 12 is still needed after the CLI runs. This section is template-only: generated projects don't include it. - Dependencies: Biome 2.6.7 (
biome.jsonpoints at the matching schema, so Biome stops printing a version mismatch notice), Vitest 5.1.0, knip 6.45.1, Turborepo 2.11.11, Playwright 1.65.0, Rollup 4.68.2,pkg-pr-new0.0.93 and@tsconfig/node2424.0.6. In the workflows,pnpm/action-setupis now v6.1.1 andzizmor-actionv0.8.1.
Changes for existing projects
| Before (v2.3.0) | After (v2.4.0) |
|---|---|
| no changeset check | copy scripts/check-changesets.mjs and scripts/check-changesets.test.ts |
package.json: script "check:changesets": "node scripts/check-changesets.mjs"; dev dependency "@changesets/parse": "1.0.0" |
|
ci.yml: a Changesets step running pnpm check:changesets after "Lint" |
|
biome.json schema 2.6.2 |
https://biomejs.dev/schemas/2.6.7/schema.json, once Biome is 2.6.7 |
Notes:
- Run
pnpm check:changesetsonce before adding the CI step. A changeset already in.changeset/that fails it would also have failed your next release. - The dependency bumps arrive through Dependabot; there's nothing to copy by hand.