Skip to content

Conversation

simolus3
Copy link
Contributor

This adds a main field to the package.json of the node package. That field has no meaning to well-behaving tools because we also have an export field that takes precedence over it since Node 14. However, some tools (like the deprecated pkg to create executables) require a main field and fail when it's not present.

Also, this updates the @powersync/better-sqlite3 dependency to 0.2.0, the latest version.

Copy link

changeset-bot bot commented May 29, 2025

🦋 Changeset detected

Latest commit: 2e03dd6

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 Patch

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

@simolus3 simolus3 requested a review from Chriztiaan May 29, 2025 12:33
@simolus3 simolus3 merged commit 7b40f04 into main May 29, 2025
9 checks passed
@simolus3 simolus3 deleted the node-pkg-fix branch May 29, 2025 13:09
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.

2 participants