Build environment for livestorejs/wa-sqlite.
pnpm install
pnpm test:run
Build wa-sqlite using Nix:
nix run .#build-wa-sqlite
This will:
- Initialize the wa-sqlite submodule if needed
- Build wa-sqlite with emscripten using the configured SQLite version
- Generate both standard and FTS5-enabled builds
- Copy the built artifacts to
wa-sqlite/dist/
The build generates:
wa-sqlite/dist/wa-sqlite.mjs
- Browser buildwa-sqlite/dist/wa-sqlite.node.mjs
- Node.js buildwa-sqlite/dist/wa-sqlite.wasm
- WebAssembly binarywa-sqlite/dist/fts5/
- FTS5 full-text search variants
See RELEASE.md
for more details.
cd wa-sqlite
pnpm publish