Skip to content

Conversation

stevensJourney
Copy link
Collaborator

@stevensJourney stevensJourney commented Oct 3, 2025

Overview

We currently download the relevant binary for the PowerSync rust core as an install script of @powersync/node. Some environments, such as PNPM require explicitly approving install scripts, which can result in cases where the extension is not downloaded.

This bundles the PowerSync extension for all architectures in the published NPM package - avoiding the need for install scripts.

The extension is also downloaded in local scripts to ease local development.

Testing

✅ Verified that the binaries are present in a development package

Tested by installing @powersync/node in a test NPM project. Verified that the client was created and could execute SQL. (Tested this without Better-SQLite)

✅ Tested on MacOS ARM
✅ Tested on Linux x86_64 (Docker)
✅ Tested on Linux arm64 (Docker)
⚠️ Haven't confirmed Windows yet

Copy link

changeset-bot bot commented Oct 3, 2025

🦋 Changeset detected

Latest commit: 326f33d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@powersync/node Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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.

1 participant