Skip to content

fix: make types:check the fleet type-check script name - #436

Merged
Shinrai merged 1 commit into
nextfrom
fix/type-check-script-names
Nov 6, 2026
Merged

Shinrai merged 1 commit into
nextfrom
fix/type-check-script-names

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

  • fix: make types:check the fleet type-check script name (042c75e)

📦 Dependencies

No dependency updates

🔧 Other Changes

No other changes

👥 Contributors

Repos used test:types, types:check and typecheck for the same tsc --noEmit check, and test:types also meant a consumer-side test of the shipped types in uuid and slothlet. package-layout.md now fixes the names: types:check is the source check CI runs, types:build emits declarations, and test:types is only a consumer types test that runs inside test. The ci.yml template, the setup guide, the precommit example and the type_check_command defaults in workflow-ci, coverage-badge and coverage-pr-comment all use npm run types:check.
@cldmv-bot cldmv-bot Bot added ! fix → next v4 flow: fix contributor PR targeting the next integration branch type: ci Changes to CI workflows, actions, or build pipelines type: documentation Relates to docs, README updates, guides, or inline code comments labels Nov 6, 2026
@Shinrai
Shinrai merged commit 99fbc3c into next Nov 6, 2026
16 checks passed
@cldmv-bot
cldmv-bot Bot deleted the fix/type-check-script-names branch November 6, 2026 23:26
cldmv-bot Bot added a commit that referenced this pull request Nov 7, 2026
# v4.35.4 — 2026-11-06

Patch release with two CI fixes. pnpm and yarn repos work again on Node 26, and `types:check` is now the one type-check script name across the fleet.

## Bug Fixes

- **corepack on Node 25+.** Node stopped bundling corepack in 25, and `lts/*` now resolves to Node 26, so `corepack enable` failed and pnpm/yarn repos died with `pnpm: not found`. A shared `enableCorepack()` helper installs corepack from npm when the binary is missing, then enables it. If either step fails it logs a warning and carries on, in case pnpm/yarn is already on `PATH`. `build-project`, `run-tests`, `create-package`, `install-dependencies`, `update-package-version` and the `setup-node` composite all call it, and the separate "Enable corepack" steps in the coverage, lint-format and type-check jobs are gone. npm repos skip it. Fixes [#437](#437). ([#438](#438))
- **`types:check` is the type-check script.** The fleet used `typecheck`, `test:types` and `types:check` for the same job, and the reusables defaulted to `test:types`. `workflow-ci.yml`, `reusable-coverage-badge.yml` and `reusable-coverage-pr-comment.yml` now default `type_check_command` to `npm run types:check`, and the `ci.yml` template, the setup guide and the lint/format convention follow suit. The type-check step in both coverage reusables now skips with a notice when the named script doesn't exist, the same way the `🔎 Type Check` job already did; before, a missing script failed the coverage job on `next` and on the release PR. [package-layout.md](../conventions/package-layout.md) fixes three names: `types:check` runs `tsc --noEmit` on the source and is what CI runs, `types:build` emits declarations, and `test:types` is kept for consumer-side tests of the published types. ([#436](#436), [#440](#440))

## Upgrade notes

- No caller changes needed for the corepack fix; it rides the `@v4` tag.
- A repo that relied on the old `test:types` default and has no `types:check` script now skips the type check with a notice, on feature PRs and in the coverage jobs. Add a `types:check` script (or set `type_check_command` in `ci.yml`) to keep it running.



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>

<!-- co-authors -->

Co-authored-by: Shinrai <[email protected]>
Shinrai added a commit to CLDMV/slothlet that referenced this pull request Nov 10, 2026
Type scripts now use the fleet names (CLDMV/.github#436).

- `types:check` builds the declarations and compiles consumer files
against them (`test:types`, `test:typestubs`). `ci.yml` runs it, the
dispatch default and the passed value both.
- `build:types` is renamed `types:build` everywhere, and `ci:test:types`
now runs `types:check`.
- `test:types` keeps its name: it's the consumer-side check the
convention reserves that name for.

It isn't a `tsc --noEmit` check of `src/` yet. With `checkJs` on, `src/`
reports 5,913 errors today, so #720 tracks making that pass.

Resolves #719
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

! fix → next v4 flow: fix contributor PR targeting the next integration branch type: ci Changes to CI workflows, actions, or build pipelines type: documentation Relates to docs, README updates, guides, or inline code comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant