Skip to content

livestorejs/wa-sqlite-build-env

Repository files navigation

wa-sqlite-build-env

Build environment for livestorejs/wa-sqlite.

Install

pnpm install

Test

pnpm test:run

Build

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 build
  • wa-sqlite/dist/wa-sqlite.node.mjs - Node.js build
  • wa-sqlite/dist/wa-sqlite.wasm - WebAssembly binary
  • wa-sqlite/dist/fts5/ - FTS5 full-text search variants

Publish

See RELEASE.md for more details.

cd wa-sqlite
pnpm publish

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •