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

feat: Prepare project for db types generator #5

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

louis-pre
Copy link
Member

@louis-pre louis-pre commented Feb 21, 2025

Context

Some preliminary changes to allow easily adding the new type gen.

Changes

  • Add new install-scripts command and update the init command to no longer install scripts
  • Improve the Zapatos schema generation script to include the changes we made in seam-connect
  • Extract generators to their own files/folder
  • Export individual generators (so we can use them when using seam-pgm as library)
  • Removed the src/templates/kysely-types.template.ts generation, I'm a bit ahead of the curve here but it will be rendered useless by my next PR. I preferred not to waste time refactoring it here since we don't really care about backwards compatibility for this project.
  • Allow configuring the zapatos schema location, will be useful for my next PR

@louis-pre louis-pre self-assigned this Feb 21, 2025
@louis-pre louis-pre changed the title feat: Refactor project feat: Prepare project for db types generator Feb 21, 2025
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