Skip to content

chore: bump engines.node to >=22.0.0#107

Merged
TheMeinerLP merged 1 commit into
mainfrom
claude/bump-node-engine-QdudP
May 15, 2026
Merged

chore: bump engines.node to >=22.0.0#107
TheMeinerLP merged 1 commit into
mainfrom
claude/bump-node-engine-QdudP

Conversation

@TheMeinerLP
Copy link
Copy Markdown
Collaborator

Summary

Raise engines.node from >=20.10.0 to >=22.0.0 (Node 22 is the current active LTS, supported until 2027-04).

Why

better-sqlite3 v12.10+ (#36) drops prebuilt binaries for Node 20. Without this bump, deploying or running pnpm install on Node 20 after merging #36 would fall back to compiling the native module from source (build toolchain required, much slower installs). Aligning the engine pin with the LTS line keeps installs fast and prevents accidental fallback to source builds.

Impact

  • Local dev environments and CI runners must be on Node 22.x
  • No runtime API surface change — Node 22 is binary-compatible with the code that runs today

Follow-up

Once this lands, #36 (better-sqlite3 12.4.6 → 12.10.0) can be merged cleanly.

Test plan

  • Verify CI/deploy environments are on Node 22 (or update them)
  • pnpm install on a clean checkout
  • pnpm build succeeds

https://claude.ai/code/session_01VF8MEsYm6QggbswvfexiB3


Generated by Claude Code

Node 22 is the current active LTS line (until 2027-04). This unblocks
the better-sqlite3 v12.10+ upgrade (#36) which drops prebuilt binaries
for Node 20. Keeping the engine pin in sync with what the native
modules actually ship binaries for avoids slow source builds on
deploy/CI.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying launchpad with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5faf516
Status: ✅  Deploy successful!
Preview URL: https://1c1f8892.launchpad-2u8.pages.dev
Branch Preview URL: https://claude-bump-node-engine-qdud.launchpad-2u8.pages.dev

View logs

@TheMeinerLP TheMeinerLP merged commit 29bfd1d into main May 15, 2026
2 checks passed
@TheMeinerLP TheMeinerLP deleted the claude/bump-node-engine-QdudP branch May 15, 2026 10:38
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