Skip to content

build(deps): bump five dev-tooling majors - #55

Merged
stuffbucket merged 1 commit into
mainfrom
chore/npm-major-tooling
Sep 6, 2026
Merged

stuffbucket merged 1 commit into
mainfrom
chore/npm-major-tooling

Conversation

@stuffbucket

Copy link
Copy Markdown
Owner

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.

Package From To
prettier-plugin-packagejson 2.5.19 3.0.2
bumpp 10.2.3 12.2.2
dependency-cruiser 17.4.0 18.2.0
lint-staged 16.2.3 17.3.0
@stryker-mutator/core 9.6.1 10.0.0
@stryker-mutator/vitest-runner 9.6.1 10.0.0

knip 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-exported
    TokenUsage* types newly reported unused, plus stale ignore /
    ignoreDependencies entries. The types are a published API surface, so
    dropping them is not a config question.
  • maximal — knip 6 descends into the nested client/ package where 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 needing
migration 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-core check:deep:host passes end to end — preflight, check:fast
    (oxlint + tsc + eslint), casts, knip, deps, dupes, CI coverage, build, and the
    downstream contract typecheck.
  • Container suite 15/15 tasks.
  • verify:workspace passes; lockfile re-resolved and stripped of rotating shard
    hosts per SOURCES.md.

What CI does not prove here

Worth stating rather than implying: bumpp, dependency-cruiser and
lint-staged are not invoked by any workflow. dependency-cruiser has no
config in the repository at all, and stryker runs only via the manual mutate
script. For those, a green run shows the versions resolve and install — nothing
about their behaviour. prettier-plugin-packagejson is the one genuinely
exercised, through eslint's prettier integration.

Replaces part of #37.

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.
@stuffbucket
stuffbucket merged commit 953aa0d into main Sep 6, 2026
6 checks passed
@stuffbucket
stuffbucket deleted the chore/npm-major-tooling branch September 6, 2026 10:01
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).
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