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

[Feature] Using js file for config #38

Open
lthi747 opened this issue Dec 16, 2024 · 1 comment
Open

[Feature] Using js file for config #38

lthi747 opened this issue Dec 16, 2024 · 1 comment

Comments

@lthi747
Copy link

lthi747 commented Dec 16, 2024

Next is more like a question if you think it will be ease and good. I am currently using reverse like import config from "./typesql.json"; in my other confis.

Currently the only allowed config file is typesql.json, so it's not very flexible in terms of config reuse between for example drizzle kit or internal scripts.

If it's allowed to be used like typesql.config.js then will be easy to include directories or databaseUri from external confg.

@wsporto
Copy link
Owner

wsporto commented Dec 20, 2024

Thank you for the suggestion! The typesql.config.ts file is something I plan to include in a future release.

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

No branches or pull requests

2 participants