Skip to content

Conversation

@deepracticexs
Copy link
Member

Summary

  • SQLite driver now auto-detects runtime environment:
    • Bun: uses bun:sqlite (built-in)
    • Node.js 22+: uses node:sqlite (built-in)
  • Add engines.node >= 22.0.0 constraint to all packages

Test Plan

  • Verified SQLite driver works in Node.js 22 environment
  • Typecheck passes
  • Build passes

Closes #193

🤖 Generated with Claude Code

- SQLite driver now auto-detects runtime (Bun or Node.js 22+)
- Add engines.node >= 22.0.0 to all packages
- Fixes ERR_UNSUPPORTED_ESM_URL_SCHEME error on Node.js

Closes #193

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@deepracticexs deepracticexs merged commit cf039bb into main Jan 3, 2026
3 checks passed
@deepracticexs deepracticexs deleted the fix/node-sqlite-compatibility branch January 3, 2026 01:31
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.

node环境运行报错

2 participants