RobinBlomberg / kysely-codegen

Generate Kysely type definitions from your database.
MIT License
771 stars 69 forks source link

@libsql/kysely-libsql peer dependency #110

Closed michael-golden closed 6 months ago

michael-golden commented 11 months ago

Hi - I'd like to contribute to this repo - however, I'm unsure how to install the peer dependencies appropriately.

Cloning the repo from master, running pnpm install, then running pnpm run build yields a TSC error:

src/dialects/libsql/libsql-dialect.ts:10:44 - error TS2307: Cannot find module '@libsql/kysely-libsql' or its corresponding type >declarations.

10 const { LibsqlDialect } = await import('@libsql/kysely-libsql');

Is there a contributor file I've overlooked? Can you advise on how to get the repo bulding/running locally?

Upvote & Fund

Fund with Polar

rhh4x0r commented 9 months ago

Getting the same error here.

RobinBlomberg commented 6 months ago

Is this still a problem? It appears to work for me (on the new 0.13.0 version at least).

RobinBlomberg commented 6 months ago

Closing this as I cannot replicate and am unsure if it's still a problem. I'll reopen if someone still has problems.