Skip to content

feat: respect the references in tsconfig files - #121

Merged
0xcadams merged 2 commits into
rocicorp:mainfrom
IderAghbal:main
Jun 27, 2025
Merged

feat: respect the references in tsconfig files#121
0xcadams merged 2 commits into
rocicorp:mainfrom
IderAghbal:main

Conversation

@IderAghbal

@IderAghbal IderAghbal commented Jun 26, 2025

Copy link
Copy Markdown
Contributor

It seems that ts-morph does not resolve the references in tsconfig files.

Rather than waiting for dsherret/ts-morph#876 to be fixed (it was opened in 2020), I'm pushing this workaround directly here instead.

This will allow drizzle-zero to work in a monorepo context where the drizzle schema is defined in a different package from the apps that use zero.

@jokull

jokull commented Jun 27, 2025

Copy link
Copy Markdown

I have the same issue - thanks for sharing the solution. 🌟

@0xcadams
0xcadams self-requested a review June 27, 2025 21:40
@0xcadams

Copy link
Copy Markdown
Member

Wow, this is excellent. Thanks for opening a PR! I will get a release out today.

@0xcadams
0xcadams enabled auto-merge June 27, 2025 21:52
@0xcadams
0xcadams disabled auto-merge June 27, 2025 21:58
@0xcadams
0xcadams merged commit 1510808 into rocicorp:main Jun 27, 2025
0 of 2 checks passed
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