Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Conversation

@schickling
Copy link
Contributor

@schickling schickling commented Jun 29, 2025

Summary

  • Add sqldiff-wasm build and testing support
  • Create web example demonstrating sqldiff functionality
  • Update package configuration and dependencies
  • Publish @schickling/sqldiff-wasm package to npm

Changes

  • Built sqldiff as WebAssembly module for web usage
  • Added comprehensive testing framework for sqldiff-wasm
  • Created web example showing diff functionality between SQLite databases
  • Updated package version and cleaned up dependencies
  • Published @schickling/sqldiff-wasm package to npm for easy consumption

Usage

The @schickling/sqldiff-wasm package is now available on npm:

npm install @schickling/sqldiff-wasm
import { sqldiff } from '@schickling/sqldiff-wasm';

// Compare two SQLite databases
const result = await sqldiff(db1, db2, options);

See the web example in this PR for a complete implementation demonstrating how to use sqldiff-wasm in a browser environment.

Test plan

  • Verify sqldiff-wasm builds correctly
  • Test web example functionality
  • Ensure all tests pass
  • Verify npm package installation and usage

🤖 Generated with Claude Code

- Introduced a new Nix derivation for building the WebAssembly version of SQLite's sqldiff utility with JavaScript bindings.
- Added a build script for sqldiff-wasm in the flake configuration.
- Updated README.md to include instructions for building and testing sqldiff-wasm.
- Created comprehensive test suite for sqldiff-wasm functionality, ensuring various diff operations are validated.
- Added example usage and API reference in the sqldiff-wasm package README.
@schickling schickling changed the title Sqldiff Sqldiff WASM Jun 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants