Skip to content

chore: update most deps to latest (May 8 2025) - #288

Merged
JoshuaKGoldberg merged 4 commits into
mainfrom
ncu-u-may-08-2025
May 9, 2025
Merged

JoshuaKGoldberg merged 4 commits into
mainfrom
ncu-u-may-08-2025

Conversation

@JoshuaKGoldberg

@JoshuaKGoldberg JoshuaKGoldberg commented May 9, 2025 •

Copy link
Copy Markdown
Contributor

PR Checklist

Overview

Runs ncu -u, then reverts capital-case's update as the newest version is ESM-only.

@JoshuaKGoldberg JoshuaKGoldberg changed the title chore: update most deps to latest May 8 2025) chore: update most deps to latest (May 8 2025) May 9, 2025
@JoshuaKGoldberg
JoshuaKGoldberg merged commit 2db4cdb into main May 9, 2025
@JoshuaKGoldberg
JoshuaKGoldberg deleted the ncu-u-may-08-2025 branch May 9, 2025 01:26
JoshuaKGoldberg added a commit that referenced this pull request Sep 22, 2026
The three `index.test.js` files under `the-typeinator` were deleted in
2db4cdb ("chore: update most deps to latest (May 8 2025)", #288), a
dependency bump that otherwise only reformatted files. Nothing replaced
them, so `npm run test -- 1 --watch` -- the command the project README
and learningtypescript.com both tell readers to run -- reports
"No tests found, exiting with code 0".

Restores all three files as they were at 2db4cdb^.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
JoshuaKGoldberg added a commit that referenced this pull request Sep 22, 2026
Two gaps let #288 delete all three `the-typeinator` test files without
any check going red, leaving the project broken on `main` for months
(#322, #323, #324).

The `Test`, `Solutions`, and `Tsc` workflows pick which projects to run
from `changed-files`'s `all_changed_files` output, which is ACMR and so
excludes deletions. The typeinator's only change in that PR was three
deletions, so the project never ran. Switches all three workflows to
`all_modified_files` (ACMRD), which includes them.

`files.test.ts` runs on every PR with no changed-files filtering, but
only validated `_category_.json`, `README.md`, `tsconfig.json`, and
`package.json` -- a step directory with no test file passed. Adds an
assertion that every step (or `src`) of a project contains a test file.

A project's `test` script is the discriminator: `tsc` projects are
type-checking exercises and legitimately ship no tests, while all 18
`jest` projects currently have a test file in every step, so the new
assertion adds no false positives.

Verified by re-deleting the three typeinator test files, which now fails
`files.test.ts` with one error per step.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
JoshuaKGoldberg added a commit that referenced this pull request Sep 22, 2026
Two gaps let #288 delete all three `the-typeinator` test files without
any check going red, leaving the project broken on `main` for months
(#322, #323, #324).

The `Test`, `Solutions`, and `Tsc` workflows pick which projects to run
from `changed-files`'s `all_changed_files` output, which is ACMR and so
excludes deletions. The typeinator's only change in that PR was three
deletions, so the project never ran. Switches all three workflows to
`all_modified_files` (ACMRD), which includes them.

`files.test.ts` runs on every PR with no changed-files filtering, but
only validated `_category_.json`, `README.md`, `tsconfig.json`, and
`package.json` -- a step directory with no test file passed. Adds an
assertion that every step (or `src`) of a project contains a test file.

A project's `test` script is the discriminator: `tsc` projects are
type-checking exercises and legitimately ship no tests, while all 18
`jest` projects currently have a test file in every step, so the new
assertion adds no false positives.

Verified by re-deleting the three typeinator test files, which now fails
`files.test.ts` with one error per step.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.

Chore: Bump TypeScript to 5.4

1 participant