Skip to content

Conversation

@stevensJourney
Copy link
Collaborator

@stevensJourney stevensJourney commented Oct 12, 2023

This PR updates the package deploy workflow process.

Versioning

Package versioning tools like Lerna lerna/lerna#2342 and Changesets changesets/changesets#818 have open issues when working with Git submodules.

Submodules in this repo help with development and testing when using included testing Applications. Development packages are supported when making changes that include submodule packages, but production packages require the submodule packages to be versioned, tagged and published from their own repo before updating local packages here.

Versioning Instructions are added to the readme.

Fixes

This PR contains a fix to allow watched queries to reload when local_only tables are updated.

@stevensJourney stevensJourney marked this pull request as ready for review October 12, 2023 09:29

export interface PowerSyncDBListener extends StreamingSyncImplementationListener {}

const POWERSYNC_TABLE_MATCH = /(^ps_data__|^ps_local__)/;
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be /(^ps_data__|^ps_data_local__)/

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

🙏 Good catch. Thanks for pointing that out.

@stevensJourney stevensJourney merged commit d109de8 into main Oct 12, 2023
@stevensJourney stevensJourney deleted the packages-version branch October 12, 2023 11:04
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