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

get working across packages in a mono-repo #26

Open
tantaman opened this issue Aug 2, 2023 · 1 comment
Open

get working across packages in a mono-repo #26

tantaman opened this issue Aug 2, 2023 · 1 comment

Comments

@tantaman
Copy link
Contributor

tantaman commented Aug 2, 2023

In Strut I have a package with schemas which is shared between client and server.

typed-sql doesn't seem to be picking this up when schema changes are made in the shared package.

@jlarmstrongiv
Copy link
Contributor

Would that be because of:

function shouldIgnoreFile(file: ts.SourceFile) {
  return file.fileName.includes("node_modules/");
}

in https://github.com/vlcn-io/typed-sql/blob/f2c0936188f3d1f3bffc33d6fa7ae2782482f70b/packages/cli/src/Analyzer.ts#L114C1-L116C2

TypeScript and other packages have include and exclude globs, which may be a good option to support monorepos

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