Isolate runtime-only dependencies into their own package
It would be nice to move runtime query dependencies into a separate package.
Currently @pgtyped/query has both runtime and compile time logic in it.
@adelsz is there a way we could help out with this piece of work? My team is looking at ways to reduce the size of dependencies for our lambdas, and typescript via pgtyped is one of the larger ones.
+1 I just found out that for some of my apps, typescipt alone is bigger that the rest of production node_modules combined, resulting in a 200MB+ docker image. this is especially bad because I only have queries in sql files
any plans on this?
@adelsz from investigation here it seems that typescript is no longer a dependency of @pgtyped/query, so looks like this is resolved - so I think it can be closed?
This has been fixed as part of our migration to ESM.