kysely-libsql
kysely-libsql copied to clipboard
Add dependabot, update CI
Typescript complains when the @libsql/client version is out of sync. I updated it, enabled dependabot to automatically bump versions, and updated the CI to match the new version.
Error: Type 'import("node_modules/.pnpm/@[email protected]/node_modules/@libsql/core/lib-esm/api").Client' is not assignable to type 'import("node_modules/.pnpm/@[email protected]/node_modules/@libsql/core/lib-esm/api").Client'.
The types returned by 'sync()' are incompatible between these types.
Type 'Promise<Replicated>' is not assignable to type 'Promise<void>'.
Type 'Replicated' is not assignable to type 'void'.
Type '{ frame_no: number; frames_synced: number; }' is not assignable to type 'void'.
export const db = new Kysely<DB>({
dialect: new LibsqlDialect({ client: dbClient }),
});