Skip to content

fix: allow sqlite3 native build script in pnpm config#31

Merged
nojibe merged 1 commit into
weval-org:mainfrom
frantj:fix/sqlite3-onlyBuiltDependencies
Jul 1, 2026
Merged

fix: allow sqlite3 native build script in pnpm config#31
nojibe merged 1 commit into
weval-org:mainfrom
frantj:fix/sqlite3-onlyBuiltDependencies

Conversation

@frantj

@frantj frantj commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

sqlite3's postinstall build script was being skipped by pnpm's default onlyBuiltDependencies allowlist, leaving the native binding unbuilt. This silently disables the SQLite-backed response cache (falls back to in-memory, non-persistent cache) with a console warning on startup.

Adding sqlite3 to onlyBuiltDependencies ensures the native binding is built on install.

sqlite3's postinstall build script was being skipped by pnpm's
default onlyBuiltDependencies allowlist, leaving the native
binding unbuilt. This silently disables the SQLite-backed
response cache (falls back to in-memory, non-persistent cache)
with a console warning on startup.

Adding sqlite3 to onlyBuiltDependencies ensures the native
binding is built on install.
@nojibe

nojibe commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

lgtm! Thanks!

@nojibe nojibe merged commit 416af9c into weval-org:main Jul 1, 2026
1 check 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