refactor: monorepo - standalone sync-engine lib#138
Merged
Conversation
ecktoteckto
approved these changes
Jun 1, 2025
⛔ Snyk checks have failed. 9 issues have been found so far.
⛔ code/snyk check is complete. 9 issues have been found. (View Details) 💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Refactor to having a single class for syncing Stripe entities - while the class itself is a bit large, it avoids having to do parameter drilling through many methods and actually reduces overall code by quite a bit. Additionally - Reduced boilerplate for backfills (generic function) - Reduced boilerplate for deletions - Reduced boilerplate for auto-expanding lists - Migrated from jest to vitest - Sped up CI - Config option to enable/disable automatic backfills - Configurable max connections - Migrate to pnpm
Refactors the repo to a monorepo and publishes @supabase/stripe-sync-engine as individual package. For the docker image, there are no breaking changes. The standalone package supports both ESM and CJS and can be used in any JavaScript based server environment, including Supabase Edge Functions, Node/Deno servers.
|
🎉 This PR is included in version 0.36.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
tonyxiao
pushed a commit
that referenced
this pull request
Apr 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refactors the repo to a monorepo and publishes
@supabase/stripe-sync-engineas individual package. For the docker image, there are no breaking changes.The standalone package supports both ESM and CJS and can be used in any JavaScript based server environment, including Supabase Edge Functions, Node/Deno servers.
Docs will be part of a separate PR