Skip to content

build(deps-dev): bump tsdown, better-sqlite3 and vitest majors - #50

Merged
Mearman merged 3 commits into
mainfrom
build/dependency-major-updates
Sep 19, 2026
Merged

Mearman merged 3 commits into
mainfrom
build/dependency-major-updates

Conversation

@Mearman

@Mearman Mearman commented Sep 19, 2026

Copy link
Copy Markdown
Member

Lands the tsdown, better-sqlite3 and vitest major bumps as one change across the root lockfile and the packages, instead of the per-directory Dependabot PRs (each of which carried the whole workspace lockfile anyway).

tsdown 0.23.0: none of the removed or renamed options appear in the three tsdown configs. Build, typecheck with attw, and every test project pass.

better-sqlite3 13.0.3: v13 is N-API with a prebuilt binary per platform inside the package (prebuilds/.node), loaded at runtime, so the install-time node-gyp build is gone. It's set to false in allowBuilds now, and the SQLite integration suite passes with no build/ directory present. The Postgres integration suite (testcontainers) passes locally too. The comment next to the entry says why.

vitest 5.0.1 with @vitest/coverage-v8 (which peers on the exact vitest version), in trilean-regex and trilean-sql only. packages/trilean stays on 4.1.x because @cloudflare/vitest-pool-workers peers on vitest ^4.1.0 and its worker fails to start under vitest 5 (tracked in #52).

Not included: TypeScript 7, tracked in #53 (typescript-eslint refuses to run on it).

Supersedes #23, #24, #36, #37, #39, #40, #41 and #42. #35 and #38 (vitest for the root and packages/trilean) and #17 (typescript) are closed with the reasons above.

@Mearman Mearman changed the title build(deps-dev): bump tsdown to 0.23.0 and better-sqlite3 to 13.0.3 build(deps-dev): bump tsdown, better-sqlite3 and vitest majors Sep 19, 2026
@Mearman
Mearman marked this pull request as ready for review September 19, 2026 15:42
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 19, 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
🔒 Security Review Completed 2026-09-19T15:46:44.185949Z a7c538f 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.

@Mearman
Mearman enabled auto-merge (rebase) September 19, 2026 15:48
Bumped in every package together, since each builds with the same tsdown config.
None of the removed or renamed options are used by these configs,
and the build, typecheck (including attw), unit, integration, smoke and workers suites all pass.
Version 13 moved to N-API and ships a prebuilt binary per platform inside the package,
loaded from prebuilds/ at runtime, so its install-time node-gyp build is no longer needed.
allowBuilds now records that as a refusal instead of a permission.

The SQLite integration suite passes against the prebuilt binary with no build/ directory present,
alongside the rest of the unit, integration (including PostgreSQL), smoke and workers suites.
@vitest/coverage-v8 moves with it because it peers on the exact vitest version.
Unit, coverage, and integration suites (including SQLite and PostgreSQL) pass unchanged.

packages/trilean stays on vitest 4.
Its workers project runs through @cloudflare/vitest-pool-workers,
whose vitest peer range is ^4.1.0,
and with vitest 5 the pool fails to start
("Failed to start cloudflare-pool worker", SyntaxError: Unexpected identifier 'file').
@Mearman
Mearman force-pushed the build/dependency-major-updates branch from a7c538f to ea9a4f2 Compare September 19, 2026 15:58
@Mearman
Mearman merged commit d578062 into main Sep 19, 2026
14 checks passed
@Mearman
Mearman deleted the build/dependency-major-updates branch September 19, 2026 16:00
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in trilean-regex@1.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions

Copy link
Copy Markdown

🎉 This PR is included in trilean-sql@2.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant