Repository navigation
build(deps): bump five dev-tooling majors - #55
Merged
Merged
Conversation
From the npm-major group of 17, the part whose whole verdict is a green
CI run:
prettier-plugin-packagejson 2 -> 3
bumpp 10 -> 12
dependency-cruiser 17 -> 18
lint-staged 16 -> 17
@stryker-mutator/core 9 -> 10
@stryker-mutator/vitest-runner 9 -> 10
All dev-time; none ships to a user.
knip 5 -> 6 was in this group and is held back. It fails in two packages
for unrelated reasons, and both need decisions rather than a bump:
maximal-core five system binaries newly reported unlisted, five
barrel-re-exported TokenUsage* types newly reported
unused, and stale ignore entries. The types are a
published API surface, so removing them is not a config
question.
maximal knip 6 descends into the nested client/ package, which
knip 5 did not, producing 14 unlisted dependencies
(vitest, react, @playwright/test).
It gets its own PR, for the same reason typescript 7 does: a bump that
needs migration work should not ride along with five that do not.
Verified: maximal-core check:deep:host passes (preflight, check:fast,
casts, knip, deps, dupes, ci coverage, build, downstream typecheck), the
container suite is 15/15, and verify:workspace passes with the lockfile
re-resolved and stripped of rotating shard hosts.
Note on evidence: bumpp, dependency-cruiser and lint-staged are not
invoked by any workflow, so CI passing says little about them beyond
their presence resolving. dependency-cruiser has no config in the
repository and stryker runs only through the manual `mutate` script.
This was referenced Sep 6, 2026
stuffbucket
added a commit
that referenced
this pull request
Sep 7, 2026
Held out of #55 because it fails in two packages and both needed decisions rather than a bump. Both turned out to be **knip 6 behaviour changes**, not debt this repo had accumulated. ## maximal-core **Five system binaries newly reported unlisted** — `qemu-system-aarch64`, `pgrep`, `swtpm`, `schtasks`. OS-provided, not npm binaries, so they join `trufflehog` in `ignoreBinaries`. **Five `TokenUsage*` types newly reported unused — and they are.** This was the one that looked risky, since `maximal-core` publishes to GitHub Package Registry. It isn't: - the package's surface is the **six entries** in its `exports` map (`client`, `contract`, `control-contract`, `provider-host`, `settings-types`, `supervisor`) — the token-usage barrel is not one of them; - a declaration build confirms it: **zero** `TokenUsage*` names anywhere in `dist/lib/*.d.ts`; - nor is the shape inlined structurally — no `byModel`, `byProvider`, `buckets`, `inputTokens` or `cacheRead` either; - the one file referencing the summary type (`lib/live/resources.ts`, via `Awaited<ReturnType<...>>`) is not reachable from `contract.ts`, `client.ts` or `supervisor.ts`. Nothing outside could have imported them, because nothing outside could reach them. **The types themselves stay in `store.ts`**, where they are genuinely used — `TokenUsageTotals` is extended by three of the others. Only the dead re-export goes. **Stale ignores removed** — `src/lib/auth/token.ts`, `@stuffbucket/eslint-config`, `@stuffbucket/maximal-provider-contract`. knip 6 detects all three as used, so the ignores were hiding nothing. ## maximal **knip 6 descends into the nested `client/` workspace; knip 5 did not.** `client/` has its own manifest declaring `vitest`, `react` and `@playwright/test`, so resolving its imports against `maximal`'s manifest produced 14 phantom "unlisted dependencies". `client/` is ignored here and analysed on its own terms. Three workspace dependencies plus `prettier-plugin-packagejson` are detected as used now, so those `ignoreDependencies` entries go. `lint-staged` replaces them — it is configured through a `package.json` block rather than imported, which knip does not count as usage. Same entry `maximal-core` already carries. ## Verification - knip 6 passes in **both** packages. - `maximal-core` `check:deep:host` passes end to end. - Container suite **15/15 tasks**; `verify:workspace` clean; lockfile re-resolved and stripped of rotating shard hosts. Replaces the last held item from #37 that was actually actionable. `@electron/fuses` 2 stays blocked upstream on Electron Forge 8 (see #57).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Group 1 of 4 replacing #37. Dev-tooling majors only — nothing here ships to a
user, so a green CI run is the whole verdict.
prettier-plugin-packagejsonbumppdependency-cruiserlint-staged@stryker-mutator/core@stryker-mutator/vitest-runnerknip 5 → 6 is held back
It was in this group and does not belong here. It fails in two packages for
unrelated reasons, and both are decisions rather than bumps:
maximal-core— five system binaries newly reported unlisted(
qemu-system-aarch64,pgrep,swtpm,schtasks), five barrel-re-exportedTokenUsage*types newly reported unused, plus staleignore/ignoreDependenciesentries. The types are a published API surface, sodropping them is not a config question.
maximal— knip 6 descends into the nestedclient/package where knip 5did not, producing 14 unlisted dependencies (
vitest,react,@playwright/test).It gets its own PR, for the same reason
typescript7 does: a bump needingmigration work should not ride along with five that do not. That is the split in
#53 doing its job on its first outing.
Verification
maximal-corecheck:deep:hostpasses end to end — preflight,check:fast(oxlint + tsc + eslint), casts, knip, deps, dupes, CI coverage, build, and the
downstream contract typecheck.
verify:workspacepasses; lockfile re-resolved and stripped of rotating shardhosts per SOURCES.md.
What CI does not prove here
Worth stating rather than implying:
bumpp,dependency-cruiserandlint-stagedare not invoked by any workflow.dependency-cruiserhas noconfig in the repository at all, and stryker runs only via the manual
mutatescript. For those, a green run shows the versions resolve and install — nothing
about their behaviour.
prettier-plugin-packagejsonis the one genuinelyexercised, through
eslint's prettier integration.Replaces part of #37.