Skip to content

feat: Initial fork and patching of sql.js#1

Merged
Chriztiaan merged 15 commits into
mainfrom
initial-fork
Jul 15, 2025
Merged

feat: Initial fork and patching of sql.js#1
Chriztiaan merged 15 commits into
mainfrom
initial-fork

Conversation

@Chriztiaan

@Chriztiaan Chriztiaan commented Jul 11, 2025

Copy link
Copy Markdown
Collaborator

This adds everything needed to maintain our fork of sql.js. This variant includes Powersync (made possible by the git patch files). To be used in the @powersync/dev-adapter package introduced by powersync-ja/powersync-js#647.

Why?

Considering that there are already production ready adapters for web, React Native (two in fact), and Node it might not be immediately clear why we need this. Those adapters are recommended for production. But this dev-adapter needs less setup, as it runs completely in JS. This simplifies the setup which is great for trying out PowerSync.
This also works with Expo Go because we don't need to do build config as it's already running in JS.

@Chriztiaan Chriztiaan marked this pull request as ready for review July 11, 2025 14:37
@Chriztiaan Chriztiaan changed the title Initial fork feat: Initial fork and patching of sql.js Jul 11, 2025
@Chriztiaan Chriztiaan requested a review from simolus3 July 11, 2025 14:48

@simolus3 simolus3 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks neat 👍

Comment thread build.sh Outdated
Comment thread build.sh Outdated
Comment thread patches/powersync.patch
@Chriztiaan Chriztiaan requested a review from simolus3 July 14, 2025 09:16

@simolus3 simolus3 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Chriztiaan Chriztiaan removed the request for review from stevensJourney July 15, 2025 09:04
@Chriztiaan Chriztiaan merged commit a54afd6 into main Jul 15, 2025
1 check passed
@Chriztiaan Chriztiaan deleted the initial-fork branch July 15, 2025 09:07
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.

3 participants