Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Workflow] Update Packages Deploy #8

Merged
merged 9 commits into from
Oct 12, 2023
Merged

[Workflow] Update Packages Deploy #8

merged 9 commits into from
Oct 12, 2023

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
@@ -35,15 +35,17 @@ export interface WatchOnChangeEvent {
changedTables: string[];
}

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
1 check passed
@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.

2 participants