Skip to content

⬆️ Upgrade every dev dependency to its latest version - #218

Merged
mbret merged 3 commits into
mainfrom
claude/awesome-bell-2a040j
Nov 3, 2026
Merged

mbret merged 3 commits into
mainfrom
claude/awesome-bell-2a040j

Conversation

@mbret

@mbret mbret commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Why

Dependabot's dev-dependency PRs pile up unmerged. Two upgrades can't merge as Dependabot opens them: Biome 2.6 fails the lint check and TypeScript 7 fails the build.

  • Change: every dev dependency upgrades at once, with the changes those two need.
  • Gain: no dev dependency is outdated.
  • Cost: the type declarations build through a TypeScript 6 package until vite-plugin-dts supports the new compiler.

What's new

  • ⬆️ Biome 2.6.4, with gitbook/ out of its scope and noComponentHookFactories off in tests
  • ⬆️ TypeScript 7.0.2, with @typescript/typescript6 to build the type declarations
  • ⬆️ Vite 8.3.5, Vitest 5.1.0, jsdom 30.1.3 and the other dev dependencies

Other changes

  • 🎨 dependabot.yml in Biome's YAML style
  • 🚨 Distinct titles for two useQuery$ tests that Biome 2.6 reports as duplicates

Details

Biome 2.6

  • noComponentHookFactories flags 88 components defined inside a test body or a test helper. A test body runs once, so its components keep their identity. None of them sits inside another component or hook.
  • Biome now formats Markdown. GitBook writes gitbook/ in its own Markdown and pushes it straight to main. The release job runs npm run check on that push, so Biome would fail the release on the next GitBook edit.

TypeScript 7

  • tsc type-checks under TypeScript 7 with no tsconfig.json change.
  • The typescript 7 package has no stable JavaScript compiler API. vite-plugin-dts falls back to @typescript/typescript6 to write the declarations. The TypeScript team publishes it as the TypeScript 6 API.
  • Drop @typescript/typescript6 once vite-plugin-dts reads the TypeScript 7 API. To stay on TypeScript 6, revert the commit that upgrades it.

Published package

  • dist/index.js, dist/index.cjs and every .d.ts are byte-identical to the build of main, React Compiler output included.
  • npm update also refreshes 76 transitive packages in the lockfile.

Replaced Dependabot PRs

#210, #211, #214, #215, #216 and #217, now closed.

🔍 Self-reviewed with selfcorrect-review
🤖 Made within harness coverage


Generated by Claude Code

Biome 2.6 adds two things that fail `npm run check`:

- `noComponentHookFactories`, a new recommended rule, flags the 88
  components defined inside a test body or a test helper. A test body
  runs once, so its components keep their identity for the whole test.
  The rule is off for test files only.
- It formats Markdown and YAML. GitBook writes `gitbook/` in its own
  Markdown and pushes it straight to `main`, where the release job runs
  `npm run check`, so `gitbook/` is left out. `dependabot.yml` takes
  Biome's double quotes.

Biome 2.6 also reports two tests sharing the title "should return
consecutive results", so each gets its own.

Claude-Session: https://claude.ai/code/session_01BvSDyJABLGit75HAjpnsqm
…encies

- vite 8.3.4 → 8.3.5
- vitest 5.0.5 → 5.1.0
- jsdom 29.1.1 → 30.1.3
- @rolldown/plugin-babel 0.2.4 → 0.3.0
- @vitejs/plugin-react 6.1.2 → 6.2.1
- @tanstack/react-query-persist-client 5.104.5 → 5.105.3
- @tanstack/react-query, installed for the tests as a peer, 5.104.5 → 5.105.3
- @types/node 26.6.5 → 26.6.6

`npm update` refreshes the rest of the lockfile, with npm 11 as in CI.

The build output is byte-identical: dist/index.js, dist/index.cjs and
every type declaration.

Claude-Session: https://claude.ai/code/session_01BvSDyJABLGit75HAjpnsqm
The `typescript` 7 package has no stable JavaScript compiler API, and
vite-plugin-dts needs one to write the type declarations. Its fallback
is `@typescript/typescript6`, the TypeScript 6 API published by the
TypeScript team, now a dev dependency. `tsc` type-checks with
TypeScript 7.

The type declarations are byte-identical to the TypeScript 6 build.
Drop `@typescript/typescript6` once vite-plugin-dts reads the
TypeScript 7 API.

Claude-Session: https://claude.ai/code/session_01BvSDyJABLGit75HAjpnsqm
@mbret mbret self-assigned this Nov 2, 2026
@mbret
mbret marked this pull request as ready for review November 2, 2026 22:46
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T22:48:16.537644Z c386b16 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mbret
mbret merged commit 7ac474d into main Nov 3, 2026
2 checks passed
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.

2 participants